Skip to content

Preserve full IFCCAD XREF placement across owners - #3774

Merged
HakanSeven12 merged 3 commits into
HakanSeven12:mainfrom
BjornFidder:xref-placement
Nov 27, 2026
Merged

HakanSeven12 merged 3 commits into
HakanSeven12:mainfrom
BjornFidder:xref-placement

Conversation

@BjornFidder

@BjornFidder BjornFidder commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

IFCCAD XREFs can now preserve the same full insertion transform as block references, including an oblique owner frame, signed XYZ scale and rotation, in Model, Paper and local block definitions. This contribution updates the shared Document pin and adds host regressions for those semantics. It does not change the production XREF loader or introduce a separate renderer.

The new host tests exercise nested local blocks without losing shear, attachment/overlay propagation, source refresh, dependent graphics, five grip operations with undo/redo, bounds, and offline native save/rebind. The existing XREF fixture is migrated to the matching draft profile and a grouped placement fixture is added.

Dependency: merged Document PR #33, official commit e944adc8130f0817976e885ddb6b02fd0f2d9d83, selecting staged IFCCAD 207a5ad6f24f73e1e53d994d4c3ac52d1e616ab7 and official codec f1f7a8b46c3162991a1bd95134716b0444f74ef7. All manifests and both the host and Python-plugin lockfiles use the official upstream Document source without local path overrides. The complete Document tree is identical to the previously qualified review commit 049575d1df13b89bed622c36a08d660cb1082f8b (tree f0d6a7c8986ef0108e1269dcb53b0c2230a23481). No alpha release or public Explorer deployment is included.

The lock retains wasmtimer 0.4.3 and its pin-utils dependency from the qualified embedded-host build rather than silently changing the timer dependency during the Document pin update.

Validation:

  • Both focused XREF placement host regressions passed on review pin 049575d1, whose complete Document tree matches the official merge above.
  • Full workspace qualification against Studio main 84e8993e913ab33b7a564fa45ad172aeff2ff977 and that review pin: 8,631 passed, 50 ignored, three known PDF failures. All workspace test targets compiled successfully. Own changed Rust files pass the project's Rust-2021 formatting check; no verification inputs changed during qualification.
  • After switching to the official Document pin, all 11 native-save/source regressions passed across ifccad_xref, ifccad_xref_ifccad_sources, ifccad_xref_source_formats and xref_resource_scopes. The separate Python-plugin lock also passes locked/offline dependency resolution. The earlier Python host CI failures were caused by the stale separate plugin lock, which is corrected here; fresh CI results remain separate from these local checks.
  • Earlier paired native/Document qualification includes strict JSON/CBOR and physical DWG/DXF readback, native full gate, and eight Document native/WASM configurations. User review and an actual embedded web-host smoke test passed on that paired implementation. These are retained implementation evidence, not a claim that the newly pinned web host has been rebuilt.
  • Three PDF image/OLE regressions also fail with the unmodified upstream dependency pair; these pre-existing failures are outside this XREF contribution. Existing upstream formatting/Clippy advisories are likewise recorded separately. The full Studio workspace is not claimed all-green.

The wider shared-file-source follow-up is a separate slice; the unpublished profile/release will be qualified jointly before deployment.

@BjornFidder
BjornFidder marked this pull request as ready for review November 27, 2026 16:34
@HakanSeven12
HakanSeven12 merged commit 9274eed into HakanSeven12:main Nov 27, 2026
6 of 8 checks passed
@BjornFidder
BjornFidder deleted the xref-placement branch November 30, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants