Page 1 of 1

Batch export of cloud point volumes calculated by 2.5D calculation?

Posted: Tue Mar 22, 2022 2:16 am
by sfzopf
Hi,

First - super great software! Thanks for making it :)

I wanted to know if there is a way to export the volumes calculated via 2.5D volume on multiple segmented cross sections of a point cloud into some kind of list (csv, txt, etc)?

Re: Batch export of cloud point volumes calculated by 2.5D calculation?

Posted: Tue Mar 22, 2022 11:21 am
by daniel
Not sure to understand, but you can export the 'difference' grid/raster as a point cloud, that you can then export as an ASCII file.

Re: Batch export of cloud point volumes calculated by 2.5D calculation?

Posted: Tue Mar 22, 2022 1:23 pm
by sfzopf
Hmm.. I don't think that's what I want, unless I'm not understanding.

I am attaching screenshots to hopefully better demonstrate what I'm trying to do.

(1) I generate multiple cross sections of a point cloud I've already cleaned up.

(2 and 3) Through the 2.5D volume calculation, I can get a volume of a specific cross section

I manually did this for 5 cross section, but i need to do this for more than 1000 cross sections. I was hoping to code this somehow if it wasn't available, but not sure if there is a functionality I'm overlooking.

Basically, i need to calculate the cross sectional area of each slice of a semi-amorphous geometry (it has a rectangular footprint in the XY plane, with Y being the longer and in the direction I'm slicing), but the height in the Z direction varies.

I was hoping to do that by slicing it in multiple cross section parallel to the XZ plane, and estimating it from there.
Is there a plug in available, or would I need to code this in Python and/or MATLAB?

Re: Batch export of cloud point volumes calculated by 2.5D calculation?

Posted: Tue Mar 22, 2022 6:00 pm
by DA523
As a workaround, I use AutoHotkey to automate the calculation of many sections of one shape.
Have a look at
https://www.cloudcompare.org/forum/view ... 692#p24692
However, you need time to write an AutoHotkey script to find the volumes and paste each one into an opened Excel window

Re: Batch export of cloud point volumes calculated by 2.5D calculation?

Posted: Wed Mar 23, 2022 8:31 pm
by daniel
DA523 made a good suggestions.

Otherwise I guess you could try with CloudCompy, but I don't know if the 2.5D Volume calculation tool is already accessible via this interface (Paul, the maintainer, is super reactive though ;).

Re: Batch export of cloud point volumes calculated by 2.5D calculation?

Posted: Thu Mar 24, 2022 3:15 am
by sfzopf
Thanks for the replies, all! I will check out DA523's suggestion, and if not, will try to code something in python.