Files
modeling-app/docs/kcl-std/functions/std-math-asin.md
Nick Cameron 574d6dae7f Add modules to docs (#6699)
* Support modules in docs

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* shuffle around directories

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-05-06 11:02:55 +12:00

78 KiB

title, excerpt, layout
title excerpt layout
std::math::asin Compute the arcsine of a number. manual

Compute the arcsine of a number.

asin(@num: number(_)): number(rad)

Arguments

Name Type Description Required
num number(_) Yes

Returns

number(rad)

Examples

sketch001 = startSketchOn(XZ)
  |> startProfile(at = [0, 0])
  |> angledLine(
    angle = asin(0.5),
    length = 20,
  )
  |> yLine(endAbsolute = 0)
  |> close()

extrude001 = extrude(sketch001, length = 5)

Rendered example of std::math::asin 0