Skip to content

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

784 B
Raw Blame
{
 "commands": [
  {
   "command": "sketch.create",
   "params": {
    "plane": {
     "origin": [
      0,
      0,
      0
     ],
     "x_dir": [
      1,
      0,
      0
     ],
     "y_dir": [
      0,
      1,
      0
     ]
    },
    "name": "Pent"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      0,
      0
     ],
     [
      10,
      0
     ],
     [
      14,
      8
     ],
     [
      5,
      14
     ],
     [
      -4,
      8
     ],
     [
      0,
      0
     ]
    ],
    "infer": false
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "surface.boundary",
   "params": {
    "sketch": "Pent",
    "curves": [
     "l1",
     "l2",
     "l3",
     "l4",
     "l5"
    ]
   }
  }
 ]
}