Repository navigation
Load DXF and IFCCAD XREF sources in native drawings - #3511
Merged
Merged
Conversation
BjornFidder
marked this pull request as ready for review
November 23, 2026 13:02
HakanSeven12
pushed a commit
that referenced
this pull request
Nov 24, 2026
…escriptors (#31) Replaces the review pin of #3511 with the merged commit in every manifest and lock file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Caxnfk2dNQgRSYSgRP1Nt
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.
Opened IFCCAD hosts can attach, retain and reload DXF and IFCCAD XREF sources alongside DWG. Reload validates declared format, source base and units before replacing graphics; a failed replacement keeps the previous body. Saving an open source refreshes its native host through the existing source-save notification route.
This follow-up builds on merged #3379 (
8aa07b24); its verified review head incorporates Studio base1cab9bc1c, retaining upstream's new source layout, plugins and UI dependencies. The exact paired Document#31 review pin is e43a079e69ca1abf244d550409d80b22b5d21da6, staged native maincd79dfc8, official codec14f7da10. Host and standalone Python locks resolve the same public graph; no path override is submitted. Before merging this PR, switch to the official Document#31 merge and requalify that exact graph.Native source reading uses the strict production JSON/CBOR reader. Source origin/unit are retained without inventing a GUID.
Typed DXF/IFCCAD attachments require an opened native host; CAD-only tabs refuse before mutation. DWG/DXF destinations refuse non-DWG source types independently of their filename.
A native source with its own external-source registry, direct self-reference or an unsupported encoding fails before graphics replacement.
Source associations and metadata survive native save/readback. File-based and registered/browser bytes share the same source reader and retained session rules.
The original reviewed development pair passed desktop source edit, placement grip, undo/redo and fresh-process offline readback, actual browser source choice/reload and tab isolation, and the user's DXF/IFCCAD manual trial. Those old reader/browser binaries retain their recorded pins; this refresh is qualified separately against the current source/dependency graph.
Refreshed first-slice qualification:180 XREF tests and20 save/readback tests pass against official Document663bc3a. Final source-format qualification follows below. Browserhost and worker compile together for WASM/release with the same public pair; the existing WASM cache/profile is preserved. Shared worker protocol7 and main open/save/backup encoding policy are unchanged.
Known upstream lint limitation: workspace Clippy exits101 on
crates/ocs_geom/src/geom2d/intersect.rs:603,clippy::approx_constantfor deliberate near-PI input3.14. The file's blob67abf426 is identical to current upstream1cab9bc1c. Upstream explicitly treats lint as informational; no unrelated numerical test is changed and no Clippy pass is claimed.No schema change, recursive native sources, source packaging/conversion, remote fetching, SHX/CTB/STB migration, Zstd source decoding, release or deployment is included in this refresh. Ready for review after #3379 merged and every CI check on this head passed. Document#31 remains an explicit dependency; the official pin transition is required before merge.
Final refreshed qualification:
cargo test --workspace --lockedpasses (7864 passed, 50 intentionally ignored,0 failed; application library6829 passed).cargo check --locked --release --target wasm32-unknown-unknown -p OpenCADStudio -p ocs_web_workerpasses. Exact graphs, source/config/tool hashes and logs are recorded locally. Full GitHub CI restarts for this public head; no Clippy success is claimed.Review and merge status — 23 November
Original Studio#3379 has merged at8aa07b24. This PR is ready for parallel review: all current Linux/Windows tests, WASM, MCP and Python-host CI jobs passed. Its unchanged source head remains03212cec1, locally qualified by7864 workspace tests and the matching host/worker WASM check. A merge-tree check against current Studio main0f00b8c2c is conflict-free; this check does not claim new runtime qualification of unrelated newer main changes.
Document#31 is still open and green. It can be reviewed in parallel; this PR must wait for the following before merging:
Changing draft status does not remove these merge prerequisites. No source, dependency pin, release or deployment changes are made by this review-ready update.