Files
modeling-app/docs/kcl/tau.md
2024-10-28 11:45:54 -04: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