Crop 1D Cloud from Trace

Feel free to ask any question here
Post Reply
SvSz
Posts: 6
Joined: Sun Feb 25, 2024 5:58 pm

Crop 1D Cloud from Trace

Post by SvSz »

Hello Everyone, I am pretty new to the Software but it looks really amazing.

I created some first traces (Compass Plugin) from my cloud. Now I tried to crop the points the trace plugin chose with the Segmentation tool and used Import polyline and imported the trace i created previously. Unfotunately, the segmentation tool wants to finalize the Selection with another point to create a 2D polygon. But my goal was to select and "segment in" the points along this 1D Trace.

Is that somehow possible?

Cheers,
Sv
Attachments
Screenshot 2024-05-06 133001.png
Screenshot 2024-05-06 133001.png (1.55 MiB) Viewed 235 times
daniel
Site Admin
Posts: 7410
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Crop 1D Cloud from Trace

Post by daniel »

What do you mean by "ants to finalize the Selection with another point to create a 2D polygon" exactly?

Is it because the trace polyline is not closed maybe?
Daniel, CloudCompare admin
SvSz
Posts: 6
Joined: Sun Feb 25, 2024 5:58 pm

Re: Crop 1D Cloud from Trace

Post by SvSz »

When I understand this right, the segmentation tool needs at least 3 Contour points (left click). You close the polygonal selection after the 3rd one is chosen and close the selection (green polygon) with a right click.

I guess the Segmentation Tool is not the tool I need, because it is based on the polygonal 2D selection.
I need the cloud's points along the created trace, i.e. a 1D selection.
daniel
Site Admin
Posts: 7410
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Crop 1D Cloud from Trace

Post by daniel »

Then you could compute the distance between the cloud and the polyline (With 'Tools > Distances > Cloud/Primitive dist.').

Then you can extract the points which are really close to the polyline based on this distance (with 'Edit > Scalar fields > Filter by value').
Daniel, CloudCompare admin
SvSz
Posts: 6
Joined: Sun Feb 25, 2024 5:58 pm

Re: Crop 1D Cloud from Trace

Post by SvSz »

Great workaround! Works just like intended !! Have a great week!

Cheers!
SvSz
Post Reply