KCL, aka KittyCAD Language, is a cad created in 2021.
#3139on PLDB | 3Years Old |
const block = startSketchOn('XY')
|> startProfileAt([-width / 2, -length / 2], %)
|> lineTo([width / 2, -length / 2], %)
|> lineTo([width / 2, length / 2], %)
|> lineTo([-width / 2, length / 2], %)
|> close(%)
|> hole(circle([
-(width / 2 - (padding / 2)),
-(length / 2 - (padding / 2))
], holeDia / 2, %), %)
|> hole(circle([
-(width / 2 - (padding / 2)),
length / 2 - (padding / 2)
], holeDia / 2, %), %)
|> hole(circle([
width / 2 - (padding / 2),
length / 2 - (padding / 2)
], holeDia / 2, %), %)
|> hole(circle([
width / 2 - (padding / 2),
-(length / 2 - (padding / 2))
], holeDia / 2, %), %)
|> hole(circle([0, 0], bearingDia / 2, %), %)
|> extrude(height - cbDepth, %)