Files
modeling-app/docs/kcl/tau.md
Nick Cameron 66f6b741c4 Support = in record initialisation (#4519)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2024-11-24 20:21:55 +00:00

79 KiB

title, excerpt, layout
title excerpt layout
tau Return the value of `tau`. The full circle constant (τ). Equal to 2π. manual

Return the value of tau. The full circle constant (τ). Equal to 2π.

tau() -> number

Tags

  • math

Returns

number

Examples

exampleSketch = startSketchOn("XZ")
  |> startProfileAt([0, 0], %)
  |> angledLine({ angle = 50, length = 10 * tau() }, %)
  |> yLineTo(0, %)
  |> close(%)

example = extrude(5, exampleSketch)

Rendered example of tau 0