Hi All,
First, thanks to the developers for such an amazing piece of software.
I was wondering if it was possible to split a cloud based on XY values. I have a large cloud composed of buildings. I am looking to separate the buildings in plan - I want to ignore the Z values during a split. For this reason, connected components isn't really returning a good result for me as increasing the cotree level leads to splits in the z axis.
The cloud in perspective:
The required split (in top view):
Thanks in advance!
Splitting a Cloud Only using XY Values
Re: Splitting a Cloud Only using XY Values
One option would be to save the Z coordinate to a scalar field (Edit > Scalar field > Export coordinate(s) as SF). Then flatten the cloud by multiplying the Z coordinate by 0 (Edit > Multiply). Apply the 'Label connected components' to the 2D flatten cloud. And eventually, you'll have to restore the Z coordinate of all the subclouds (with 'Edit > Scalar fields > Set SF as coordinate(s)').
Daniel, CloudCompare admin
Re: Splitting a Cloud Only using XY Values
Thanks Daniel! I just got back to the project today and it was a great experience to just have it work!