Skip to content

Keep IFCCAD XREFs through load, edit and save - #3379

Merged
HakanSeven12 merged 4 commits into
HakanSeven12:mainfrom
BjornFidder:ifccad-xrefs
Nov 23, 2026
Merged

HakanSeven12 merged 4 commits into
HakanSeven12:mainfrom
BjornFidder:ifccad-xrefs

Conversation

@BjornFidder

@BjornFidder BjornFidder commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Native IFCCAD DWG references use Studio's existing XREF lifecycle. An unresolved reference can be retained, resolved later and saved again without flattening its source body or rewriting its stored location.

Source byte choices and observed GUIDs stay scoped to one drawing session. The existing different-fingerprint warning policy is preserved; base/unit drift is rejected before graphics replacement. Source base and effective insertion scale are applied once. Native save, browser source selection and the matching main/worker pair share the retained source context; worker protocol7 is retained.

Dependencies #30 and codec#533 have merged. This branch now incorporates Studio main1cab9bc1c and uses official Document663bc3a / official codec14f7da10 / staged native main96895aea. Host and standalone Python-plugin locks select matching public identities; no local path overrides or generated binaries are included. The source-save refresh hook is ported to upstream's new update/file/open.rs module.

Earlier paired development qualification covered native source edit, reference grip, undo/redo, fresh-process offline readback and actual browser selection/reload, tab isolation and physical CAD exchange. The user accepted the first slice manually on20 November. Those reader/browser builds keep their recorded pins; fresh local and GitHub qualification of this refreshed branch is reported below.

The old unrelated pipe-network icon failure has been fixed in upstream and that upstream fix is included. It is not repaired separately by this contribution. Whole DWG sources and the bounded native Model placement scope are covered. DXF/IFCCAD source formats are separate in follow-up #3511 and Document#31. No release or Explorer deployment is included.

Fresh local qualification of this exact refreshed graph: cargo test --locked --lib xref (180 pass) and cargo test --locked -p ocs_save (20 pass); diff checks and both public dependency graphs pass. Full platform CI restarts with this update.

@BjornFidder
BjornFidder marked this pull request as ready for review November 23, 2026 10:39
@HakanSeven12
HakanSeven12 merged commit 8aa07b2 into HakanSeven12:main Nov 23, 2026
8 checks passed
@BjornFidder
BjornFidder deleted the ifccad-xrefs branch November 23, 2026 13:03
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