Skip to content

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

742 B
Raw Blame
{
 "commands": [
  {
   "command": "sketch.create",
   "params": {
    "plane": {
     "origin": [
      0,
      0,
      0
     ],
     "x_dir": [
      1,
      0,
      0
     ],
     "y_dir": [
      0,
      0,
      1
     ]
    }
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      0,
      20
     ],
     [
      0,
      0
     ],
     [
      20,
      0
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     20,
     0
    ],
    "end": [
     0,
     20
    ]
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.revolve",
   "params": {
    "axis": "Z"
   }
  }
 ]
}