CadRefacetingParams#

class ansys.meshing.prime.CadRefacetingParams(model=None, cad_faceter=None, faceting_resolution=None, custom_surface_deviation_tolerance=None, custom_normal_angle_tolerance=None, max_edge_size_limit=None, max_edge_size=None, json_data=None, **kwargs)#

Parameters to refacet CAD during import.

Parameters:
model: Model

Model to create a CadRefacetingParams object with default parameters.

cad_faceter: CadFaceter, optional

Specify the available choices for faceter. The available option is Parasolid. Note: ACIS faceter is being deprecated from 2025R1.

faceting_resolution: CadRefacetingResolution, optional

Set the faceting resolution.

custom_surface_deviation_tolerance: float, optional

Set custom tolerance for surface deviation in specified length unit.

custom_normal_angle_tolerance: float, optional

Set custom tolerance for normal angle in degree.

max_edge_size_limit: CadRefacetingMaxEdgeSizeLimit, optional

Specify maximum edge size limit for faceting.

max_edge_size: float, optional

Set maximum edge size of the facets.

json_data: dict, optional

JSON dictionary to create a CadRefacetingParams object with provided parameters.

Examples

>>> cad_refaceting_params = prime.CadRefacetingParams(model = model)

Methods

CadRefacetingParams.print_default()

Print the default values of CadRefacetingParams object.

CadRefacetingParams.set_default([...])

Set the default values of the CadRefacetingParams object.

Attributes

CadRefacetingParams.cad_faceter

Specify the available choices for faceter.

CadRefacetingParams.custom_normal_angle_tolerance

Set custom tolerance for normal angle in degree.

CadRefacetingParams.custom_surface_deviation_tolerance

Set custom tolerance for surface deviation in specified length unit.

CadRefacetingParams.faceting_resolution

Set the faceting resolution.

CadRefacetingParams.max_edge_size

Set maximum edge size of the facets.

CadRefacetingParams.max_edge_size_limit

Specify maximum edge size limit for faceting.

Examples using CadRefacetingParams#

Mesh a set of solder balls (beta)

Mesh a set of solder balls (beta)