Files
modeling-app/docs/kcl/pi.md
Jess Frazelle f9048b8882 ability to set tolerances, but with sane defaults (#3397)
* allow for setting of tolerances

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* autocomplete fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix inches default

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-08-12 21:39:49 -07:00

196 KiB
Raw Blame History

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)

Rendered example of pi 0

Arguments

Returns

number