Skip to main content

Prime Mesh Python client library 2025 R2

DetectHolesParams

Last update: 10.09.2025

class ansys.meshing.prime.DetectHolesParams(model=None, max_radius_circular_holes=None, min_radius_circular_holes=None, max_hole_length=None, min_hole_length=None, allow_curved_topo_faces=None, json_data=None, **kwargs)

Parameters for detect holes operation.

  • Parameters:

    model: Model : Model to create a DetectHolesParams object with default parameters.

    max_radius_circular_holes: float, optional : Maximum radius of circular holes.
    This is a beta parameter. The behavior and name may change in the future.

    min_radius_circular_holes: float, optional : Minimum radius of circular holes.
    This is a beta parameter. The behavior and name may change in the future.

    max_hole_length: float, optional : Maximum length of holes.
    This is a beta parameter. The behavior and name may change in the future.

    min_hole_length: float, optional : Minimum length of holes.
    This is a beta parameter. The behavior and name may change in the future.

    allow_curved_topo_faces: bool, optional : Option to allow holes in curved topoface.
    This is a beta parameter. The behavior and name may change in the future.

    json_data: dict, optional : JSON dictionary to create a DetectHolesParams object with provided parameters.

Examples

>>> detect_holes_params = prime.DetectHolesParams(model = model)

Methods

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

Attributes

Name Description
DetectHolesParams.allow_curved_topo_faces Option to allow holes in curved topoface.
DetectHolesParams.max_hole_length Maximum length of holes.
DetectHolesParams.max_radius_circular_holes Maximum radius of circular holes.
DetectHolesParams.min_hole_length Minimum length of holes.
DetectHolesParams.min_radius_circular_holes Minimum radius of circular holes.

Connect with Ansys