Docs Home
/
KCL Standard Library
/
Functions
/
ellipse

ellipseFunction in std::sketch

WARNING: This function is experimental and may change or be removed.

Construct a 2-dimensional ellipse, of the specified major/minor radius, centered at the provided (x, y) point.

Arguments

NameTypeDescriptionRequired
sketchOrSurfaceSketch or Plane or FaceSketch to extend, or plane or surface to sketch on.Yes
minorRadiusnumber(Length)The minor radius of the ellipse.Yes
centerPoint2dThe center of the ellipse. If not given, defaults to [0, 0].No
majorRadiusnumber(Length)The major radius of the ellipse. Equivalent to majorAxis = [majorRadius, 0].No
majorAxisPoint2dThe major axis of the ellipse.No
tagTagDeclCreate a new tag which refers to this ellipse.No

Returns

Sketch - A sketch is a collection of paths.

Examples

Found a typo?