Skip to content

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

922 B
Raw Blame
{
 "commands": [
  {
   "command": "sheet.manage_rules",
   "params": {
    "name": "Steel",
    "thickness": "2.5 mm",
    "active": true,
    "bend_radius": "2.5 mm",
    "k_factor": 0.44
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Base"
   }
  },
  {
   "command": "sketch.rectangle.two_point",
   "params": {
    "p0": [
     0,
     0
    ],
    "p1": [
     100,
     60
    ]
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "sheet.flange",
   "params": {
    "type": "base",
    "sketch": "Base"
   }
  },
  {
   "command": "sheet.flange",
   "params": {
    "type": "edge",
    "edges": [
     [
      50,
      0,
      2.5
     ]
    ],
    "height": 20
   }
  },
  {
   "command": "sheet.flange",
   "params": {
    "type": "edge",
    "edges": [
     [
      50,
      5,
      2.5
     ]
    ],
    "height": 10
   }
  }
 ]
}