Use Section extraction tool from Command Line or with CloudComPy
Posted: Fri Feb 24, 2023 10:47 pm
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?
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?