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.box",
   "params": {
    "length": 90,
    "width": 60,
    "height": 14,
    "corner": [
     -45.0,
     -30.0,
     0.0
    ],
    "name": "Base"
   }
  },
  {
   "command": "solid.box",
   "params": {
    "length": 50,
    "width": 24,
    "height": 40,
    "corner": [
     -25.0,
     -12.0,
     14.0
    ],
    "operation": "join",
    "name": "Tower"
   }
  },
  {
   "command": "solid.hole",
   "params": {
    "position": [
     -16,
     -12,
     34
    ],
    "direction": [
     0,
     1,
     0
    ],
    "diameter": 4.2,
    "depth": 15.2,
    "type": "drilled",
    "tip_angle": "118 deg",
    "thread": "M5",
    "name": "Hole_M5_Blind_1"
   }
  },
  {
   "command": "solid.hole",
   "params": {
    "position": [
     -32,
     -20,
     14
    ],
    "direction": [
     0,
     0,
     -1
    ],
    "diameter": 9.0,
    "depth": 14,
    "name": "Hole_M8_1"
   }
  },
  {
   "command": "solid.hole",
   "params": {
    "position": [
     -32,
     20,
     14
    ],
    "direction": [
     0,
     0,
     -1
    ],
    "diameter": 9.0,
    "depth": 14,
    "name": "Hole_M8_2"
   }
  }
 ]
}