WrapParams#
- class ansys.meshing.prime.WrapParams(model=None, sizing_method=None, base_size=None, size_control_ids=None, size_field_ids=None, wrap_region=None, number_of_threads=None, imprint_relative_range=None, imprint_iterations=None, json_data=None, **kwargs)#
WrapParams defines parameters for wrapping.
- Parameters:
- model: Model
Model to create a
WrapParams
object with default parameters.- sizing_method: SizeFieldType, optional
Used to define sizing method for wrapping.
- base_size: float, optional
Base size to define octree.
- size_control_ids: Iterable[int], optional
Used to construct geodesic sizes for octree refinement.
- size_field_ids: Iterable[int], optional
Used to define size field based octree refinement.
- wrap_region: WrapRegion, optional
Indicates source type to extract wrapper region.
- number_of_threads: int, optional
Number of threads for multithreading.
- imprint_relative_range: float, optional
Used to define relative range in imprinting in wrapping.
- imprint_iterations: int, optional
Used to define number of imprint iterations in wrapping.
- json_data: dict, optional
JSON dictionary to create a
WrapParams
object with provided parameters.
Examples
>>> wrap_params = prime.WrapParams(model = model)
Methods
Print the default values of
WrapParams
object.WrapParams.set_default
([sizing_method, ...])Set the default values of the
WrapParams
object.Attributes
Base size to define octree.
Used to define number of imprint iterations in wrapping.
Used to define relative range in imprinting in wrapping.
Number of threads for multithreading.
Used to construct geodesic sizes for octree refinement.
Used to define size field based octree refinement.
Used to define sizing method for wrapping.
Indicates source type to extract wrapper region.