How to extract cloud points perimeter?
How to extract cloud points perimeter?
Is there any tool or plugin in CC to auto extract cloud points perimeter?
Re: How to extract cloud points perimeter?
Have you tried the 'Tools > Fit > Facet' tool?
Part of the result should be the contour.
Part of the result should be the contour.
Daniel, CloudCompare admin
Re: How to extract cloud points perimeter?
Oh, and of course, you can do nice contour extraction with the 'Cross section' tool (https://www.cloudcompare.org/doc/wiki/i ... le_contour)
Daniel, CloudCompare admin
Re: How to extract cloud points perimeter?
I tried every thing but no luck because perimeter points has different z level .
Fortunately , my cloud points are always dense (generated by mesh sample points) this why I think it is not default to find perimeter point with some algorithm
Fortunately , my cloud points are always dense (generated by mesh sample points) this why I think it is not default to find perimeter point with some algorithm
-
- Posts: 187
- Joined: Tue Mar 05, 2019 3:59 pm
Re: How to extract cloud points perimeter?
It should not matter if they are not on the same Z level, I think the confusion is terminology, in the cross section tool under extract contours, the thing you are asking for is called "Extract envelope" rather than extract contours.
-
- Posts: 187
- Joined: Tue Mar 05, 2019 3:59 pm
Re: How to extract cloud points perimeter?
Also if you want the points near the envelope, you can use the Cloud to Primitive distance tool to evaluate each point to the polyline that represents the envelope
You can then filter the cloud based on that distance.
You can then filter the cloud based on that distance.
Re: How to extract cloud points perimeter?
This helps a little but Z values of polyline does not match Z of perimeter of mesh?
XY are OK
The goal of extracting of mesh perimeter is to build with minimum manual intervention more realistic cover for mesh instead of close hole function in Blender and FreeCAD etc
This cover is to be used as upper cloud points for volume (2.5Dvolume) calculation in CC and GIS etc
XY are OK
The goal of extracting of mesh perimeter is to build with minimum manual intervention more realistic cover for mesh instead of close hole function in Blender and FreeCAD etc
This cover is to be used as upper cloud points for volume (2.5Dvolume) calculation in CC and GIS etc
-
- Posts: 187
- Joined: Tue Mar 05, 2019 3:59 pm
Re: How to extract cloud points perimeter?
you could extract z coord to a scalar field for storage, then set all Z values to 0, then extract envelope, then measure distance to primitive, then restore the Z coord from the scalar saved earlier
Re: How to extract cloud points perimeter?
I will try this approach.you could extract z coord to a scalar field for storage, then set all Z values to 0, then extract envelope, then measure distance to primitive, then restore the Z coord from the scalar saved earlier
However, I found that polyline contour sometimes is not accurate in xy plane especially if there is big variation in mesh Z
see in image below
. .
But playing with grid step & min. vertex count makes result polyline accurate in xy plane
.
.
-
- Posts: 187
- Joined: Tue Mar 05, 2019 3:59 pm
Re: How to extract cloud points perimeter?
I had good success following what I told you, zeroing out the Z value getting the contours then restoring the Z values. only extra step I didn't mention was to interpolate the original clouds SF values to the vertices of the extracted contours and restore the Z SF to the vertices as well to get the contours to follow up to the original locations.