Skip to main content

Hi,

I have a TXT file (point cloud) containing 2 columns col1=X and col2=Y.

I want to create groups every 1cm (according to X axis) and compute for each group Xmean, Ymean, Ymin and Ymax.

I think it is necessary to create a point cloud and then create slice of points (every 1cm) but I don't know how to do this.

Thank you for your help.

Hi,

So you want to group x values based on the cm they fall into and then get Stats?

Read the text file as a csv with the relevant delimiter. Copy the value of the X value into a new attribute and then use attributerounder to convert that new value to the relevant number of decimal places. Then use the StatisticsCalculator with the group by being the attribute you rounded.


Hi,

So you want to group x values based on the cm they fall into and then get Stats?

Read the text file as a csv with the relevant delimiter. Copy the value of the X value into a new attribute and then use attributerounder to convert that new value to the relevant number of decimal places. Then use the StatisticsCalculator with the group by being the attribute you rounded.

Hi @todd_davis,

 

It is a really good solution. Thank you very much !

 

Have a good day.

 

 


Reply