* Support calling KCL std KW fns, and move circle to KCL std Signed-off-by: Nick Cameron <nrc@ncameron.org> * Doc comments on parameters Signed-off-by: Nick Cameron <nrc@ncameron.org> * Update grammar Signed-off-by: Nick Cameron <nrc@ncameron.org> * Change use of counterClockWise to ccw Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
84 KiB
84 KiB
title, excerpt, layout
title | excerpt | layout |
---|---|---|
std::math::tan | Compute the tangent of a number (in radians). | manual |
Compute the tangent of a number (in radians).
tan(@num: number(rad)): number(_)
Arguments
Name | Type | Description | Required |
---|---|---|---|
num |
number(rad) |
Yes |
Returns
number(_)
Examples
exampleSketch = startSketchOn(XZ)
|> startProfileAt([0, 0], %)
|> angledLine({
angle = 50,
length = 50 * tan(1/2),
}, %)
|> yLine(endAbsolute = 0)
|> close()
example = extrude(exampleSketch, length = 5)