DetectAndTreatHolesParams#
- class 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
Print the default values of
DetectAndTreatHolesParams
object.Set the default values of the
DetectAndTreatHolesParams
object.Attributes
DetectAndTreatHolesParams.detect_and_defeature_edges_near_holes
Option to detect and defeature edges near all holes.
Option to detect circular holes.
Parameters for detect circular holes operation.
Parameters for detect holes operation.
Option to detect non-circular holes.
Parameters for detect non circular holes operation.
Constant size used for edge meshing.
Merge edges when the angle between the edges are below the provided value.
Fragmented edge length tolerance for merging edges.
Edge proximity tolerance for holes.
Merge faces when the normal angle between the faces is below the provided value.
Option to mesh the offset holes.
Offset distance for creating offset edge.
Option to offset holes.
Constant size used for surface meshing.