* updating kcl examples * generate images Signed-off-by: Jess Frazelle <github@jessfraz.com> * add new Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com> Co-authored-by: Jess Frazelle <github@jessfraz.com>
199 KiB
199 KiB
title, excerpt, layout
title | excerpt | layout |
---|---|---|
pi | Return the value of `pi`. Archimedes’ constant (π). | manual |
Return the value of pi
. Archimedes’ constant (π).
pi() -> number
Tags
math
Examples
const circumference = 70
const exampleSketch = startSketchOn("XZ")
|> circle([0, 0], circumference / (2 * pi()), %)
const example = extrude(5, exampleSketch)
Arguments
Returns
number