Skip to main content

SurfaceVoxelConversionMethod

Other

Voxelization fill modes for converting surfaces to masks. Available values: - Filled: Voxelize the enclosed (solid) interior of the surface. - ThickContour: Voxelize a thick shell along the surface boundary. - ThinContour: Voxelize a thin shell along the surface boundary. - LineContour: Voxelize only the surface outline as lines.

Import​

import ScriptingApi as api

# Access the class
# SurfaceVoxelConversionMethod is available via api.SurfaceVoxelConversionMethod

Enumeration Values​

Enumeration Method from SurfaceVoxelConversionMethod

ValueDescription
SurfaceVoxelConversionMethod.FilledFilled option
SurfaceVoxelConversionMethod.ThickContourThickContour option
SurfaceVoxelConversionMethod.ThinContourThinContour option
SurfaceVoxelConversionMethod.LineContourLineContour option

Usage Example​

import ScriptingApi as api

# Access enumeration values
value = api.SurfaceVoxelConversionMethod.Filled

See Also​