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
Print the default values of
CadRefacetingParams
object.Set the default values of the
CadRefacetingParams
object.Attributes
Specify the available choices for faceter.
Set custom tolerance for normal angle in degree.
Set custom tolerance for surface deviation in specified length unit.
Set the faceting resolution.
Set maximum edge size of the facets.
Specify maximum edge size limit for faceting.
Examples using CadRefacetingParams#
Mesh a set of solder balls (beta)