Input Arguments
0 |
Collection Object Name |
Source Cloud |
The cloud used to build the mesh |
1 |
Collection Object Name |
Output Mesh Name |
Name of the mesh to build |
2 |
Double |
Deviation Error (0.0 for none) |
Deviation Error to use |
3 |
Double |
Accuracy |
Accuracy setting to apply |
4 |
Double |
Minimum Average Distance |
Minimum Average Distance |
5 |
Integer |
Hole Options (0..2) |
Hole Options |
6 |
Double |
Maximum Triangle Edge Length |
Maximum Triangle Edge Length |
7 |
Integer |
Optimization Structure Options |
Optimization Structure Options |
8 |
Boolean |
Reverse Normal Vectors |
Choose to Reverse Normal Vectors |
Return Arguments
None.
Returned Status
SUCCESS |
The mesh was built successfully. |
FAILURE |
Cloud was not found, or the mesh could not be built. |
Remarks
DeviationError - Deviation error ( tolerance ) to respect Accuracy - Noise reduction strategy.
MiniAverageDist - =0: No noise reduction. >0: Mini average distance between points. The function project a “grid” of this size on the shape to mesh and takes ONLY the best points in each grid element. <0: Greatest level of detail. The function tries first to choose the best points as if MiniAverageDist>0. Then, if the tolerance is not reached, the other points (suspected to be noisy) can also be chosen.
OptionHole - 0: Try to detect all the holes, 1: Detect the outside border and fill the inside holes. 2: Try to close the polyhedron (watertight mesh).
MaximumTriangleEdgeLength - Max length of triangle to fill holes; -1 if no limit.
Optimization Structure - Optimized structure option to choose the most relevant points: bit 0: use the normal table if it exists and its size is lower than MiniAverageDist, bit 1: If true and there is scanning direction inside the cloud, we put the scanning direction of points of the cloud inside vertex of the resulting mesh.