Page 1 of 1

Cropping a cloud with a mesh?

Posted: Wed Apr 05, 2017 6:11 pm
by pLow
Is there an existing way of using a mesh to crop a point cloud? Specifically, I have a point cloud and a mesh with identical X and Y extents and I would like to eliminate all of the points in the point cloud whose Z value is below (less than) the mesh. I know that the crop tool will let me crop with a cuboid and the segmentation tool will let me crop with projected line or polygon but I can't think of how to use either of these to accomplish my specific goal. Thanks.

Re: Cropping a cloud with a mesh?

Posted: Wed Apr 05, 2017 6:17 pm
by daniel
Well, you could try with the 'cloud / mesh' distance tool? The distance will be signed and if you are lucky all distances will be negative below the mesh, and positive above it (but it depends a lot on the mesh).

Re: Cropping a cloud with a mesh?

Posted: Wed Apr 05, 2017 8:26 pm
by pLow
Thank you daniel, this works perfectly. For any future readers, the two-part workflow (v2.7.0) is below:

1. Select your mesh and your point cloud in the DB tree, click Compute cloud/mesh distance button on the top toolbar (make sure signed distances is checked)

2. Set C2M signed distances as your active scalar field, click the Filter point by value button on the top toolbar and filter by scalar value with min = 0