Skip to main content

SurfaceExtractionAlgorithm

Other

Surface extraction methods used for each label when building a multilabel mask 3D preview. This setting applies only when accurate surface detection is turned off. SmoothClosedLabels => Builds a smooth surface for every label and includes each shared boundary in both adjacent labels. Use it when every separated label must be closed. SmoothSharedInterfaces => Builds a smooth interface representation in which each shared boundary belongs to one participating label. Use it when the combined surface must not contain duplicate interface faces. VoxelizedConforming => Builds unsmoothed, voxel-derived boundaries and aligns adjacent labels at shared vertices where possible. Coincident faces or non-manifold junctions may remain.

Import

import ScriptingApi as api

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

Enumeration Values

Enumeration Algorithm from SurfaceExtractionAlgorithm

ValueDescription
SurfaceExtractionAlgorithm.SmoothClosedLabelsSmoothClosedLabels option
SurfaceExtractionAlgorithm.VoxelizedConformingVoxelizedConforming option
SurfaceExtractionAlgorithm.SmoothSharedInterfacesSmoothSharedInterfaces option

Usage Example

import ScriptingApi as api

# Access enumeration values
value = api.SurfaceExtractionAlgorithm.SmoothClosedLabels

See Also