Files
modeling-app/docs/kcl/max.md
Jess Frazelle 790af3842c Recusive docs (#4023)
updates



updates



updates



updates



updates



updates



better



updates



array of



updates



updates



updates



updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-09-27 19:50:44 -07:00

58 KiB

title, excerpt, layout
title excerpt layout
max Compute the maximum of the given arguments. manual

Compute the maximum of the given arguments.

max(args: [number]) -> number

Tags

  • math

Arguments

Name Type Description Required
args [number] Yes

Returns

number

Examples

const exampleSketch = startSketchOn("XZ")
  |> startProfileAt([0, 0], %)
  |> angledLine({
       angle: 70,
       length: max(15, 31, 4, 13, 22)
     }, %)
  |> line([20, 0], %)
  |> close(%)

const example = extrude(5, exampleSketch)

Rendered example of max 0