Skip to content

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

1.1 KB
Raw Blame
{
 "commands": [
  {
   "command": "solid.cylinder",
   "params": {
    "radius": 12,
    "height": 20,
    "body_name": "Tube"
   }
  },
  {
   "command": "solid.cylinder",
   "params": {
    "base": [
     0,
     0,
     -1
    ],
    "radius": 10,
    "height": 22,
    "operation": "cut",
    "targets": [
     "Tube"
    ]
   }
  },
  {
   "command": "solid.cylinder",
   "params": {
    "base": [
     0,
     0,
     10
    ],
    "radius": 12,
    "height": 20,
    "operation": "new",
    "body_name": "Sector"
   }
  },
  {
   "command": "solid.cylinder",
   "params": {
    "base": [
     0,
     0,
     9
    ],
    "radius": 10,
    "height": 22,
    "operation": "cut",
    "targets": [
     "Sector"
    ]
   }
  },
  {
   "command": "solid.box",
   "params": {
    "corner": [
     0,
     0,
     9
    ],
    "length": 20,
    "width": 20,
    "height": 22,
    "operation": "intersect",
    "targets": [
     "Sector"
    ]
   }
  },
  {
   "command": "solid.combine",
   "params": {
    "target": "Tube",
    "tools": [
     "Sector"
    ],
    "operation": "join"
   }
  }
 ]
}