Point Cloud Slicing and ordering

Feel free to ask any question here
Post Reply
Jacky
Posts: 8
Joined: Mon Oct 28, 2019 10:21 pm

Point Cloud Slicing and ordering

Post by Jacky »

Hi,
I want to slice my objects(ply file,vertex+normal+color) into several slices and get the points on each slice's contour. I have tried the cross-section function and exported those contour points(coordination + normal + color) to .ply file. The problem is the exported contour points of each slice are randomly listed without ordering. I want to get the clockwise listed points of these contour points in the exported file. Any Help? Thanks a lot!

Jacky
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point Cloud Slicing and ordering

Post by daniel »

Then you should extract the contour polyline (either with the 'Section extraction' tool or the 'Cross section' tool). And then export the polylines to 'poly' files, which are actually similar to ASCII point clouds (you'll see each ordered vertex in plain text).
Daniel, CloudCompare admin
Jacky
Posts: 8
Joined: Mon Oct 28, 2019 10:21 pm

Re: Point Cloud Slicing and ordering

Post by Jacky »

daniel wrote: Wed Oct 30, 2019 5:39 am Then you should extract the contour polyline (either with the 'Section extraction' tool or the 'Cross section' tool). And then export the polylines to 'poly' files, which are actually similar to ASCII point clouds (you'll see each ordered vertex in plain text).
Thank you for your advice!
I use the v2.11 version and the "contour extract "button is deactivated(I also tried v2.10.2, contour extract is also deactivated), only the "slice" button is ok. I do not know why I can not use the "extract contour" function.
Furthermore, the extracted ordered vertex contains only position coordination or can with normal and color of the vertex?

Thank you!
Best regards
Jacky
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point Cloud Slicing and ordering

Post by daniel »

Not sure about the deactivated buttons (in CC, you generally need to select some entities - here point clouds - to make them enabled).

And nope, indeed, poly files only contain 3D points...
Daniel, CloudCompare admin
Post Reply