Skip to main content

MaskToSurfaceParams

Parameters

Parameters used when converting masks to surface objects (and generating mask previews).

Import

import ScriptingApi as api

# Create parameter instance
params = api.MaskToSurfaceParams()

Properties

resolution_reduction

Resolution reduction toggle, when true input image will be reduced by the xy/z factors.

Type: bool


xy_resolution_reduction

XY resolution reduction factor (1x, 2x...).

Type: int


z_resolution_reduction

Z resolution reduction factor (1x, 2x...).

Type: int


filter_shells

Filter small shells after surface generation.

Type: bool


number_of_largest_shells

Number of largest shells to retain when filtering.

Type: int


smoothing

Apply smoothing to the generated surface.

Type: bool


smooth_iterations

Smoothing iterations.

Type: int


smooth_factor

Smoothing factor.

Type: float


smooth_feature_angle

Smoothing feature angle.

Type: float


triangle_reduction

Apply triangle reduction to generated surface.

Type: bool


triangle_reduction_percent

Triangle reduction percentage.

Type: int


See Also