LocalSurferParams#

class ansys.meshing.prime.LocalSurferParams(model=None, min_angle=None, max_angle=None, size_field_type=None, min_size=None, max_size=None, growth_rate=None, constant_size=None, smooth_boundary=None, n_rings=None, json_data=None, **kwargs)#

Parameters to perform local surface remeshing.

Parameters:
model: Model

Model to create a LocalSurferParams object with default parameters.

min_angle: float, optional

Minimum feature angle limit used to identify and preserve features.

max_angle: float, optional

Maximum feature angle limit used to identify and preserve features.

size_field_type: SizeFieldType, optional

Size field type used to generate surface mesh.

min_size: float, optional

Minimum size to be used in sizing for the surfer.

max_size: float, optional

Maximum size to be used in sizing for the surfer.

growth_rate: float, optional

Growth rate to be used to propagate sizes.

constant_size: float, optional

Constant size to be used in case of constant size field.

smooth_boundary: bool, optional

Option to extend local selection to get smooth boundary of selected elements.

n_rings: int, optional

Number of rings to extend the registered face selection for remeshing.

json_data: dict, optional

JSON dictionary to create a LocalSurferParams object with provided parameters.

Examples

>>> local_surfer_params = prime.LocalSurferParams(model = model)

Methods

LocalSurferParams.print_default()

Print the default values of LocalSurferParams object.

LocalSurferParams.set_default([min_angle, ...])

Set the default values of the LocalSurferParams object.

Attributes

LocalSurferParams.constant_size

Constant size to be used in case of constant size field.

LocalSurferParams.growth_rate

Growth rate to be used to propagate sizes.

LocalSurferParams.max_angle

Maximum feature angle limit used to identify and preserve features.

LocalSurferParams.max_size

Maximum size to be used in sizing for the surfer.

LocalSurferParams.min_angle

Minimum feature angle limit used to identify and preserve features.

LocalSurferParams.min_size

Minimum size to be used in sizing for the surfer.

LocalSurferParams.n_rings

Number of rings to extend the registered face selection for remeshing.

LocalSurferParams.size_field_type

Size field type used to generate surface mesh.

LocalSurferParams.smooth_boundary

Option to extend local selection to get smooth boundary of selected elements.