Box
#
- class ansys.geometry.core.sketch.box.Box(center: ansys.geometry.core.math.point.Point2D, width: pint.Quantity | ansys.geometry.core.misc.measurements.Distance | ansys.geometry.core.typing.Real, height: pint.Quantity | ansys.geometry.core.misc.measurements.Distance | ansys.geometry.core.typing.Real, angle: pint.Quantity | ansys.geometry.core.misc.measurements.Angle | ansys.geometry.core.typing.Real = 0)#
Bases:
ansys.geometry.core.sketch.face.SketchFace
Provides for modeling a box.
Overview#
Import detail#
from ansys.geometry.core.sketch.box import Box
Property detail#
- property Box.center: ansys.geometry.core.math.point.Point2D#
Center point of the box.
- property Box.width: pint.Quantity#
Width of the box.
- property Box.height: pint.Quantity#
Height of the box.
- property Box.perimeter: pint.Quantity#
Perimeter of the box.
- property Box.area: pint.Quantity#
Area of the box.
- property Box.visualization_polydata: pyvista.PolyData#
VTK polydata representation for PyVista visualization.
The representation lies in the X/Y plane within the standard global cartesian coordinate system.
- Returns:
pyvista.PolyData
VTK pyvista.Polydata configuration.