Skip to content

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

3.4 KB
Raw Blame
[
 {"note":"#2535: show the complete slot outline while choosing its width, without adding document curves until the final click."},
 {"call":"engine.execute","params":{"command":"sketch.create","params":{"plane":"XY"}}},
 {"call":"ui.view","params":{"view":"top"}},
 {"start":"sketch.slot.center_to_center"},
 {"click":{"sketch":[0,0]}},
 {"click":{"sketch":[40,0]}},
 {"move":{"sketch":[20,8]}},
 {"expect":{"count":{"name":"tool_preview_curves","value":4},"sketch_curves":{"own":0},"errors":0}},
 {"text":"16"},
 {"key":"Tab"},
 {"move":{"sketch":[20,20]}},
 {"expect":{"count":{"name":"tool_preview_curves","value":4},"errors":0}},
 {"click":{"sketch":[20,20]}},
 {"expect":{"sketch_curves":{"own":4},"param":{"d1":16},"errors":0}},
 {"key":"Escape"},
 {"start":"sketch.slot.overall"},
 {"click":{"sketch":[0,-30]}},
 {"click":{"sketch":[40,-30]}},
 {"move":{"sketch":[20,-38]}},
 {"expect":{"count":{"name":"tool_preview_curves","value":4},"errors":0}},
 {"click":{"sketch":[20,-38]}},
 {"expect":{"sketch_curves":{"own":8},"errors":0}},
 {"key":"Escape"},
 {"start":"sketch.slot.center_point"},
 {"click":{"sketch":[0,30]}},
 {"click":{"sketch":[20,30]}},
 {"move":{"sketch":[10,38]}},
 {"expect":{"count":{"name":"tool_preview_curves","value":4},"errors":0}},
 {"click":{"sketch":[10,38]}},
 {"expect":{"sketch_curves":{"own":12},"errors":0}},
 {"key":"Escape"},
 {"call":"engine.execute","params":{"command":"sketch.create","params":{"plane":"XY"}}},
 {"call":"ui.view","params":{"view":"top"}},
 {"start":"sketch.slot.arc_center"},
 {"click":{"sketch":[0,0]}},
 {"click":{"sketch":[20,0]}},
 {"click":{"sketch":[0,20]}},
 {"move":{"sketch":[0,24]}},
 {"expect":{"count":{"name":"tool_preview_curves","value":5},"errors":0}},
 {"click":{"sketch":[0,24]}},
 {"expect":{"sketch_curves":{"own":5},"errors":0}},
 {"key":"Escape"},
 {"call":"engine.execute","params":{"command":"sketch.create","params":{"plane":"XY"}}},
 {"call":"ui.view","params":{"view":"top"}},
 {"start":"sketch.slot.arc_three_point"},
 {"click":{"sketch":[20,0]}},
 {"click":{"sketch":[0,20]}},
 {"click":{"sketch":[-20,0]}},
 {"move":{"sketch":[-20,4]}},
 {"expect":{"count":{"name":"tool_preview_curves","value":5},"errors":0}},
 {"click":{"sketch":[-20,4]}},
 {"expect":{"sketch_curves":{"own":5},"errors":0}},
 {"key":"Escape"},
 {"note":"Typed widths below the pointer minimum remain valid for both dimensioned slot tools."},
 {"call":"engine.execute","params":{"command":"sketch.create","params":{"plane":"XY"}}},
 {"call":"ui.view","params":{"view":"top"}},
 {"start":"sketch.slot.center_to_center"},
 {"click":{"sketch":[0,0]}},
 {"click":{"sketch":[40,0]}},
 {"move":{"sketch":[20,8]}},
 {"text":"0.0002 / 2"},
 {"key":"Tab"},
 {"move":{"sketch":[20,20]}},
 {"expect":{"count":{"name":"tool_preview_curves","value":4},"sketch_curves":{"own":0},"errors":0}},
 {"click":{"sketch":[20,20]}},
 {"expect":{"sketch_curves":{"own":4},"param":{"d2":0.0001},"errors":0}},
 {"key":"Escape"},
 {"call":"engine.execute","params":{"command":"sketch.create","params":{"plane":"XY"}}},
 {"call":"ui.view","params":{"view":"top"}},
 {"start":"sketch.slot.overall"},
 {"click":{"sketch":[0,0]}},
 {"click":{"sketch":[40,0]}},
 {"move":{"sketch":[20,8]}},
 {"text":"0.0001"},
 {"key":"Tab"},
 {"move":{"sketch":[20,20]}},
 {"expect":{"count":{"name":"tool_preview_curves","value":4},"sketch_curves":{"own":0},"errors":0}},
 {"click":{"sketch":[20,20]}},
 {"expect":{"sketch_curves":{"own":4},"param":{"d3":0.0001},"errors":0}},
 {"key":"Escape"}
]