Skip to main content

SurfaceDiagnosticsChecks

Other

Selects surface diagnostic checks and controls the corresponding automatic repairs.

Import​

import ScriptingApi as api

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

Properties​

unify​

When true, unify vertices at the same position and remove unused vertices. Disable this only when separate assembly parts intentionally use coincident vertices. Default: true.

Type: bool


shells​

When true, count the number of connected shells (regions). Default: true.

Type: bool


noise_shells​

When true, detect small noise shells. Default: true.

Type: bool


invalid_triangles​

When true, detect invalid (degenerate) triangles. Default: true.

Type: bool


holes​

When true, detect holes in the surface. Default: true.

Type: bool


intersection_triangles​

When true, detect self-intersecting triangles. Default: true.

Type: bool


inverted_normals​

When true, detect inverted (flipped) normals. Default: true.

Type: bool


boundary_edges​

When true, detect boundary (free) edges. Default: true.

Type: bool


non_manifold_edges​

When true, detect non-manifold edges. Default: true.

Type: bool


separate_intersection_regions​

When intersecting surfaces cannot be safely combined into one outer surface, separate the repaired surface into parts. This option is used by fix_surface only. Default: true.

Type: bool


extract_largest_separated_region​

When separateIntersectionRegions has split the surface, keep the part with the largest surface area and remove the smaller parts. Ordinary disconnected input parts are not filtered when no repaired intersection was separated. This option is used by fix_surface only. Default: true.

Type: bool


force_manifold_repair​

Remove triangles around non-manifold edges that the other repairs could not resolve, fill the resulting openings, and keep the largest part. This can remove valid geometry. The result is accepted only when it passes the selected mesh checks. This option is used by fix_surface only. Default: true.

Type: bool


See Also​