Files
modeling-app/docs/kcl/consts/std-math-PI.md
Nick Cameron 3b2abe5814 Declare std kwarg functions in KCL and migrate circle (#5955)
* Support calling KCL std KW fns, and move circle to KCL std

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

* Doc comments on parameters

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

* Update grammar

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

* Change use of counterClockWise to ccw

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

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-03-24 21:55:24 +13: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