Three readable line type icons in the Sketch Palette, with construction orange moved to a caller contract (#747)
The Sketch Palette's line types are three drawn icons (solid, one gap, gap with a dot) instead of text glyphs, and the construction orange is now chosen by the caller (`fixed_accent` on the toolbar) rather than hardcoded in the icons.
This commit is contained in:
1 parent
aae70053ee
commit
4a989f6e2d
5 files changed
+308
-33
No files matched your search
@@ -1,5 +1,5 @@
|
||||
[
|
||||
{"note": "Construction mode like Fusion: with nothing selected, X (or the palette's Construction linetype) makes new curves construction until switched back; with a selection X converts it."},
|
||||
{"note": "Construction mode like Fusion: with nothing selected, X (or the palette's Construction linetype) makes new curves construction until switched back; with a selection X converts it. The palette's linetype buttons still carry their old glyphs ('--', '- -', '-.-') as an invisible accessible label and hit target. A drawn icon (icons.rs) now paints over each, in the construction orange for construction and centerline. The widgets below are still reached by the glyph."},
|
||||
{"start": "sketch.create"},
|
||||
{"click": {"plane": "XY"}},
|
||||
{"expect": {"dialog": null}},
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
"note": "The Sketch Palette's Normal/Construction/Centerline selector (not the toolbar's separate CREATE panel icons) now paints a real drawn icon over each of its three old text glyphs ('--', '- -', '-.-'), in the construction orange for construction and centerline. The glyphs stay as the invisible accessible label and hit target, unchanged. The widgets below are still reached by the glyph, exactly as in s35_construction_mode.json. This exercises the Centerline button's mode switch through this widget. No scenario previously did that: with nothing selected, a click sets the drawing mode until it is switched back, the same way s35 exercises Construction's."
|
||||
},
|
||||
{"start": "sketch.create"},
|
||||
{"click": {"plane": "XY"}},
|
||||
{"expect": {"dialog": null}},
|
||||
{"widget": "-·-"},
|
||||
{"start": "sketch.rectangle.two_point"},
|
||||
{"click": {"sketch": [0, 0]}},
|
||||
{"click": {"sketch": [30, 20]}},
|
||||
{"key": "Escape"},
|
||||
{"expect": {"query": {"command": "sketch.inspect", "path": ["profiles"], "value": []}}},
|
||||
{"widget": "—"},
|
||||
{"start": "sketch.rectangle.two_point"},
|
||||
{"click": {"sketch": [0, 40]}},
|
||||
{"click": {"sketch": [30, 60]}},
|
||||
{"key": "Escape"},
|
||||
{"expect": {"query": {"command": "sketch.inspect", "path": ["profiles", 0, "area_mm2"], "value": 600}}}
|
||||
]
|
||||
Reference in new issue
Block a user