Skip to content

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

815 B
Raw Blame
{
 "commands": [
  {
   "command": "solid.box",
   "params": {
    "length": 20,
    "width": 10,
    "height": 10,
    "body_name": "Box"
   }
  },
  {
   "command": "surface.unstitch",
   "params": {
    "body": "Box",
    "faces": [
     [
      10,
      5,
      10
     ]
    ],
    "body_name": "Top"
   }
  },
  {
   "command": "solid.remove",
   "params": {
    "bodies": [
     "Top"
    ]
   }
  },
  {
   "command": "surface.patch",
   "params": {
    "body": "Box",
    "edges": [
     [
      10,
      0,
      10
     ],
     [
      20,
      5,
      10
     ],
     [
      10,
      10,
      10
     ],
     [
      0,
      5,
      10
     ]
    ],
    "body_name": "Lid"
   }
  },
  {
   "command": "surface.stitch",
   "params": {
    "bodies": [
     "Box",
     "Lid"
    ]
   }
  }
 ]
}