DetectAndTreatFeaturesParams#

class ansys.meshing.prime.DetectAndTreatFeaturesParams(model=None, detect_and_treat_holes=None, detect_and_treat_circular_faces=None, treat_holes_params=None, treat_circular_faces_params=None, json_data=None, **kwargs)#

Parameters for detect and treat features operations.

Parameters:
model: Model

Model to create a DetectAndTreatFeaturesParams object with default parameters.

detect_and_treat_holes: bool, optional

Option to detect and treat holes.

This is a beta parameter. The behavior and name may change in the future.

detect_and_treat_circular_faces: bool, optional

Option to detect and treat circular faces.

This is a beta parameter. The behavior and name may change in the future.

treat_holes_params: DetectAndTreatHolesParams, optional

Parameters for detect and treat holes operation.

This is a beta parameter. The behavior and name may change in the future.

treat_circular_faces_params: DetectAndTreatCircularFacesParams, optional

Parameters for detect and treat circular faces operation.

This is a beta parameter. The behavior and name may change in the future.

json_data: dict, optional

JSON dictionary to create a DetectAndTreatFeaturesParams object with provided parameters.

Examples

>>> detect_and_treat_features_params = prime.DetectAndTreatFeaturesParams(model = model)

Methods

DetectAndTreatFeaturesParams.print_default()

Print the default values of DetectAndTreatFeaturesParams object.

DetectAndTreatFeaturesParams.set_default([...])

Set the default values of the DetectAndTreatFeaturesParams object.

Attributes

DetectAndTreatFeaturesParams.detect_and_treat_circular_faces

Option to detect and treat circular faces.

DetectAndTreatFeaturesParams.detect_and_treat_holes

Option to detect and treat holes.

DetectAndTreatFeaturesParams.treat_circular_faces_params

Parameters for detect and treat circular faces operation.

DetectAndTreatFeaturesParams.treat_holes_params

Parameters for detect and treat holes operation.