Files
modeling-app/docs/kcl/tau.md
2025-02-05 18:28:15 -05:00

82 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(exampleSketch, length = 5)

Rendered example of tau 0