smoothmesh#

ens_calculator.smoothmesh(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, number_of_passes: int, smoothing_weight: ENS_VAR | str | int | float, output_varname: str | None = None) ENS_VAR#

Computes a per node vector when applied as a displacement to the part will produce a smoother surface. Useful for smoothing isosurfaces for example

Args:
source_parts:

Any 1D or 2D part(s) or a part number.

number_of_passes:

Enter the number of passes to use

smoothing_weight:

A constant or a nodal scalar weighting factor

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See SmoothMesh() for function details.