Skip to content

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

822 B
Raw Blame
{
 "commands": [
  {
   "command": "sheet.manage_rules",
   "params": {
    "name": "S",
    "thickness": "2 mm",
    "active": true,
    "bend_radius": "2 mm",
    "k_factor": 0.4
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Base"
   }
  },
  {
   "command": "sketch.rectangle.two_point",
   "params": {
    "p0": [
     0,
     0
    ],
    "p1": [
     60,
     40
    ]
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "sheet.flange",
   "params": {
    "type": "base",
    "sketch": "Base"
   }
  },
  {
   "command": "solid.hole",
   "params": {
    "position": [
     30,
     20,
     0
    ],
    "direction": [
     0,
     0,
     1
    ],
    "diameter": 5
   }
  },
  {
   "command": "inspect.measure",
   "params": {}
  }
 ]
}