* allow for setting of tolerances Signed-off-by: Jess Frazelle <github@jessfraz.com> * autocomplete fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix inches default Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
158 KiB
158 KiB
title, excerpt, layout
title | excerpt | layout |
---|---|---|
sin | Compute the sine of a number (in radians). | manual |
Compute the sine of a number (in radians).
sin(num: number) -> number
Tags
math
Examples
const exampleSketch = startSketchOn("XZ")
|> startProfileAt([0, 0], %)
|> angledLine({
angle: 50,
length: 15 / sin(toDegrees(135))
}, %)
|> yLineTo(0, %)
|> close(%)
const example = extrude(5, exampleSketch)
Arguments
num
:number
(REQUIRED)
Returns
number