kcl

tau

WARNING: This function is deprecated.

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

DEPRECATED use the constant TAU

tau(): number

Tags

  • math

Returns

number

Examples

exampleSketch = startSketchOn(XZ)
  |> startProfileAt([0, 0], %)
  |> angledLine(angle = 50, length = 10 * tau())
  |> yLine(endAbsolute = 0)
  |> close()

example = extrude(exampleSketch, length = 5)

Rendered example of tau 0