SolidTriangulatorResult#

class ansys.stk.core.graphics.SolidTriangulatorResult#

Bases: ITriangulatorResult

The result from a triangulation of a solid: a triangle mesh defined using an indexed triangle list and positions outlining the solid. It is recommended to visualize the solid using a solid primitive…

Overview#

outline_indices

Get indices into positions that define the positions outlining the solid. The indices returned consider the three components of a position (x, y, and z) as a single array element…

outline_positions

Get the positions outlining the solid. Three array elements (in the order x, y, z) constitute one position.

outline_polyline_type

Get the polyline type of outline indices and outline positions.

closed

Get whether the solid is closed. For example, a box with six faces is closed. If one face is removed, the box is open.

Import detail#

from ansys.stk.core.graphics import SolidTriangulatorResult

Property detail#

property SolidTriangulatorResult.outline_indices: list#

Get indices into positions that define the positions outlining the solid. The indices returned consider the three components of a position (x, y, and z) as a single array element…

property SolidTriangulatorResult.outline_positions: list#

Get the positions outlining the solid. Three array elements (in the order x, y, z) constitute one position.

property SolidTriangulatorResult.outline_polyline_type: PolylineType#

Get the polyline type of outline indices and outline positions.

property SolidTriangulatorResult.closed: bool#

Get whether the solid is closed. For example, a box with six faces is closed. If one face is removed, the box is open.