Skip to content

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

802 B
Raw Blame
{
 "commands": [
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Base"
   }
  },
  {
   "command": "sketch.rectangle.rounded",
   "params": {
    "p0": [
     0,
     0
    ],
    "p1": [
     60,
     40
    ],
    "radius": 10
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "sketch": "Base",
    "distance": 10,
    "body_name": "Base"
   }
  },
  {
   "command": "solid.cylinder",
   "params": {
    "radius": 10,
    "height": 10,
    "base": [
     12,
     32,
     10
    ],
    "operation": "join",
    "targets": [
     "Base"
    ]
   }
  },
  {
   "command": "solid.fillet",
   "params": {
    "edges": [
     [
      30,
      0,
      10
     ]
    ],
    "radius": 2
   }
  }
 ]
}