Skip to content

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

1.2 KB
Raw Blame
{
 "commands": [
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      0,
      0
     ],
     [
      0,
      40
     ]
    ],
    "infer": false
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      0,
      40
     ],
     [
      10,
      40
     ]
    ],
    "infer": false
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      10,
      40
     ],
     [
      10,
      25
     ]
    ],
    "infer": false
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      10,
      25
     ],
     [
      10,
      15
     ]
    ],
    "infer": false
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      10,
      15
     ],
     [
      4,
      6
     ]
    ],
    "infer": false
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      4,
      6
     ],
     [
      0,
      0
     ]
    ],
    "infer": false
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.revolve",
   "params": {
    "axis": "Y",
    "angle": "360 deg",
    "body_name": "Pencil"
   }
  }
 ]
}