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 selects the nearest valid opposite-surface intersection along the surface normal. Shrinking sphere starts from that normal-direction hit and iteratively selects an opposing surface contact while the sphere center remains on the normal line. It is useful for curved or non-parallel surfaces. Both methods report the Euclidean distance between their stored surface-contact endpoints; shrinking sphere does not report the sphere diameter.

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 aperture half-angle (degrees) used by the shrinking sphere method. Default is 20. Limits eligible opposing contacts around the inward surface-normal direction. A wider angle (e.g., 30°) can accommodate coarse or highly curved meshes but can select a different wall and increases the search cost. Use the smallest angle that reliably captures the intended opposing surface (for example, 10° for a fine, smooth mesh).

Type: float


See Also