2025-05-06 11:02:55 +12:00
|
|
|
---
|
2025-05-08 08:26:56 +12:00
|
|
|
title: "std"
|
|
|
|
subtitle: "Module in std::"
|
2025-05-06 11:02:55 +12:00
|
|
|
excerpt: "The KCL standard library "
|
|
|
|
layout: manual
|
|
|
|
---
|
|
|
|
|
|
|
|
The KCL standard library
|
|
|
|
|
|
|
|
Contains frequently used constants, functions for interacting with the KittyCAD servers to create sketches and geometry, and utility functions.
|
|
|
|
|
2025-05-11 19:32:33 +12:00
|
|
|
The standard library is organised into modules (listed below), but most things are always available in KCL programs.
|
|
|
|
|
2025-05-20 07:49:23 +12:00
|
|
|
You might also want the [KCL language reference](/docs/kcl-lang) or the [KCL guide](https://zoo.dev/docs/kcl-book/intro.html).
|
2025-05-12 12:59:45 +12:00
|
|
|
|
2025-05-06 11:02:55 +12:00
|
|
|
## Modules
|
|
|
|
|
2025-05-23 13:53:58 -05:00
|
|
|
* [`appearance::appearance`](/docs/kcl-std/modules/std-appearance)
|
2025-05-06 16:09:59 +12:00
|
|
|
* [`array`](/docs/kcl-std/modules/std-array)
|
2025-05-06 11:02:55 +12:00
|
|
|
* [`math`](/docs/kcl-std/modules/std-math)
|
|
|
|
* [`sketch`](/docs/kcl-std/modules/std-sketch)
|
|
|
|
* [`solid`](/docs/kcl-std/modules/std-solid)
|
2025-05-15 12:13:04 -05:00
|
|
|
* [`sweep::sweep`](/docs/kcl-std/modules/std-sweep)
|
2025-05-06 16:09:59 +12:00
|
|
|
* [`transform`](/docs/kcl-std/modules/std-transform)
|
2025-05-06 11:02:55 +12:00
|
|
|
* [`turns::turns`](/docs/kcl-std/modules/std-turns)
|
|
|
|
* [`types`](/docs/kcl-std/modules/std-types)
|
|
|
|
* [`units::units`](/docs/kcl-std/modules/std-units)
|
|
|
|
|
|
|
|
## Functions and constants
|
|
|
|
|
|
|
|
* [`END`](/docs/kcl-std/consts/std-END)
|
|
|
|
* [`START`](/docs/kcl-std/consts/std-START)
|
|
|
|
* [`X`](/docs/kcl-std/consts/std-X)
|
|
|
|
* [`XY`](/docs/kcl-std/consts/std-XY)
|
|
|
|
* [`XZ`](/docs/kcl-std/consts/std-XZ)
|
|
|
|
* [`Y`](/docs/kcl-std/consts/std-Y)
|
|
|
|
* [`YZ`](/docs/kcl-std/consts/std-YZ)
|
|
|
|
* [`Z`](/docs/kcl-std/consts/std-Z)
|
2025-05-08 08:26:56 +12:00
|
|
|
* [`assert`](/docs/kcl-std/assert)
|
|
|
|
* [`assertIs`](/docs/kcl-std/assertIs)
|
2025-05-13 08:29:38 +12:00
|
|
|
* [`clone`](/docs/kcl-std/functions/std-clone)
|
2025-05-06 11:02:55 +12:00
|
|
|
* [`helix`](/docs/kcl-std/functions/std-helix)
|
|
|
|
* [`offsetPlane`](/docs/kcl-std/functions/std-offsetPlane)
|
2025-05-08 08:26:56 +12:00
|
|
|
* [`patternLinear2d`](/docs/kcl-std/patternLinear2d)
|
2025-05-06 11:02:55 +12:00
|
|
|
|