Source code for abaqus.Sketcher.ConstrainedSketchGeometry.EllipseByCenterPerimeter

from .ConstrainedSketchGeometry import ConstrainedSketchGeometry


[docs]class EllipseByCenterPerimeter(ConstrainedSketchGeometry): def __init__(self, center: tuple[float], axisPoint1: tuple[float], axisPoint2: tuple[float]): """This method constructs an ellipse using a center point, a major axis point, and a minor axis point. The ellipse is added to the geometry repository of the ConstrainedSketch object. Notes ----- This function can be accessed by: .. code-block:: python mdb.models[name].sketches[name].EllipseByCenterPerimeter Parameters ---------- center A pair of Floats specifying the center point of the ellipse. axisPoint1 A pair of Floats specifying the major or minor axis point of the ellipse. axisPoint2 A pair of Floats specifying the minor or major axis point of the ellipse. Returns ------- A ConstrainedSketchGeometry object (None if the ellipse cannot be created). """ pass