Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

783 B
Raw Blame
{
 "commands": [
  {
   "command": "solid.box",
   "params": {
    "length": 40,
    "width": 30,
    "height": 10,
    "body_name": "Block",
    "name": "Block"
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "offset": 10,
    "name": "NotchSketch"
   }
  },
  {
   "command": "sketch.rectangle.two_point",
   "params": {
    "p0": [
     15,
     0
    ],
    "p1": [
     25,
     10
    ]
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "sketch": "NotchSketch",
    "distance": -5,
    "operation": "cut",
    "name": "Notch"
   }
  },
  {
   "command": "timeline.edit",
   "params": {
    "feature": "Notch",
    "set": {
     "extent.distance": "-8"
    }
   }
  }
 ]
}