Back to list

Algo :: marchingCubes


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

GUI Dialog


Script function

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


   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