TessellationOptions#

class ansys.geometry.core.misc.options.TessellationOptions(surface_deviation: ansys.geometry.core.misc.measurements.Distance | pint.Quantity | ansys.geometry.core.typing.Real, angle_deviation: ansys.geometry.core.misc.measurements.Angle | pint.Quantity | ansys.geometry.core.typing.Real, max_aspect_ratio: ansys.geometry.core.typing.Real = 0.0, max_edge_length: ansys.geometry.core.misc.measurements.Distance | pint.Quantity | ansys.geometry.core.typing.Real = 0.0, watertight: bool = False)#

Provides options for getting tessellation.

Parameters:
surface_deviationDistance | Quantity | Real

The maximum deviation from the true surface position. If a Real is provided, it is assumed to be in the default length unit.

angle_deviationAngle | Quantity | Real

The maximum deviation from the true surface normal. If a Real is provided, it is assumed to be in radians.

max_aspect_ratioReal, default=0.0

The maximum aspect ratio of facets.

max_edge_lengthDistance | Quantity | Real, default=0.0

The maximum facet edge length.

watertightbool, default=False

Whether triangles on opposite sides of an edge should match.

Overview#

surface_deviation

Surface Deviation.

angle_deviation

Angle deviation.

max_aspect_ratio

Maximum aspect ratio.

max_edge_length

Maximum edge length.

watertight

Watertight.

Import detail#

from ansys.geometry.core.misc.options import TessellationOptions

Property detail#

property TessellationOptions.surface_deviation: ansys.geometry.core.misc.measurements.Distance#

Surface Deviation.

The maximum deviation from the true surface position.

property TessellationOptions.angle_deviation: ansys.geometry.core.misc.measurements.Angle#

Angle deviation.

The maximum deviation from the true surface normal.

property TessellationOptions.max_aspect_ratio: ansys.geometry.core.typing.Real#

Maximum aspect ratio.

The maximum aspect ratio of facets.

property TessellationOptions.max_edge_length: ansys.geometry.core.misc.measurements.Distance#

Maximum edge length.

The maximum facet edge length.

property TessellationOptions.watertight: bool#

Watertight.

Whether triangles on opposite sides of an edge should match.