KCL (KITTYCAD LANGUAGE)SOURCE
✓ executed/*
Generated by Text-to-CAD:
A rectangular box 60mm long, 40mm wide, and 15mm tall.
*/
@settings(defaultLengthUnit = mm)
// Dimensions
length = 60
width = 40
height = 15
// Sketch rectangle on XY
sketch = startSketchOn(XY)
profile = startProfile(sketch, at = [-length / 2, -width / 2])
|> xLine(length = length)
|> yLine(length = width)
|> xLine(length = -length)
|> close()
// Extrude to height
box = extrude(profile, length = height)