Skip to content

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

689 B
Raw Blame
{
 "commands": [
  {
   "command": "sketch.create",
   "params": {
    "plane": {
     "origin": [
      0,
      0,
      0
     ],
     "x_dir": [
      1,
      0,
      0
     ],
     "y_dir": [
      0,
      0,
      1
     ]
    },
    "name": "Path"
   }
  },
  {
   "command": "sketch.spline.control_point",
   "params": {
    "points": [
     [
      0,
      0
     ],
     [
      0,
      20
     ],
     [
      20,
      20
     ],
     [
      20,
      40
     ]
    ]
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.pipe",
   "params": {
    "path_sketch": "Path",
    "path": [
     "s1"
    ],
    "diameter": 4
   }
  }
 ]
}