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


tolerance_enabled​

Evaluate the analysis results against the permissible limits. Each limit is applied only when its matching "use" flag is true, so an analysis can constrain just the quantities that matter to it. The limits are compared against the summary statistics of the analysis.

Type: bool


use_min_wall_thickness​

Apply the smallest permissible wall thickness limit.

Type: bool


min_wall_thickness​

Smallest permissible wall thickness (millimeters). The measured minimum must be greater than or equal to it.

Type: float


use_max_permissible_wall_thickness​

Apply the largest permissible wall thickness limit.

Type: bool


max_permissible_wall_thickness​

Largest permissible wall thickness (millimeters). The measured maximum must be less than or equal to it.

Type: float


use_min_mean_wall_thickness​

Apply the smallest permissible mean wall thickness limit.

Type: bool


min_mean_wall_thickness​

Smallest permissible mean wall thickness (millimeters).

Type: float


use_max_mean_wall_thickness​

Apply the largest permissible mean wall thickness limit.

Type: bool


max_mean_wall_thickness​

Largest permissible mean wall thickness (millimeters).

Type: float


use_min_standard_deviation​

Apply the smallest permissible standard deviation limit.

Type: bool


min_standard_deviation​

Smallest permissible standard deviation of the wall thickness values (millimeters).

Type: float


use_max_standard_deviation​

Apply the largest permissible standard deviation limit.

Type: bool


max_standard_deviation​

Largest permissible standard deviation of the wall thickness values (millimeters).

Type: float


See Also​