MeshStackerParams#

class ansys.meshing.prime.MeshStackerParams(model=None, origin=None, direction=None, lateral_defeature_tolerance=None, stacking_defeature_tolerance=None, max_offset_size=None, size_control_ids=None, delete_base=None, json_data=None, **kwargs)#

Input parameters associated with the mesh stacker operations.

Parameters:
model: Model

Model to create a MeshStackerParams object with default parameters.

origin: Iterable[float], optional

Origin coordinate list of stacker.

direction: Iterable[float], optional

Direction vector of stacker.

lateral_defeature_tolerance: float, optional

Absolute lateral distance tolerance for stacker. If the lateral distance tolerance is not specified, a default tolerance value is calculated by stacker.

stacking_defeature_tolerance: float, optional

Absolute stacking distance tolerance for stacker. If the stacking distance tolerance is not specified, a default tolerance value is calculated by stacker.

max_offset_size: float, optional

Maximum stack size allowed during stacking. If the maximum stack size is not specified, it is set to global max size.

size_control_ids: Iterable[int], optional

List of size control ids to be respected by stacker. Stacker respects all supported controls by default.

delete_base: bool, optional

Option to delete base face at the end of stacking. The default is false.

json_data: dict, optional

JSON dictionary to create a MeshStackerParams object with provided parameters.

Examples

>>> mesh_stacker_params = prime.MeshStackerParams(model = model)

Methods

MeshStackerParams.print_default()

Print the default values of MeshStackerParams object.

MeshStackerParams.set_default([origin, ...])

Set the default values of the MeshStackerParams object.

Attributes

MeshStackerParams.delete_base

Option to delete base face at the end of stacking.

MeshStackerParams.direction

Direction vector of stacker.

MeshStackerParams.lateral_defeature_tolerance

Absolute lateral distance tolerance for stacker.

MeshStackerParams.max_offset_size

Maximum stack size allowed during stacking.

MeshStackerParams.origin

Origin coordinate list of stacker.

MeshStackerParams.size_control_ids

List of size control ids to be respected by stacker.

MeshStackerParams.stacking_defeature_tolerance

Absolute stacking distance tolerance for stacker.