Slot
#
- class ansys.geometry.core.sketch.slot.Slot(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 2D slot.
Overview#
Import detail#
from ansys.geometry.core.sketch.slot import Slot
Property detail#
- property Slot.center: ansys.geometry.core.math.point.Point2D#
Center of the slot.
- property Slot.width: pint.Quantity#
Width of the slot.
- property Slot.height: pint.Quantity#
Height of the slot.
- property Slot.perimeter: pint.Quantity#
Perimeter of the slot.
- property Slot.area: pint.Quantity#
Area of the slot.
- property Slot.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.