Makeathon00:00:00:00Registration open
Docs Home
/
KCL Standard Library
/
Functions
/
Std Sketch 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.

This is part of sketch v1 and is soft deprecated in favor of sketch-solve. The sketch-solve version of ellipse is still under development.

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?