kcl →
pow
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(5, exampleSketch)