Files
modeling-app/docs/kcl/acos.md
Paul Tagliamonte e1c45bdb33 Start to rework some of our kcl docs (#3222)
* Start to rework some of our kcl docs

Signed-off-by: Paul R. Tagliamonte <paul@zoo.dev>
2024-08-06 20:27:26 -04:00

155 KiB

title, excerpt, layout
title excerpt layout
acos Compute the arccosine of a number (in radians). manual

Compute the arccosine of a number (in radians).

acos(num: number) -> number

Tags

  • math

Examples

const sketch001 = startSketchOn('XZ')
  |> startProfileAt([0, 0], %)
  |> angledLine({
       angle: toDegrees(acos(0.5)),
       length: 10
     }, %)
  |> line([5, 0], %)
  |> lineTo([12, 0], %)
  |> close(%)

const extrude001 = extrude(5, sketch001)

Rendered example of acos 0

Arguments

  • num: number (REQUIRED)

Returns

number