DetectAndTreatHolesParams
Last update: 02.04.2026class ansys.meshing.prime.DetectAndTreatHolesParams(model=None, detect_and_defeature_edges_near_holes=None, detect_circular_holes=None, detect_non_circular_holes=None, offset_holes=None, mesh_offset_faces=None, detect_holes_params=None, detect_circular_holes_params=None, detect_non_circular_holes_params=None, hole_proximity_tolerance=None, merge_face_normals_angle=None, edge_sharp_corner_angle=None, fragmented_edge_tolerance=None, offset_distance=None, edge_mesh_constant_size=None, surface_mesh_constant_size=None, json_data=None, **kwargs)
Parameters for detect and treat holes operation.
Parameters:
model: Model
Model to create a DetectAndTreatHolesParams object with default parameters.
detect_and_defeature_edges_near_holes: bool, optional
Option to detect and defeature edges near all holes.
This is a beta parameter. The behavior and name may change in the future.
detect_circular_holes: bool, optional
Option to detect circular holes.
This is a beta parameter. The behavior and name may change in the future.
detect_non_circular_holes: bool, optional
Option to detect non-circular holes.
This is a beta parameter. The behavior and name may change in the future.
offset_holes: bool, optional
Option to offset holes.
This is a beta parameter. The behavior and name may change in the future.
mesh_offset_faces: bool, optional
Option to mesh the offset holes.
This is a beta parameter. The behavior and name may change in the future.
detect_holes_params: DetectHolesParams, optional
Parameters for detect holes operation.
This is a beta parameter. The behavior and name may change in the future.
detect_circular_holes_params: DetectCircularHolesParams, optional
Parameters for detect circular holes operation.
This is a beta parameter. The behavior and name may change in the future.
detect_non_circular_holes_params: DetectNonCircularHolesParams, optional
Parameters for detect non circular holes operation.
This is a beta parameter. The behavior and name may change in the future.
hole_proximity_tolerance: float, optional
Edge proximity tolerance for holes.
This is a beta parameter. The behavior and name may change in the future.
merge_face_normals_angle: float, optional
Merge faces when the normal angle between the faces is below the provided value.
This is a beta parameter. The behavior and name may change in the future.
edge_sharp_corner_angle: float, optional
Merge edges when the angle between the edges are below the provided value.
This is a beta parameter. The behavior and name may change in the future.
fragmented_edge_tolerance: float, optional
Fragmented edge length tolerance for merging edges.
This is a beta parameter. The behavior and name may change in the future.
offset_distance: float, optional
Offset distance for creating offset edge.
This is a beta parameter. The behavior and name may change in the future.
edge_mesh_constant_size: float, optional
Constant size used for edge meshing.
This is a beta parameter. The behavior and name may change in the future.
surface_mesh_constant_size: float, optional
Constant size used for surface meshing.
This is a beta parameter. The behavior and name may change in the future.
json_data: dict, optional
JSON dictionary to create a DetectAndTreatHolesParams object with provided parameters.
Examples
>>> detect_and_treat_holes_params = prime.DetectAndTreatHolesParams(model = model)
Methods
| Name | Description |
|---|---|
DetectAndTreatHolesParams.print_default() |
Print the default values of DetectAndTreatHolesParams object. |
DetectAndTreatHolesParams.set_default([...]) |
Set the default values of the DetectAndTreatHolesParams object. |