Repository navigation
Paste saved linked designs at the viewport pointer (#2430) - #2433
Merged
jyviko merged 15 commits intoOct 20, 2026
Merged
Conversation
…-design-clipboard
amolinari-autotex
marked this pull request as ready for review
October 18, 2026 16:47
amolinari-autotex
marked this pull request as draft
October 19, 2026 09:51
This was referenced Oct 19, 2026
amolinari-autotex
marked this pull request as ready for review
October 19, 2026 12:13
jyviko
added this pull request to the merge queue
Oct 19, 2026
BrunIF
pushed a commit
to BrunIF/solidcraft
that referenced
this pull request
Oct 20, 2026
… (tangency-labs#2433) * claim: tangency-labs#2430 * feat: copy saved designs between documents as linked components * fix: keep occurrence movement controls with their document tab * test: cover linked design clipboard across tabs * fix: place linked design pastes at the viewport pointer --------- Co-authored-by: bherbruck <brennen.herbruck@gmail.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.
Claims #2430. Related to #2250.
Change
Copy a saved, unmodified design root, switch document tabs and paste. Paste inserts an ungrounded linked occurrence, reuses its component definition on repeated pastes, and opens that document's Move/Copy controls.
The source origin now lands on the surface under the viewport pointer. Over empty space it uses the active parent's XY plane; absent, parallel, behind-camera or invalid rays fall back to the parent origin. Placement is converted into the parent's coordinates and belongs to the paste's single undo step. The source is unchanged.
The pre-existing occurrence arrow input repair is maintained separately in #3015 / #3014. This PR contains pointer placement and numeric-placement regression coverage; it does not duplicate the shared viewport patch.
Validation
cargo xtask ciwas attempted. This Windows checkout stops at unchanged SVG master/review hash checks caused by checkout line endings. No icon artwork or acceptance hashes were changed. No full-workspace or GitHub CI pass is claimed.Native Ctrl+V across two document tabs placed the source origin at [40,25,8] on a plate without moving the camera. Undo/redo retained the initial placement and the source file hash was unchanged. Combined QA also exercised the separately supplied arrow fix. Regression coverage checks rotated-parent coordinates, missing/off-viewport pointer fallbacks, linked reuse, document-local movement state and refusal of invalid sources.
Screenshots of the behavior (when observable)
Actual native PNGs from small public-safe examples were captured and visually inspected locally, including before/after evidence where useful. Public media attachments remain pending; generated screenshots were not committed as repository assets.
Integration status
Validated on upstream
34cb3167with the combined contributions, trial commitb59369cb. Latest checked main was3a9b053f; local merge simulations for all five branches completed without conflicts. Maintainer commits and published history were preserved with normal merges and pushes.The user verified and accepted this behavior in the frozen integrated trial (
b59369cb), matching the published head. This PR is ready for review. No merge or release was performed; no full GitHub CI pass is claimed.