mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 20:27:05 -06:00
M8.11: Perspective grid widgets: ground-level points move the grid, separate extents, cell size widget, screen-fixed Plane Switching Widget with 1-4 keys
The Perspective Grid tool's left and right ground-level points move the whole grid; the left and right extents are separate (extentRight; Alt drags both, Shift goes by whole cells); a cell size widget sits up the line where the planes meet; Shift keeps a vanishing point on the horizon and the ground points and origin on one axis. The Plane Switching Widget stays put in a corner of the document window (ViewInfo/ToolContext carry the window as a ScreenFrame), takes its clicks with any tool while the grid shows (the Perspective Selection tool too while it's hidden), and 1-4 pick the left, horizontal, right and no plane. Double-clicking the Perspective Grid tool opens Perspective Grid Options (show the widget, its corner; perspective.widget.options, kept with the preferences). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
565b75b91d
commit
0889f13cd8
@@ -520,3 +520,9 @@ blend's spine adds a point (on a point no key sits on, deletes it).
|
||||
Perspective grid view options: View → Perspective Grid lists Show/Hide Grid, Show/Hide Rulers, Snap to Grid
|
||||
(checked), Lock/Unlock Grid and Lock Station Point (checked); `ui.menu.list` reports the current labels. They run
|
||||
`perspective.grid.show`, `rulers`, `snap`, `lock` and `lockStation`.
|
||||
|
||||
Perspective grid widgets: the Plane Switching Widget is fixed in a corner of the canvas (`ui.pointer` with
|
||||
`space: "screen"` reaches it at the same pixels whatever the zoom); a press on it with any tool picks the plane while
|
||||
the grid shows. `ui.key` with `key` `"1"`…`"4"` picks the left, horizontal, right or no plane. Double-clicking the
|
||||
Perspective Grid tool (`tool.options {tool: "perspectiveGrid"}`) opens `perspectiveGridOptions` (fields `show`,
|
||||
`position`: `topLeft`, `topRight`, `bottomLeft`, `bottomRight`); `ui.dialog.confirm` runs `perspective.widget.options`.
|
||||
|
||||
Reference in New Issue
Block a user