Skip to content

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

910 B
Raw Blame
{
 "commands": [
  {
   "command": "solid.box",
   "params": {
    "length": 100,
    "width": 20,
    "height": 5,
    "body_name": "Plate"
   }
  },
  {
   "command": "solid.cylinder",
   "params": {
    "base": [
     10,
     10,
     5
    ],
    "radius": 3,
    "height": 5,
    "operation": "join",
    "name": "Boss"
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Path"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      10,
      10
     ],
     [
      90,
      10
     ]
    ],
    "ids": [
     "p1"
    ],
    "infer": false
   }
  },
  {
   "command": "sketch.finish",
   "params": {
    "sketch": "Path"
   }
  },
  {
   "command": "solid.pattern.path",
   "params": {
    "features": [
     "Boss"
    ],
    "path_sketch": "Path",
    "path": [
     "p1"
    ],
    "count": 6,
    "spacing": 20
   }
  }
 ]
}