Inscribed, circumscribed and edge polygon tools preview their actual outline (side count and orientation) while drawing, with the current line type, instead of only the support circle. Preview work is bounded. Fixes #520. Co-authored-by: lillith <35337584+0xlillith@users.noreply.github.com>
26 lines
995 B
JSON
26 lines
995 B
JSON
[
|
|
{"note":"#520: all polygon drawing variants show their real edge outline before committing, including a typed side count."},
|
|
{"call":"engine.execute","params":{"command":"sketch.create","params":{"plane":"XY"}}},
|
|
{"call":"ui.view","params":{"view":"top"}},
|
|
{"start":"sketch.polygon.inscribed"},
|
|
{"click":{"sketch":[0,0]}},
|
|
{"move":{"sketch":[20,8]}},
|
|
{"expect":{"count":{"name":"polygon_preview_edges","value":6},"errors":0}},
|
|
{"text":"10"},
|
|
{"key":"Tab"},
|
|
{"text":"4"},
|
|
{"move":{"sketch":[20,10]}},
|
|
{"expect":{"count":{"name":"polygon_preview_edges","value":4},"errors":0}},
|
|
{"key":"Escape"},
|
|
{"start":"sketch.polygon.circumscribed"},
|
|
{"click":{"sketch":[0,0]}},
|
|
{"move":{"sketch":[20,8]}},
|
|
{"expect":{"count":{"name":"polygon_preview_edges","value":6},"errors":0}},
|
|
{"key":"Escape"},
|
|
{"start":"sketch.polygon.edge"},
|
|
{"click":{"sketch":[0,0]}},
|
|
{"move":{"sketch":[20,8]}},
|
|
{"expect":{"count":{"name":"polygon_preview_edges","value":6},"errors":0}},
|
|
{"key":"Escape"}
|
|
]
|