Repository navigation
M8.12: Perspective Selection tool scales, copies, moves perpendicular and nudges in perspective - #189
Merged
Merged
Conversation
… and nudges in perspective The Perspective Selection tool shows the selection's bounding box in perspective; its handles scale in plane space (perspective.transform; Shift proportional, Alt from the centre). Alt-drag moves copies that stay attached, pressing 5 while dragging moves along the plane's normal (ToolKey::Digit, delivered by the canvas and MCP press_key), and the arrow keys nudge in perspective (perspective.nudge). Transform Again repeats the last perspective move or scale in plane space. Attachments (plane and depth) now live on the objects (Node.perspective), so copies, duplicates and pastes keep them; grids from older files hand theirs over. Homography moves to vectorcraft-geom. Hint-bar text for the tool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Perspective Selection tool now scales, copies, moves perpendicular to the plane and nudges in perspective, and Transform Again repeats perspective moves.
M8.12: Perspective Selection tool
perspective.transform).ToolKey::Digit, wired through the canvas and MCPpress_key.perspective.nudge).perspective.movegainscopyandperpendicularparams.Node.perspective {plane, depth}(append-only), so objects keep their attachment.attachedmaps are adopted on load.Homographymoved tovectorcraft-geom, and the tools crate re-exports it. The plane homographies are built from per-axis columns that use M8.8's foreshortening, so grids with a viewing angle foreshorten each axis correctly. A test checks the depth and perpendicular maps on an angled grid.Checks
mainas M8.5: Puppet Warp pins rotate, multi-select and Select All; Control bar and hint #185–M8.9: Perspective grid presets: built-in views, Save Grid as Preset, presets manager #187).distortcmds.rs,mcp/lib.rs,chrome.rsand the docs; all were merged token by token, keeping both sides.cargo xtask cipasses all 7 steps (fmt, clippy, tests, assets, brands, layers, wasm) on the top of the stack, with 3,153 tests.🤖 Generated with Claude Code