* Improve hover tool tips and function docs Signed-off-by: Nick Cameron <nrc@ncameron.org> * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) --------- Signed-off-by: Nick Cameron <nrc@ncameron.org> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
82 KiB
82 KiB
title, excerpt, layout
title | excerpt | layout |
---|---|---|
pow | Compute the number to a power. | manual |
Compute the number to a power.
pow(
num: number,
pow: number,
) -> number
Tags
math
Arguments
Name | Type | Description | Required |
---|---|---|---|
num |
number |
Yes | |
pow |
number |
Yes |
Returns
number
Examples
exampleSketch = startSketchOn("XZ")
|> startProfileAt([0, 0], %)
|> angledLine({ angle = 50, length = pow(5, 2) }, %)
|> yLineTo(0, %)
|> close()
example = extrude(exampleSketch, length = 5)