--- title: "KCL Standard Library" excerpt: "Documentation for the KCL standard library for the Zoo Design Studio." layout: manual --- ## Table of Contents ### Language * [`Types`](kcl/types) * [`Modules`](kcl/modules) * [`Settings`](kcl/settings) * [`Known Issues`](kcl/known-issues) ### Functions * **std** * [`angledLine`](kcl/angledLine) * [`angledLineThatIntersects`](kcl/angledLineThatIntersects) * [`appearance`](kcl/appearance) * [`arc`](kcl/arc) * [`assert`](kcl/assert) * [`assertIs`](kcl/assertIs) * [`bezierCurve`](kcl/bezierCurve) * [`circleThreePoint`](kcl/circleThreePoint) * [`clone`](kcl/clone) * [`close`](kcl/close) * [`extrude`](kcl/extrude) * [`getCommonEdge`](kcl/getCommonEdge) * [`getNextAdjacentEdge`](kcl/getNextAdjacentEdge) * [`getOppositeEdge`](kcl/getOppositeEdge) * [`getPreviousAdjacentEdge`](kcl/getPreviousAdjacentEdge) * [`helix`](kcl/functions/std-helix) * [`intersect`](kcl/intersect) * [`involuteCircular`](kcl/involuteCircular) * [`lastSegX`](kcl/lastSegX) * [`lastSegY`](kcl/lastSegY) * [`legAngX`](kcl/legAngX) * [`legAngY`](kcl/legAngY) * [`legLen`](kcl/legLen) * [`line`](kcl/line) * [`loft`](kcl/loft) * [`map`](kcl/map) * [`offsetPlane`](kcl/functions/std-offsetPlane) * [`patternCircular2d`](kcl/patternCircular2d) * [`patternCircular3d`](kcl/patternCircular3d) * [`patternLinear2d`](kcl/patternLinear2d) * [`patternLinear3d`](kcl/patternLinear3d) * [`patternTransform`](kcl/patternTransform) * [`patternTransform2d`](kcl/patternTransform2d) * [`polygon`](kcl/polygon) * [`pop`](kcl/pop) * [`profileStart`](kcl/profileStart) * [`profileStartX`](kcl/profileStartX) * [`profileStartY`](kcl/profileStartY) * [`push`](kcl/push) * [`reduce`](kcl/reduce) * [`revolve`](kcl/functions/std-revolve) * [`rotate`](kcl/rotate) * [`scale`](kcl/scale) * [`segAng`](kcl/segAng) * [`segEnd`](kcl/segEnd) * [`segEndX`](kcl/segEndX) * [`segEndY`](kcl/segEndY) * [`segLen`](kcl/segLen) * [`segStart`](kcl/segStart) * [`segStartX`](kcl/segStartX) * [`segStartY`](kcl/segStartY) * [`startProfile`](kcl/startProfile) * [`startSketchOn`](kcl/startSketchOn) * [`subtract`](kcl/subtract) * [`subtract2d`](kcl/subtract2d) * [`sweep`](kcl/sweep) * [`tangentToEnd`](kcl/tangentToEnd) * [`tangentialArc`](kcl/tangentialArc) * [`translate`](kcl/translate) * [`union`](kcl/union) * [`xLine`](kcl/xLine) * [`yLine`](kcl/yLine) * **std::math** * [`abs`](kcl/functions/std-math-abs) * [`acos`](kcl/functions/std-math-acos) * [`asin`](kcl/functions/std-math-asin) * [`atan`](kcl/functions/std-math-atan) * [`atan2`](kcl/functions/std-math-atan2) * [`ceil`](kcl/functions/std-math-ceil) * [`cos`](kcl/functions/std-math-cos) * [`floor`](kcl/functions/std-math-floor) * [`ln`](kcl/functions/std-math-ln) * [`log`](kcl/functions/std-math-log) * [`log10`](kcl/functions/std-math-log10) * [`log2`](kcl/functions/std-math-log2) * [`max`](kcl/functions/std-math-max) * [`min`](kcl/functions/std-math-min) * [`polar`](kcl/functions/std-math-polar) * [`pow`](kcl/functions/std-math-pow) * [`rem`](kcl/functions/std-math-rem) * [`round`](kcl/functions/std-math-round) * [`sin`](kcl/functions/std-math-sin) * [`sqrt`](kcl/functions/std-math-sqrt) * [`tan`](kcl/functions/std-math-tan) * **std::sketch** * [`circle`](kcl/functions/std-sketch-circle) * [`mirror2d`](kcl/functions/std-sketch-mirror2d) * **std::solid** * [`chamfer`](kcl/functions/std-solid-chamfer) * [`fillet`](kcl/functions/std-solid-fillet) * [`hollow`](kcl/functions/std-solid-hollow) * [`shell`](kcl/functions/std-solid-shell) * **std::units** * [`units::toCentimeters`](kcl/functions/std-units-toCentimeters) * [`units::toDegrees`](kcl/functions/std-units-toDegrees) * [`units::toFeet`](kcl/functions/std-units-toFeet) * [`units::toInches`](kcl/functions/std-units-toInches) * [`units::toMeters`](kcl/functions/std-units-toMeters) * [`units::toMillimeters`](kcl/functions/std-units-toMillimeters) * [`units::toRadians`](kcl/functions/std-units-toRadians) * [`units::toYards`](kcl/functions/std-units-toYards) ### Constants * **std** * [`END`](kcl/consts/std-END) * [`START`](kcl/consts/std-START) * [`X`](kcl/consts/std-X) * [`XY`](kcl/consts/std-XY) * [`XZ`](kcl/consts/std-XZ) * [`Y`](kcl/consts/std-Y) * [`YZ`](kcl/consts/std-YZ) * [`Z`](kcl/consts/std-Z) * **std::math** * [`E`](kcl/consts/std-math-E) * [`PI`](kcl/consts/std-math-PI) * [`TAU`](kcl/consts/std-math-TAU) * **std::turns** * [`turns::HALF_TURN`](kcl/consts/std-turns-HALF_TURN) * [`turns::QUARTER_TURN`](kcl/consts/std-turns-QUARTER_TURN) * [`turns::THREE_QUARTER_TURN`](kcl/consts/std-turns-THREE_QUARTER_TURN) * [`turns::ZERO`](kcl/consts/std-turns-ZERO) ### Types See also the [types overview](types) * **Primitive types** * [`End`](kcl/types#End) * [`ImportedGeometry`](kcl/types#ImportedGeometry) * [`Start`](kcl/types#Start) * [`TagDeclarator`](kcl/types#TagDeclarator) * [`TagIdentifier`](kcl/types#TagIdentifier) * [`any`](kcl/types/std-types-any) * [`bool`](kcl/types/std-types-bool) * [`number`](kcl/types/std-types-number) * [`string`](kcl/types/std-types-string) * [`tag`](kcl/types/std-types-tag) * **std::types** * [`Axis2d`](kcl/types/std-types-Axis2d) * [`Axis3d`](kcl/types/std-types-Axis3d) * [`Edge`](kcl/types/std-types-Edge) * [`Face`](kcl/types/std-types-Face) * [`Helix`](kcl/types/std-types-Helix) * [`Plane`](kcl/types/std-types-Plane) * [`Point2d`](kcl/types/std-types-Point2d) * [`Point3d`](kcl/types/std-types-Point3d) * [`Sketch`](kcl/types/std-types-Sketch) * [`Solid`](kcl/types/std-types-Solid)