Skip to main content

Prime Mesh Python client library 2026 R1 SP01

ScaffolderParams

Last update: 29.04.2026

class ansys.meshing.prime.ScaffolderParams(model=None, absolute_dist_tol=None, repair_mode=None, size_field_type=None, intersection_control_mask=None, edge_merge_control=None, constant_mesh_size=None, remove_holes_critical_radius=None, remove_slivers_abs_dist_tol_ratio=None, triangles_coplanar_angle_cos=None, json_data=None, **kwargs)

Parameters to control scaffold operation.

Parameters:

model: Model

Model to create a ScaffolderParams object with default parameters.

absolute_dist_tol: float, optional

Defines the maximum gap to connect.

repair_mode: ScaffolderRepairMode, optional

Defines the mode to be used during repair or connect.
This is a beta parameter. The behavior and name may change in the future.

size_field_type: int, optional

Specifies the type of size field used for scaffolding.
This is a beta parameter. The behavior and name may change in the future.

intersection_control_mask: IntersectionMask, optional

Specifies the nature of intersection to be computed.

edge_merge_control: int, optional

Specifies type of edge pairs to be merged during scaffold operation.
This is a beta parameter. The behavior and name may change in the future.

constant_mesh_size: float, optional

Defines the constant edge mesh size to check connection.

remove_holes_critical_radius: float, optional

Defines the maximum radius of holes to be removed.
This is a beta parameter. The behavior and name may change in the future.

remove_slivers_abs_dist_tol_ratio: float, optional

Defines the maximum aspect ratio to remove sliver faces.
This is a beta parameter. The behavior and name may change in the future.

triangles_coplanar_angle_cos: float, optional

Lower bound for cos angle to consider coplanar faces for scaffolding.
This is a beta parameter. The behavior and name may change in the future.

json_data: dict, optional

JSON dictionary to create a ScaffolderParams object with provided parameters.

Examples

>>> scaffolder_params = prime.ScaffolderParams(model = model)

Methods

Name Description
ScaffolderParams.print_default() Print the default values of ScaffolderParams object.
ScaffolderParams.set_default([...]) Set the default values of the ScaffolderParams object.

Attributes

Name Description
ScaffolderParams.absolute_dist_tol Defines the maximum gap to connect.
ScaffolderParams.constant_mesh_size Defines the constant edge mesh size to check connection.
ScaffolderParams.edge_merge_control Specifies type of edge pairs to be merged during scaffold operation.
ScaffolderParams.intersection_control_mask Specifies the nature of intersection to be computed.
ScaffolderParams.remove_holes_critical_radius Defines the maximum radius of holes to be removed.
ScaffolderParams.remove_slivers_abs_dist_tol_ratio Defines the maximum aspect ratio to remove sliver faces.
ScaffolderParams.repair_mode Defines the mode to be used during repair or connect.
ScaffolderParams.size_field_type Specifies the type of size field used for scaffolding.
ScaffolderParams.triangles_coplanar_angle_cos Lower bound for cos angle to consider coplanar faces for scaffolding.

Connect with Ansys