Files
modeling-app/rust/kcl-python-bindings/files/box_with_linter_errors.kcl
Adam Chalmers 4fe8741ea7 Remove CallExpression support (#6639)
Users MUST use keyword call syntax now.

Closes https://github.com/KittyCAD/modeling-app/issues/4600
2025-05-02 16:08:12 -05:00

15 lines
350 B
Plaintext

// A 25x25x50 box
box_width = 25
box_depth = 25
box_height = 50
box_sketch = startSketchOn(XY)
|> startProfile(at = [0, 0])
|> xLine(length = box_width, tag = $line1)
|> yLine(length = box_depth, tag = $line2)
|> xLine(endAbsolute = profileStartX(%), tag = $line3)
|> close(tag = $line4)
box3D = extrude(box_sketch, length = box_height)