Back to list

Algo :: marchingCubes

Synopsis

   Replace the tessellations of the selected parts by a marching cube representation

GUI Dialog

   

Script function

   algo.marchingCubes(occurrences, voxelSize[, elements[, dilation[, surfacic]]]) -> marchingCubePart

Parameters

   occurrences (OccurrenceList) : Occurrences of part to process
   voxelSize (Distance) : Size of voxels
   elements (ElementFilter[optional] : Type of elements used to detect the voxels, polygons or points or hybrid
   dilation (Int[optional] : Dilation iterations on the voxel grid (only if surfacic=false)
   surfacic (Boolean[optional] : Prefer this mode if the source is surfacic, the result is not guaranteed to be watertight

Return value

   marchingCubePart (Occurrence) : Resulting part occurrence