BoxTriangulatorInitializer#

class ansys.stk.core.graphics.BoxTriangulatorInitializer#

Triangulates a box. It is recommended to visualize the box using a solid primitive. Although, if only the fill is desired for visualization, a triangle mesh primitive with render back then front faces set to true can be used…

Overview#

compute

Compute the triangulation for a box of the specified size, centered at the origin.

Import detail#

from ansys.stk.core.graphics import BoxTriangulatorInitializer

Method detail#

BoxTriangulatorInitializer.compute(self, size: list) SolidTriangulatorResult#

Compute the triangulation for a box of the specified size, centered at the origin.

Parameters:

size : list

Returns:

SolidTriangulatorResult