Skip to content

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

771 B
Raw Blame
{
 "commands": [
  {
   "command": "sketch.create",
   "params": {
    "plane": {
     "origin": [
      0.0,
      0.0,
      0.0
     ],
     "x_dir": [
      1,
      0,
      0
     ],
     "y_dir": [
      0,
      0,
      1
     ]
    },
    "name": "P"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      8,
      0
     ],
     [
      30,
      0
     ],
     [
      30,
      6
     ],
     [
      18,
      6
     ],
     [
      18,
      22
     ],
     [
      8,
      22
     ]
    ],
    "infer": false,
    "closed": true
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.revolve",
   "params": {
    "axis": "Z",
    "angle": "240 deg",
    "operation": "new"
   }
  }
 ]
}