// CADL v1 - editable geometry source for sd/design (JSON + // comments).
// Edit numbers/params and rebuild: web page 'Rebuild', POST /api/build, or: python build.py part.cadl
// prompt: Plate 60x30x5 mm with two 4 mm holes 30 mm apart
// template: plate
// printable: Design for 3D printing was off
{
  "plan": "Plate 60x30x5 mm, centered on x and y, on z=0. 2 hole(s) of 4 mm through.",
  "params": {
    "width": 60,
    "depth": 30,
    "thickness": 5,
    "hole_count": 2,
    "hole_d": 4,
    "spacing": 30,
    "inset": 0
  },
  "steps": [
    {"id": "plate", "op": "box", "size": ["=$width", "=$depth", "=$thickness"]},
    {
      "id": "holes",
      "op": "hole",
      "target": "plate",
      "face": "top",
      "positions": [[-15, 0], [15, 0]],
      "diameter": "=$hole_d"
    }
  ],
  "result": "holes"
}
