Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
kcl → consts

std::math::PI

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