Skip to content

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

929 B
Raw Blame
{
 "commands": [
  {
   "command": "solid.box",
   "params": {
    "length": 10,
    "width": 10,
    "height": 10,
    "corner": [
     0,
     0,
     0
    ],
    "body_name": "Cube"
   }
  },
  {
   "command": "solid.cylinder",
   "params": {
    "radius": 3,
    "height": 10,
    "base": [
     0,
     10,
     10
    ],
    "axis": "X",
    "operation": "join",
    "targets": [
     "Cube"
    ]
   }
  },
  {
   "command": "file.export",
   "params": {
    "path": "$OUT/kernel-case-4315.step",
    "format": "step"
   }
  },
  {
   "command": "file.new",
   "params": {
    "name": "Reimported"
   }
  },
  {
   "command": "file.insert_step",
   "params": {
    "path": "$OUT/kernel-case-4315.step"
   }
  },
  {
   "command": "solid.split_body",
   "params": {
    "body": "Cube",
    "plane": {
     "origin": [
      2,
      0,
      0
     ],
     "normal": [
      1,
      0,
      0
     ]
    }
   }
  }
 ]
}