Skip to content

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

1.2 KB
Raw Blame
{
 "commands": [
  {
   "command": "sheet.manage_rules",
   "params": {
    "name": "Steel 0.8",
    "thickness": "0.8 mm",
    "active": true,
    "bend_radius": "0.8 mm",
    "k_factor": 0.44
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Blank"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      0,
      0
     ],
     [
      100,
      0
     ],
     [
      100,
      5
     ],
     [
      115,
      5
     ],
     [
      115,
      12
     ],
     [
      100,
      12
     ],
     [
      100,
      28
     ],
     [
      115,
      28
     ],
     [
      115,
      35
     ],
     [
      100,
      35
     ],
     [
      100,
      40
     ],
     [
      0,
      40
     ]
    ],
    "closed": true
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "sheet.flange",
   "params": {
    "type": "base",
    "sketch": "Blank"
   }
  },
  {
   "command": "sheet.fold",
   "params": {
    "points": [
     [
      107,
      5,
      0.8
     ],
     [
      107,
      35,
      0.8
     ]
    ],
    "fixed": [
     50,
     20,
     0.8
    ]
   }
  },
  {
   "command": "inspect.measure",
   "params": {}
  }
 ]
}