CylinderTriangulatorInitializer#
- class ansys.stk.core.graphics.CylinderTriangulatorInitializer#
Triangulates a cylinder. It is recommended to visualize the cylinder 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 the triangulation for a cylinder centered at the origin. |
|
Compute the triangulation for a cylinder centered at the origin. |
Import detail#
from ansys.stk.core.graphics import CylinderTriangulatorInitializer
Method detail#
- CylinderTriangulatorInitializer.create_simple(self, length: float, radius: float) SolidTriangulatorResult #
Compute the triangulation for a cylinder centered at the origin.
- CylinderTriangulatorInitializer.compute(self, length: float, bottom_radius: float, top_radius: float, slices: int, cylinder_fill: CylinderFillOptions) SolidTriangulatorResult #
Compute the triangulation for a cylinder centered at the origin.