Skip to main content

WallThicknessParams

Other

Parameters for wall thickness analysis. Configures the wall thickness analysis algorithm and settings.

Import

import ScriptingApi as api

# Create parameter instance
params = api.WallThicknessParams()

Properties

mask_preview_quality

Mesh quality preset used to generate preview geometry for mask inputs. Use api.MaskPreviewQuality.Optimal

Type: MaskPreviewQuality


method

Algorithm used to compute wall thickness. Use api.WallThicknessMethod.RayCasting. Ray casting: Measures thickness by tracing along surface normals and detecting intersection points with the opposite surface. Shrinking sphere: Measures thickness by shrinking a virtual sphere between surfaces. Starting from a point, it determines the smallest sphere that touches both surfaces while its center remains on the normal line. This method provides higher accuracy for curved or non‑parallel surfaces.

Type: WallThicknessMethod


max_wall_thickness

Maximum wall thickness considered during computation (millimeters). Sets the maximum wall thickness to be evaluated for the object. The system will not search beyond this limit, which helps speed up the analysis. To analyze the entire surface, set the value to 0 or to a number larger than the object’s circumsphere.

Type: float


search_angle

Search cone angle (degrees) used by the shrinking sphere method. Sets the search cone angle used to locate opposite surface points. A wider angle (e.g., 30°) can help detect points on coarse meshes but may reduce accuracy. For finer meshes, use a smaller angle (e.g., 10°).

Type: float


See Also