Files
modeling-app/docs/kcl-std/consts/std-math-PI.md
Nick Cameron 2fee3a424c More docs fixes (#6733)
* Fix various docs errors around std module

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* remove KCL from lang docs titles and move settings docs

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Include functions declared in Rust in module docs

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-05-08 08:26:56 +12:00

106 KiB
Raw Blame History

title, subtitle, excerpt, layout
title subtitle excerpt layout
PI Constant in std::math The value of `pi`, Archimedes constant (π). manual

The value of pi, Archimedes constant (π).

PI: number(_?) = 3.14159265358979323846264338327950288_?

Examples

circumference = 70

exampleSketch = startSketchOn(XZ)
 |> circle(center = [0, 0], radius = (circumference / (2 * PI)): number(mm))

example = extrude(exampleSketch, length = 5)

Rendered example of PI 0