Skip to content

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

1.1 KB
Raw Blame
{
 "commands": [
  {
   "command": "sheet.manage_rules",
   "params": {
    "name": "Sheet 2 mm",
    "thickness": "2 mm",
    "active": true,
    "bend_radius": "1 mm",
    "k_factor": 0.5,
    "gap": "0.5 mm",
    "corner_relief_shape": "rectangular",
    "corner_relief": "8 mm"
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Base"
   }
  },
  {
   "command": "sketch.rectangle.two_point",
   "params": {
    "p0": [
     0,
     0
    ],
    "p1": [
     120,
     90
    ]
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "sheet.flange",
   "params": {
    "type": "base",
    "sketch": "Base"
   }
  },
  {
   "command": "sheet.flange",
   "params": {
    "type": "edge",
    "height": 20,
    "angle": 90,
    "edges": [
     [
      60.0,
      0,
      2
     ],
     [
      120,
      45.0,
      2
     ],
     [
      60.0,
      90,
      2
     ],
     [
      0,
      45.0,
      2
     ]
    ]
   }
  },
  {
   "command": "sheet.unfold",
   "params": {}
  },
  {
   "command": "inspect.measure",
   "params": {}
  }
 ]
}