Merge pull request #184 from tbreckle/fix/175-glyphs-clear-of-dimensions

fix(sketch): constraint glyphs move off dimension values
This commit is contained in:
bherbruck authored and GitHub committed 2026-10-11 16:44:49 -04:00
commit 6c06168fa7
3 files changed
+36 -8

No files matched your search

@@ -0,0 +1,9 @@
[
{"call": "engine.execute", "params": {"command": "sketch.create", "params": {"plane": "XY"}}},
{"call": "engine.execute", "params": {"command": "sketch.rectangle.two_point", "params": {"p0": [0, 0], "p1": [10, 10]}}},
{"call": "engine.execute", "params": {"command": "sketch.dimension", "params": {"entities": ["l1"], "value": 10, "text_at": [5, -0.3]}}},
{"call": "engine.execute", "params": {"command": "sketch.dimension", "params": {"entities": ["l2"], "value": 10, "text_at": [10.3, 5]}}},
{"call": "ui.view", "params": {"view": "top"}},
{"call": "ui.view", "params": {"view": "fit"}},
{"expect": {"glyphs": {"k1": 1, "k2": 1, "k3": 1, "k4": 1}}}
]