Docs Home
/
KCL Standard Library
/
Functions
/
Std Sketch Circle

circleFunction in std::sketch

Construct a 2-dimensional circle, of the specified radius, centered at the provided (x, y) origin point.

This is part of sketch v1 and is soft deprecated in favor of sketch-solve.

Arguments

NameTypeDescriptionRequired
sketchOrSurfaceSketch or Plane or FaceSketch to extend, or plane or surface to sketch on.Yes
centerPoint2dThe center of the circle. If not given, defaults to [0, 0].No
radiusnumber(Length)The radius of the circle. Incompatible with diameter.No
diameternumber(Length)The diameter of the circle. Incompatible with radius.No
tagTagDeclCreate a new tag which refers to this circle.No

Returns

Sketch - A sketch is a collection of paths.

Examples

Found a typo?