Skip to content

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

735 B
Raw Blame
{
 "commands": [
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY"
   }
  },
  {
   "command": "sketch.circle.center",
   "params": {
    "center": [
     0,
     0
    ],
    "radius": 20
   }
  },
  {
   "command": "sketch.circle.center",
   "params": {
    "center": [
     0,
     0
    ],
    "radius": 10
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "distance": 10,
    "operation": "new",
    "profiles": [
     {
      "point": [
       15,
       0
      ]
     }
    ]
   }
  },
  {
   "command": "solid.offset_face",
   "params": {
    "faces": [
     [
      20,
      0,
      5
     ]
    ],
    "distance": "2 mm"
   }
  }
 ]
}