KCL (KITTYCAD LANGUAGE)SOURCE
✓ executed/*
Generated by Text-to-CAD:
An L-shaped bracket: one arm 60mm long, the other arm 40mm long, both arms 20mm wide and 5mm thick.
*/
@settings(defaultLengthUnit = mm)
// Parameters
armLong = 60
armShort = 40
armWidth = 20
thickness = 5
// L-shaped profile on XY: arms extend +X (60) and +Y (40), both 20 wide
lProfile = startSketchOn(XY)
|> startProfile(at = [0, 0])
|> xLine(length = armLong)
|> yLine(length = armWidth)
|> xLine(length = -(armLong - armWidth))
|> yLine(length = armShort - armWidth)
|> xLine(length = -armWidth)
|> close()
// Extrude to thickness
extrude(lProfile, length = thickness)