SketchCircle
#
- class ansys.geometry.core.sketch.circle.SketchCircle(center: ansys.geometry.core.math.point.Point2D, radius: pint.Quantity | ansys.geometry.core.misc.measurements.Distance | ansys.geometry.core.typing.Real, plane: ansys.geometry.core.math.plane.Plane = Plane())#
Bases:
ansys.geometry.core.sketch.face.SketchFace
,ansys.geometry.core.shapes.curves.circle.Circle
Provides for modeling a circle.
- Parameters:
- center: Point2D
Center point of the circle.
- radius
Quantity
|Distance
|Real
Radius of the circle.
- plane
Plane
,optional
Plane containing the sketched circle, which is the global XY plane by default.
Overview#
Redefine the plane containing the |
Center of the circle. |
|
Perimeter of the circle. |
|
VTK polydata representation for PyVista visualization. |
Import detail#
from ansys.geometry.core.sketch.circle import SketchCircle
Property detail#
- property SketchCircle.center: ansys.geometry.core.math.point.Point2D#
Center of the circle.
- property SketchCircle.perimeter: pint.Quantity#
Perimeter of the circle.
Notes
This property resolves the dilemma between using the
SkethFace.perimeter
property and theCircle.perimeter
property.
- property SketchCircle.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.
Method detail#
- SketchCircle.plane_change(plane: ansys.geometry.core.math.plane.Plane) None #
Redefine the plane containing the
SketchCircle
objects.- Parameters:
- plane
Plane
Desired new plane that is to contain the sketched circle.
- plane
Notes
This implies that their 3D definition might suffer changes.