Skip to content

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

891 B
Raw Blame
{"commands": [
  {"command": "sketch.create", "params": {"plane": "XY"}},
  {"command": "sketch.circle.center", "params": {"center": [0, 0], "diameter": 55}},
  {"command": "sketch.polygon.inscribed", "params": {"center": [0, 0], "radius": 25, "sides": 6, "angle": 90}},
  {"command": "sketch.finish", "params": {}},
  {"command": "solid.extrude", "params": {"distance": 10, "profiles": [0]}},
  {"command": "solid.fillet", "params": {"radius": 4, "edges": [[0, 25, 5], [-21.650635, 12.5, 5], [-21.650635, -12.5, 5], [0, -25, 5], [21.650635, -12.5, 5], [21.650635, 12.5, 5]]}},
  {"command": "sketch.create", "params": {"plane": {"face": [24, 0, 10]}}},
  {"command": "sketch.circle.center", "params": {"center": [24, 0], "diameter": 3}},
  {"command": "sketch.finish", "params": {}},
  {"command": "solid.extrude", "params": {"distance": 3, "direction": "negative", "operation": "cut"}}
]}