Skip to main content

Prime Mesh Python client library 2024 R1 SP1

ansys.meshing.prime.DetectAndTreatHolesParams

Last update: 17.07.2025

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.

Methods

DetectAndTreatHolesParams.print_default() Print the default values of DetectAndTreatHolesParams.
DetectAndTreatHolesParams.set_default([...]) Set the default values of DetectAndTreatHolesParams.

Attributes

DetectAndTreatHolesParams.detect_and_defeature_edges_near_holes Option to detect and defeature edges near all holes.
DetectAndTreatHolesParams.detect_circular_holes Option to detect circular holes.
DetectAndTreatHolesParams.detect_circular_holes_params Parameters for detect circular holes operation.
DetectAndTreatHolesParams.detect_holes_params Parameters for detect holes operation.
DetectAndTreatHolesParams.detect_non_circular_holes Option to detect non-circular holes.
DetectAndTreatHolesParams.detect_non_circular_holes_params Parameters for detect non circular holes operation.
DetectAndTreatHolesParams.edge_mesh_constant_size Constant size used for Edge meshing.
DetectAndTreatHolesParams.edge_sharp_corner_angle Merge edges when the angle between the edges are below the provided value.
DetectAndTreatHolesParams.fragmented_edge_tolerance Fragmented edge length tolerance for merging edges.
DetectAndTreatHolesParams.hole_proximity_tolerance Edge proximity tolerance for holes.
DetectAndTreatHolesParams.merge_face_normals_angle Merge faces when the normal angle between the faces is below the provided value.
DetectAndTreatHolesParams.mesh_offset_faces Option to mesh the offset holes.
DetectAndTreatHolesParams.offset_distance Offset distance for creating offset edge.
DetectAndTreatHolesParams.offset_holes Option to offset holes.
DetectAndTreatHolesParams.surface_mesh_constant_size Constant size used for Surface meshing.

Connect with Ansys