Repository navigation
Conversation
amolinari-autotex
marked this pull request as ready for review
October 27, 2026 11:53
bherbruck
enabled auto-merge
October 27, 2026 12:36
bherbruck
added this pull request to the merge queue
Oct 27, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 27, 2026
bherbruck
added this pull request to the merge queue
Oct 27, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 27, 2026
bherbruck
force-pushed
the
fix/linked-body-properties-20261027
branch
from
October 27, 2026 19:57
0a0af2d to
bea1c6c
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
amolinari-autotex
force-pushed
the
fix/linked-body-properties-20261027
branch
from
October 28, 2026 09:16
bea1c6c to
f67931b
Compare
bherbruck
added this pull request to the merge queue
Oct 28, 2026
flukejones
added a commit
to flukejones/solidcraft
that referenced
this pull request
Nov 6, 2026
Extend tangency-labs#1386 imported components and tangency-labs#3221 source storage with verified exact STEP sharing, selected source bodies and compact sibling groups. Preserve part identities, appearances and independent-copy references while sharing preparation and display geometry. Reuse tangency-labs#7380 indexed world naming and retain tangency-labs#6406 placement reuse. Retain tangency-labs#6527 placement checks and tangency-labs#5674 linked-design caching through shared source identities and cached fingerprints. Preserve tangency-labs#7616 inherited materials and appearances when links reuse cached geometry. Use tangency-labs#7565's configurable payload limits and ZIP64 entries for shared sources. Preserve tangency-labs#3512's borrowed cross-design copy source and tangency-labs#8316's copied joint identities when making a placement independent. Keep tangency-labs#9116's saved placement ordering when grouping imported instances. Carry StepSource through tangency-labs#9753's linked-design read helper. Retain tangency-labs#10101's mirrored-part mesh reuse alongside shared imported sources. Use tangency-labs#11351's native kernel API and tangency-labs#10274's staged opening for shared sources and selected bodies, retaining source cache identities. Use tangency-labs#11496's record vectors and geometry traits for shared meshes and independent copies. Related to: - tangency-labs#1386 - tangency-labs#2814 - tangency-labs#3221 - tangency-labs#3512 - tangency-labs#7380 - tangency-labs#6406 - tangency-labs#6527 - tangency-labs#5674 - tangency-labs#7565 - tangency-labs#7616 - tangency-labs#8316 - tangency-labs#9116 - tangency-labs#9753 - tangency-labs#10101 - tangency-labs#10274 - tangency-labs#11351 - tangency-labs#11496 Co-authored-by: Codex <noreply@openai.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.
Closes #7609.
Changes a default: no
Change
Insert Design keeps the source body's physical material and its design-owned material definition. A 10 mm steel cube now remains 1,000 mm³ and 7.85 g after insertion and cold reopen, instead of being measured as Default material at 1.29 g.
The transfer also keeps explicit body/component color, opacity and scalar PBR settings. It applies properties to the actual imported body names after collision resolution. Custom materials with conflicting names get separate definitions; equal density alone does not make differently named materials interchangeable.
Update Links propagates source-only material/appearance edits even when the geometry is unchanged. Last-inherited values and a compact custom-material fingerprint distinguish those edits from local assembly overrides, which remain intact. The baseline survives Save As and relink. Old links recover missing assignments on Update Links while keeping explicit assignments.
One pending-format note records the new link baseline. Full engineering cards remain in the design's material library, not duplicated per body. The two UI test-file edits only adapt DesignLink fixture constructors. A static path-safety test now handles Windows CRLF when finding its test-module boundary.
The kernel, geometry conversion, renderer, material catalogue and dependencies are unchanged.
Validation
Commands were run through the existing supervised ci-profile environment with --locked:
The heavy joint matrix was explicitly skipped. Full workspace CI, wasm and UI test suites were not run. Appearance coverage verifies stored/evaluated properties through cold reopen. Native app captures below additionally show body/face colors and the physical-property readout. Scalar PBR preservation is verified by API readback; per-face PBR is not claimed.
Native app evidence
Captured from the exact published head 0a0af2def2739e84d69fb00f975d84e6d0e504ef, built through the existing supervised ci-profile environment (desktop app build passed). The test used isolated diagnostic app profiles and only a synthetic 10 × 10 × 10 mm cube.
Source, insertion and fresh-process reopen all report Steel / 7.85 g/cm³ / 7.85 g / 1,000 mm³, with a 10 × 10 × 10 mm bounding box. The window captures show the same blue sides and orange top. The API readback also retains the complete body PBR values and top-face opacity (0.649999976, within 1e-6 of 0.65).
Source design
Linked insertion
Saved assembly reopened in a fresh app process
These are actual unedited native app captures. The failure on official 0.24.0 is documented numerically in #7609; these images show the fixed source/insertion/reopen sequence. They do not claim a before/after renderer benchmark or per-face PBR coverage. The user's installed app, documents and profiles were not used.
Integration status
Rebased without conflicts onto main 9cba66c. Focused tests were repeated after integration on head 0a0af2def2739e84d69fb00f975d84e6d0e504ef: 29 passed, 0 failed (3.76 seconds). The earlier Clippy result is from the pre-rebase fix tree; the Git contents of this PR's eight changed files are identical before and after the rebase (checkout line endings were normalized).
Checked every page of the open issue/PR lists before publication. No equivalent linked-material fix was found. Related work is separate: #5674 optimizes Update Links, #5449 shares linked-design loading/path-state handling, and #3512 handles cross-design copy/paste. #5674 and #5449 overlap component_link.rs and should preserve the property transfer/baseline when integrating whichever lands second.