Skip to content

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

1016 B
Raw Blame
{
 "commands": [
  {
   "command": "sheet.manage_rules",
   "params": {
    "name": "Rule",
    "thickness": "2 mm",
    "active": true,
    "bend_radius": "2 mm"
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Outline"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      0,
      0
     ],
     [
      100,
      0
     ],
     [
      100,
      3
     ],
     [
      97,
      3
     ],
     [
      97,
      60
     ],
     [
      0,
      60
     ]
    ],
    "closed": true
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "sheet.flange",
   "params": {
    "type": "base",
    "sketch": "Outline"
   }
  },
  {
   "command": "sheet.flange",
   "params": {
    "type": "edge",
    "edges": [
     [
      50,
      0,
      2
     ]
    ],
    "height": 20,
    "radius": 1,
    "position": "inside",
    "body": "Body1"
   }
  },
  {
   "command": "inspect.measure",
   "params": {}
  }
 ]
}