Skip to content

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

936 B
Raw Blame
{
 "commands": [
  {
   "command": "solid.box",
   "params": {
    "length": 40,
    "width": 40,
    "height": 20,
    "center": [
     0,
     0,
     10
    ]
   }
  },
  {
   "command": "solid.fillet",
   "params": {
    "edges": [
     [
      20,
      20,
      10
     ],
     [
      -20,
      20,
      10
     ],
     [
      20,
      -20,
      10
     ],
     [
      -20,
      -20,
      10
     ]
    ],
    "radius": 1
   }
  },
  {
   "command": "solid.chamfer",
   "params": {
    "distance": 1,
    "edges": [
     [
      0,
      20,
      0
     ],
     [
      0,
      -20,
      0
     ],
     [
      20,
      0,
      0
     ],
     [
      -20,
      0,
      0
     ],
     [
      19.7071,
      19.7071,
      0
     ],
     [
      -19.7071,
      19.7071,
      0
     ],
     [
      19.7071,
      -19.7071,
      0
     ],
     [
      -19.7071,
      -19.7071,
      0
     ]
    ]
   }
  }
 ]
}