Use Section extraction tool from Command Line or with CloudComPy

Feel free to ask any question here
Post Reply
pizzettix
Posts: 1
Joined: Fri Feb 24, 2023 10:05 pm

Use Section extraction tool from Command Line or with CloudComPy

Post by pizzettix »

Hi,

Given a point cloud and multiple polylines I want to perform an extraction as done with the "Segmentation -> Extract Sections tool", to obtain the points falling under/over the different polylines. I want to do it programmatically with CommandLine or CloudComPy and export the "Colud slice" in diferrent txt files for every polyline.
At the moment I find a workaround with CROP command in the CommandLine (I do an offset of the width/2 and get the coordinates of the closed polyline-rectangle), but the execution is very slow, because for every polyline the CloudCompare load the initial point cloud every time.

Any advice or different solutions?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Use Section extraction tool from Command Line or with CloudComPy

Post by daniel »

Probably CloudCompy should give you more options... But I don't know it well enough. You could ask here: https://github.com/CloudCompare/CloudComPy/issues
Daniel, CloudCompare admin
Post Reply