Skip to content

Preserve full XREF placement across Model, Paper and local blocks - #33

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

Copy link
Copy Markdown
Contributor

XREFs with oblique normals, signed nonuniform XYZ scales, or Paper/local-block ownership were previously omitted by the IFCX mapping. Preserve them through the existing INSERT/OCS conversion and the staged native block-transform contract. Keep nested structure and source identity rather than flattening geometry.

  • Traverse Model, Paper and local/unused block definitions for source relationship types and dependency counts.
  • Write one FileDepList record per native source across Attach/Overlay aliases; count matching CAD aliases on stateless readback without merging their identities.
  • Diagnose INSERT setter projection explicitly. Existing array/attribute and typed non-DWG-source CAD-delivery limits remain.
  • Add compact physical DWG/DXF regressions with independent three-axis witnesses, strict native JSON/CBOR readback, and a review-file generator. Active IFCX fixtures move to profile 0.13.0.

Native staging and pins

IFCCAD main commit 207a5ad6f24f73e1e53d994d4c3ac52d1e616ab7 stages the unpublished profile 0.13.0 / CBOR 13 contract. This PR pins that exact reachable commit. It retains current upstream codec f1f7a8b46c3162991a1bd95134716b0444f74ef7. No local source overrides are committed or required. A prior review bootstrap commit supplied the native workspace mapping during staging; this head now has the final native pin.

No alpha release or public Explorer deployment is included. The later shared file-source migration is a separate contribution planned for the same unpublished draft/release. Studio integration follows this PR's official merge.

Validation

  • All six native configurations pass: default, serde, serde+ifcx, serde+mline-pilot, selection, selection-storage.
  • Both wasm32 checks pass: selection-storage without default features and the serde+mline-pilot host configuration.
  • Physical DWG/DXF XREF readback and native production-reader validation pass on the real Git pins; no native path patch is active.
  • The staged native workspace passes its complete audit/fmt/Clippy-with-denied-warnings/test gate. User placement review accepted.
  • Paired Studio refresh, graphics/bounds, Model/Paper/local-block grips, undo/redo and offline rebind tests, plus actual browser source picking/reload/edit/export-refusal smoke, passed on the preceding explicit development pair. Those results do not claim a newly rebuilt host on this PR head; official-merge application integration remains separate.

@HakanSeven12
HakanSeven12 merged commit e944adc into HakanSeven12:main Nov 27, 2026
4 checks passed
@HakanSeven12

Copy link
Copy Markdown
Owner

Reviewed and merged in e944adc. The full test suite with serde,ifcx,mline-pilot passes on the merge, including the four XREF test files. OCS picks it up with the next opencaddocument pin bump.


🤖 Generated with Claude Code

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