Skip to content

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

6.6 KB
Raw Blame
{
 "commands": [
  {
   "command": "solid.cylinder",
   "params": {
    "base": [
     0,
     0,
     -5
    ],
    "radius": 33,
    "height": 15,
    "body_name": "Oberteil"
   }
  },
  {
   "command": "solid.cylinder",
   "params": {
    "base": [
     0,
     0,
     -6
    ],
    "radius": 28,
    "height": 17,
    "operation": "cut",
    "targets": [
     "Oberteil"
    ]
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "offset": -3,
    "name": "Slots"
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     7.423384793347543,
     32.154212137912765
    ],
    "end": [
     -7.423384793347546,
     32.154212137912765
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     6.636056103144015,
     28.74391691116444
    ],
    "end": [
     -6.636056103144019,
     28.74391691116444
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      7.423384793347543,
      32.154212137912765
     ],
     [
      6.636056103144015,
      28.74391691116444
     ]
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      -7.423384793347546,
      32.154212137912765
     ],
     [
      -6.636056103144019,
      28.74391691116444
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     -31.55805694678017,
     -9.648266255850313
    ],
    "end": [
     -24.13467215343263,
     -22.505945882062445
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     -28.210990300909547,
     -8.624965289320734
    ],
    "end": [
     -21.574934197765533,
     -20.118951621843703
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      -31.55805694678017,
      -9.648266255850313
     ],
     [
      -28.210990300909547,
      -8.624965289320734
     ]
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      -24.13467215343263,
      -22.505945882062445
     ],
     [
      -21.574934197765533,
      -20.118951621843703
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     24.134672153432632,
     -22.50594588206244
    ],
    "end": [
     31.558056946780166,
     -9.648266255850325
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     21.574934197765536,
     -20.1189516218437
    ],
    "end": [
     28.210990300909543,
     -8.624965289320746
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      24.134672153432632,
      -22.50594588206244
     ],
     [
      21.574934197765536,
      -20.1189516218437
     ]
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      31.558056946780166,
      -9.648266255850325
     ],
     [
      28.210990300909543,
      -8.624965289320746
     ]
    ]
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "sketch": "Slots",
    "profiles": "all",
    "distance": 11,
    "operation": "cut",
    "targets": [
     "Oberteil"
    ],
    "name": "SlotCut"
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "offset": 4.7,
    "name": "Grooves"
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     6.861085796986062,
     32.27887082421558
    ],
    "end": [
     -27.67612874219899,
     17.9730881554959
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     6.237350724532783,
     29.344428022014167
    ],
    "end": [
     -25.160117038362717,
     16.33917105045082
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      6.861085796986062,
      32.27887082421558
     ],
     [
      6.237350724532783,
      29.344428022014167
     ]
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      -27.67612874219899,
      17.9730881554959
     ],
     [
      -25.160117038362717,
      16.33917105045082
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     -31.38486503774007,
     -10.19756081437326
    ],
    "end": [
     -1.7270865560171622,
     -32.95477464690094
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     -28.53169548885461,
     -9.270509831248418
    ],
    "end": [
     -1.5700786872883292,
     -29.958886042637214
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      -31.38486503774007,
      -10.19756081437326
     ],
     [
      -28.53169548885461,
      -9.270509831248418
     ]
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      -1.7270865560171622,
      -32.95477464690094
     ],
     [
      -1.5700786872883292,
      -29.958886042637214
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     24.52377924075401,
     -22.08131000984232
    ],
    "end": [
     29.403215298216143,
     14.981686491405037
    ]
   }
  },
  {
   "command": "sketch.arc.center_point",
   "params": {
    "center": [
     0,
     0
    ],
    "start": [
     22.294344764321828,
     -20.073918190765745
    ],
    "end": [
     26.73019572565104,
     13.619714992186397
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      24.52377924075401,
      -22.08131000984232
     ],
     [
      22.294344764321828,
      -20.073918190765745
     ]
    ]
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      29.403215298216143,
      14.981686491405037
     ],
     [
      26.73019572565104,
      13.619714992186397
     ]
    ]
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "sketch": "Grooves",
    "profiles": "all",
    "distance": 3.6,
    "operation": "cut",
    "targets": [
     "Oberteil"
    ],
    "name": "GrooveCut"
   }
  },
  {
   "command": "inspect.measure",
   "params": {}
  }
 ]
}