SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
[
{"call":"ui.prefs","params":{"look_at_anim":false,"sketch_mirror_auto_line":false}},
{"call":"engine.execute","params":{"command":"sketch.create","params":{"plane":"XY"}}},
{"call":"engine.execute","params":{"command":"sketch.line","params":{"points":[[-30,10],[-15,10]]}}},
{"call":"engine.execute","params":{"command":"sketch.line","params":{"points":[[-15,10],[-15,25]]}}},
{"call":"engine.execute","params":{"command":"sketch.line","params":{"points":[[0,-10],[0,40]],"construction":true}}},
{"call":"ui.view","params":{"view":"top"}},
{"start":"sketch.mirror"},
{"expect":{"dialog":"SketchModify(Mirror)","tool":null}},
{"note":"Fit after the floating panels are measured so both entity picks remain exposed beside the left dialog."},
{"call":"ui.view","params":{"view":"fit"}},
{"click":{"sketch":[-22.5,10]}},
{"click":{"sketch":[-15,17.5]}},
{"click":{"sketch":[-22.5,10]},"ctrl":true},
{"click":{"sketch":[-22.5,10]},"ctrl":true},
{"call":"ui.dialogInput","params":{"index":1}},
{"click":{"sketch":[0,20]}},
{"until":{"count":{"name":"sketch_preview_curves","value":2}}},
{"expect":{"sketch_curves":{"own":3}}},
{"click":{"handle":"dialog:clear:Mirror line"}},
{"click":{"sketch":[0,20]}},
{"until":{"count":{"name":"sketch_preview_curves","value":2}}},
{"click":{"handle":"dialog:OK"}},
{"expect":{"dialog":null,"sketch_curves":{"own":5},"errors":0}},
{"call":"engine.execute","params":{"command":"edit.undo","params":{}}},
{"expect":{"sketch_curves":{"own":3},"errors":0}}
]