Skip to content

Support DXF and IFCCAD XREF source descriptors - #31

Merged
HakanSeven12 merged 4 commits into
HakanSeven12:mainfrom
BjornFidder:xref-source-formats
Nov 24, 2026
Merged

HakanSeven12 merged 4 commits into
HakanSeven12:mainfrom
BjornFidder:xref-source-formats

Conversation

@BjornFidder

@BjornFidder BjornFidder commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

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, WASM serde,mline-pilot library 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.

@BjornFidder
BjornFidder marked this pull request as ready for review November 23, 2026 10:29
@HakanSeven12
HakanSeven12 merged commit f274f37 into HakanSeven12:main Nov 24, 2026
4 checks passed
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