Files
modeling-app/docs/kcl/std-math-sin.md
Adam Chalmers ffbe20b586 Kwargs: startProfileAt (#6424)
Previous:

```
startProfileAt([x, y], %)
startProfileAt([x, y], sketch001)
```

New:
```
startProfile(%, at = [x, y])
startProfile(sketch001, at = [x, y])
```
2025-04-25 21:01:35 +00:00

78 KiB

title, excerpt, layout
title excerpt layout
std::math::sin Compute the sine of a number (in radians). manual

Compute the sine of a number (in radians).

sin(@num: number(Angle)): number(_)

Arguments

Name Type Description Required
num number(Angle) Yes

Returns

number(_)

Examples

exampleSketch = startSketchOn(XZ)
  |> startProfile(at = [0, 0])
  |> angledLine(
    angle = 50,
    length = 15 / sin(135deg),
  )
  |> yLine(endAbsolute = 0)
  |> close()

example = extrude(exampleSketch, length = 5)

Rendered example of std::math::sin 0