Construct a 2-dimensional ellipse, of the specified major/minor radius, centered at the provided (x, y) point.
ellipse(
@sketchOrSurface: Sketch | Plane | Face,
center: Point2d,
majorRadius: number(Length),
minorRadius: number(Length),
tag?: tag,
): Sketch
Arguments
Name | Type | Description | Required |
---|---|---|---|
sketchOrSurface | Sketch or Plane or Face | Sketch to extend, or plane or surface to sketch on. | Yes |
center | Point2d | The center of the ellipse. | Yes |
majorRadius | number(Length) | The major radius of the ellipse. | Yes |
minorRadius | number(Length) | The minor radius of the ellipse. | Yes |
tag | tag | Create a new tag which refers to this ellipse. | No |
Returns
Sketch
- A sketch is a collection of paths.
Examples
exampleSketch = startSketchOn(XY)
|> ellipse(center = [0, 0], majorRadius = 50, minorRadius = 20)