Skip to content

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

700 B
Raw Blame
{
 "commands": [
  {
   "command": "parameters.add",
   "params": {
    "name": "W",
    "expression": "40 mm",
    "unit": "mm"
   }
  },
  {
   "command": "parameters.add",
   "params": {
    "name": "H",
    "expression": "10 mm",
    "unit": "mm"
   }
  },
  {
   "command": "solid.box",
   "params": {
    "length": "W",
    "width": 30,
    "height": "H",
    "body_name": "Block",
    "name": "Block"
   }
  },
  {
   "command": "solid.hole",
   "params": {
    "position": [
     20,
     15,
     10
    ],
    "diameter": 10,
    "name": "Hole"
   }
  },
  {
   "command": "config.configure",
   "params": {
    "params": [
     "W"
    ],
    "features": [
     "Hole"
    ]
   }
  }
 ]
}