Skip to content

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

2.3 KB
Raw Blame
{
 "commands": [
  {
   "command": "sketch.create",
   "params": {
    "plane": {
     "origin": [
      0.0,
      0.0,
      0.0
     ],
     "x_dir": [
      1,
      0,
      0
     ],
     "y_dir": [
      0,
      1,
      0
     ]
    },
    "name": "Bottom"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      -26,
      3
     ],
     [
      -24.76384,
      3
     ],
     [
      -16.0568,
      14.97217
     ],
     [
      -8,
      4.90117
     ],
     [
      0,
      14.90117
     ],
     [
      8,
      4.90117
     ],
     [
      16.0568,
      14.97217
     ],
     [
      24.76384,
      3
     ],
     [
      26,
      3
     ],
     [
      26,
      0
     ],
     [
      23.23616,
      0
     ],
     [
      15.9432,
      10.02783
     ],
     [
      8,
      0.09883
     ],
     [
      0,
      10.09883
     ],
     [
      -8,
      0.09883
     ],
     [
      -15.9432,
      10.02783
     ],
     [
      -23.23616,
      0
     ],
     [
      -26,
      0
     ]
    ],
    "infer": false,
    "closed": true
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": {
     "origin": [
      0.0,
      0.0,
      90.5
     ],
     "x_dir": [
      1,
      0,
      0
     ],
     "y_dir": [
      0,
      1,
      0
     ]
    },
    "name": "Top"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      -26,
      3
     ],
     [
      -24,
      3
     ],
     [
      -16,
      3
     ],
     [
      -8,
      3
     ],
     [
      0,
      3
     ],
     [
      8,
      3
     ],
     [
      16,
      3
     ],
     [
      24,
      3
     ],
     [
      26,
      3
     ],
     [
      26,
      0
     ],
     [
      24,
      0
     ],
     [
      16,
      0
     ],
     [
      8,
      0
     ],
     [
      0,
      0
     ],
     [
      -8,
      0
     ],
     [
      -16,
      0
     ],
     [
      -24,
      0
     ],
     [
      -26,
      0
     ]
    ],
    "infer": false,
    "closed": true
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.loft",
   "params": {
    "sections": [
     {
      "sketch": "Bottom"
     },
     {
      "sketch": "Top"
     }
    ],
    "operation": "new"
   }
  }
 ]
}