2024-03-13 14:22:22 -07:00
|
|
|
---
|
|
|
|
title: "KCL Standard Library"
|
|
|
|
excerpt: "Documentation for the KCL standard library for the Zoo Modeling App."
|
|
|
|
layout: manual
|
|
|
|
---
|
|
|
|
|
|
|
|
## Table of Contents
|
|
|
|
|
2024-03-13 15:01:35 -07:00
|
|
|
* [Types](kcl/types)
|
|
|
|
* [Known Issues](kcl/KNOWN-ISSUES)
|
|
|
|
* [`abs`](kcl/abs)
|
|
|
|
* [`acos`](kcl/acos)
|
|
|
|
* [`angleToMatchLengthX`](kcl/angleToMatchLengthX)
|
|
|
|
* [`angleToMatchLengthY`](kcl/angleToMatchLengthY)
|
|
|
|
* [`angledLine`](kcl/angledLine)
|
|
|
|
* [`angledLineOfXLength`](kcl/angledLineOfXLength)
|
|
|
|
* [`angledLineOfYLength`](kcl/angledLineOfYLength)
|
|
|
|
* [`angledLineThatIntersects`](kcl/angledLineThatIntersects)
|
|
|
|
* [`angledLineToX`](kcl/angledLineToX)
|
|
|
|
* [`angledLineToY`](kcl/angledLineToY)
|
|
|
|
* [`arc`](kcl/arc)
|
|
|
|
* [`asin`](kcl/asin)
|
2024-07-26 21:15:54 -07:00
|
|
|
* [`assert`](kcl/assert)
|
2024-08-05 11:31:58 -05:00
|
|
|
* [`assertEqual`](kcl/assertEqual)
|
2024-07-26 21:15:54 -07:00
|
|
|
* [`assertGreaterThan`](kcl/assertGreaterThan)
|
|
|
|
* [`assertGreaterThanOrEq`](kcl/assertGreaterThanOrEq)
|
|
|
|
* [`assertLessThan`](kcl/assertLessThan)
|
|
|
|
* [`assertLessThanOrEq`](kcl/assertLessThanOrEq)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`atan`](kcl/atan)
|
|
|
|
* [`bezierCurve`](kcl/bezierCurve)
|
|
|
|
* [`ceil`](kcl/ceil)
|
2024-06-17 12:13:19 -07:00
|
|
|
* [`chamfer`](kcl/chamfer)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`circle`](kcl/circle)
|
|
|
|
* [`close`](kcl/close)
|
2024-08-21 12:12:56 -07:00
|
|
|
* [`cm`](kcl/cm)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`cos`](kcl/cos)
|
|
|
|
* [`e`](kcl/e)
|
|
|
|
* [`extrude`](kcl/extrude)
|
|
|
|
* [`fillet`](kcl/fillet)
|
|
|
|
* [`floor`](kcl/floor)
|
2024-08-21 12:12:56 -07:00
|
|
|
* [`ft`](kcl/ft)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`getNextAdjacentEdge`](kcl/getNextAdjacentEdge)
|
|
|
|
* [`getOppositeEdge`](kcl/getOppositeEdge)
|
|
|
|
* [`getPreviousAdjacentEdge`](kcl/getPreviousAdjacentEdge)
|
2024-03-25 17:07:53 -07:00
|
|
|
* [`helix`](kcl/helix)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`hole`](kcl/hole)
|
2024-08-23 09:57:02 -07:00
|
|
|
* [`hollow`](kcl/hollow)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`import`](kcl/import)
|
2024-08-21 12:12:56 -07:00
|
|
|
* [`inch`](kcl/inch)
|
2024-07-25 21:18:52 -04:00
|
|
|
* [`int`](kcl/int)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`lastSegX`](kcl/lastSegX)
|
|
|
|
* [`lastSegY`](kcl/lastSegY)
|
|
|
|
* [`legAngX`](kcl/legAngX)
|
|
|
|
* [`legAngY`](kcl/legAngY)
|
|
|
|
* [`legLen`](kcl/legLen)
|
|
|
|
* [`line`](kcl/line)
|
|
|
|
* [`lineTo`](kcl/lineTo)
|
|
|
|
* [`ln`](kcl/ln)
|
|
|
|
* [`log`](kcl/log)
|
|
|
|
* [`log10`](kcl/log10)
|
|
|
|
* [`log2`](kcl/log2)
|
2024-08-21 12:12:56 -07:00
|
|
|
* [`m`](kcl/m)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`max`](kcl/max)
|
|
|
|
* [`min`](kcl/min)
|
2024-08-21 12:12:56 -07:00
|
|
|
* [`mm`](kcl/mm)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`patternCircular2d`](kcl/patternCircular2d)
|
|
|
|
* [`patternCircular3d`](kcl/patternCircular3d)
|
|
|
|
* [`patternLinear2d`](kcl/patternLinear2d)
|
|
|
|
* [`patternLinear3d`](kcl/patternLinear3d)
|
2024-06-27 22:20:51 -05:00
|
|
|
* [`patternTransform`](kcl/patternTransform)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`pi`](kcl/pi)
|
2024-07-28 22:45:40 -07:00
|
|
|
* [`polar`](kcl/polar)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`pow`](kcl/pow)
|
2024-05-21 03:44:02 -04:00
|
|
|
* [`profileStart`](kcl/profileStart)
|
|
|
|
* [`profileStartX`](kcl/profileStartX)
|
|
|
|
* [`profileStartY`](kcl/profileStartY)
|
2024-03-26 19:07:16 -07:00
|
|
|
* [`revolve`](kcl/revolve)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`segAng`](kcl/segAng)
|
|
|
|
* [`segEndX`](kcl/segEndX)
|
|
|
|
* [`segEndY`](kcl/segEndY)
|
|
|
|
* [`segLen`](kcl/segLen)
|
2024-06-17 13:10:40 -07:00
|
|
|
* [`shell`](kcl/shell)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`sin`](kcl/sin)
|
|
|
|
* [`sqrt`](kcl/sqrt)
|
|
|
|
* [`startProfileAt`](kcl/startProfileAt)
|
|
|
|
* [`startSketchAt`](kcl/startSketchAt)
|
|
|
|
* [`startSketchOn`](kcl/startSketchOn)
|
|
|
|
* [`tan`](kcl/tan)
|
|
|
|
* [`tangentialArc`](kcl/tangentialArc)
|
|
|
|
* [`tangentialArcTo`](kcl/tangentialArcTo)
|
2024-08-30 13:44:20 -05:00
|
|
|
* [`tangentialArcToRelative`](kcl/tangentialArcToRelative)
|
2024-03-13 15:01:35 -07:00
|
|
|
* [`tau`](kcl/tau)
|
|
|
|
* [`toDegrees`](kcl/toDegrees)
|
|
|
|
* [`toRadians`](kcl/toRadians)
|
|
|
|
* [`xLine`](kcl/xLine)
|
|
|
|
* [`xLineTo`](kcl/xLineTo)
|
|
|
|
* [`yLine`](kcl/yLine)
|
|
|
|
* [`yLineTo`](kcl/yLineTo)
|
2024-08-21 12:12:56 -07:00
|
|
|
* [`yd`](kcl/yd)
|