Files
modeling-app/docs/kcl/consts/std-math-PI.md
Jess Frazelle df6b4f4c37 Move consts to dir in docs (#5753)
* updates

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

* add consts to dir

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

* updates

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

* updates

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

* add consts to dir

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

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2025-03-11 18:44:27 +00:00

106 KiB
Raw Blame History

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

The value of pi, Archimedes constant (π).

std::math::PI: number = 3.14159265358979323846264338327950288_

Examples

circumference = 70

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

example = extrude(exampleSketch, length = 5)

Rendered example of std::math::PI 0