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

WrapParams.print_default()

Print the default values of WrapParams object.

WrapParams.set_default([sizing_method, ...])

Set the default values of the WrapParams object.

Attributes

WrapParams.base_size

Base size to define octree.

WrapParams.imprint_iterations

Used to define number of imprint iterations in wrapping.

WrapParams.imprint_relative_range

Used to define relative range in imprinting in wrapping.

WrapParams.number_of_threads

Number of threads for multithreading.

WrapParams.size_control_ids

Used to construct geodesic sizes for octree refinement.

WrapParams.size_field_ids

Used to define size field based octree refinement.

WrapParams.sizing_method

Used to define sizing method for wrapping.

WrapParams.wrap_region

Indicates source type to extract wrapper region.