PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > PreTriangulateMeshClean
PreTriangulateMeshClean

Description:

Executes the steps on the Meshing dialog before triangulation

Syntax:

"PreTriangulateMeshClean outPcMeshId inPcMeshId cleanOutliers clearRedundancy smoothAmount decimateAmount"

where:

- outPcMeshId is an id number identifying the output point cloud PointMesh (error condition if id already exists)

- inPcMeshId is an id number identifying the input point cloud PointMesh

- cleanOutliers is 0=do nothing, 1=clean outlier points (uses default parameters)

- clearRedundancy is 0=do nothing, 1=clear redundant points (uses default parameters)

- smoothAmount is 0=do nothing, >0 = smoothing factor (integer)

- decimateAmount is 0=do nothing, >0 = vertex distance multiplier (a multiplier on the average distance between vertices)

Return:

"1" if successfull or "0" if not.

 

Example:

"PreTriangulateMeshClean 2 1 1 1 0 0"

return: "1"