Skip to content

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

827 B
Raw Blame
{
 "commands": [
  {
   "command": "sketch.create",
   "params": {
    "plane": "XZ"
   }
  },
  {
   "command": "sketch.circle.center",
   "params": {
    "center": [
     0,
     0
    ],
    "radius": 30
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "distance": 10,
    "body_name": "Disc"
   }
  },
  {
   "command": "solid.hole",
   "params": {
    "position": [
     20,
     10,
     0
    ],
    "diameter": 4
   }
  },
  {
   "command": "solid.chamfer",
   "params": {
    "edges": [
     [
      22,
      10,
      0
     ]
    ],
    "distance": 1
   }
  },
  {
   "command": "solid.pattern.circular",
   "params": {
    "features": [
     "Hole1",
     "Chamfer1"
    ],
    "axis": "Y",
    "count": 6,
    "angle": "360 deg"
   }
  }
 ]
}