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
Print the default values of
MeshStackerParams
object.MeshStackerParams.set_default
([origin, ...])Set the default values of the
MeshStackerParams
object.Attributes
Option to delete base face at the end of stacking.
Direction vector of stacker.
Absolute lateral distance tolerance for stacker.
Maximum stack size allowed during stacking.
Origin coordinate list of stacker.
List of size control ids to be respected by stacker.
Absolute stacking distance tolerance for stacker.
Examples using MeshStackerParams#
Mesh a PCB for structural thermal analysis
Mesh a generic PCB geometry with multiple hexa layers
Mesh a set of solder balls (beta)