Repository navigation
Support DXF and IFCCAD XREF source descriptors - #31
Merged
Merged
Conversation
3 tasks
BjornFidder
marked this pull request as ready for review
November 23, 2026 10:29
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.
Native IFCCAD hosts can retain typed DXF and IFCCAD XREF sources alongside DWG. DXF retains source base/unit/optional FingerprintGUID; IFCCAD uses native origin/unit without inventing a GUID. Reload/save keeps the declared format and source identity. Typed non-DWG sources explicitly refuse DWG/DXF export rather than silently relabeling them.
This follows merged #30. DXF and IFCCAD implementation changes remain separate commits. The branch now incorporates current Document main663bc3a and official codec14f7da10, retaining the staged native maincd79dfc8 contract (unpublished profile0.12.0 / CBOR12). No path override is submitted.
Validation on this refreshed pair: full
cargo test --locked --features serde,mline-pilot, WASMserde,mline-pilotlibrary check, formatting and diff checks pass. Refreshed platform CI is triggered by this update. The earlier development pair also passed strict production readback, desktop editing/undo and browser source loading; the user accepted DXF and IFCCAD sources manually.Codec/model audit: XREF/FileDependency fields are unchanged. Upstream's nine-anchor rendered MLeader mapping is retained; native raw MLeader anchor codes outside1..3 still produce an explicit unsupported-state error, with no new schema in this slice. Civil extensions remain outside native conversion coverage. Existing arc-dimension fields and IMAGE clip-mode transport fixes do not expand this contribution.
No SHX/CTB/STB migration, packaging, automatic source conversion, remote fetching, recursive native sources or Zstd source decoding is included. Shared Document serialization and the Studio worker protocol are unchanged relative to current upstream. Studio follow-up: HakanSeven12/OpenCADStudio#3511; its exact pin will follow this refreshed head before its final checks.