Repository navigation
Preserve RAY/XLINE through shared IFCCAD selection packages (follow-up to #34) - #1
Closed
BjornFidder wants to merge 1 commit into
Closed
BjornFidder wants to merge 1 commit into
BjornFidder wants to merge 1 commit into
Conversation
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.
Superseded by the upstream PR: HakanSeven12#36 . The PR2-only delta is now based on current official main. This temporary fork review is closed without merging.
Original review description:
IFCCAD export currently omits RAY and XLINE although DocumentSelection can store and reconstruct them. This change captures those roots alongside MLINE, restores available roots on import, and retains blocked roots through the existing editing-session context.
The private preservation implementation is shared across the three families in ModelSpace, PaperSpace and existing local block definitions. Packages containing RAY/XLINE use the versioned typed-selection profile/V4; MLINE-only packages retain their legacy provider and owner-specific storage version. Current native common properties and live CAD edits remain authoritative, and old backings cannot resurrect deleted roots. Infinite geometry remains opaque in IFCCAD without fabricated endpoints or finite bounds.
The public preserving methods, roundtrip context and
mline-pilotfeature remain unchanged. No IFCCAD schema/profile/CBOR/envelope change or native RAY/XLINE model is introduced. Complex linetypes, selected INSERTs and raw/private codec data remain outside this slice.Stacked review slice on HakanSeven12#34 (HakanSeven12#34). This review PR targets this fork's selection-generic branch at d950e72, so Files changed contains only PR2. Do not merge this review branch independently. After HakanSeven12#34 merges, prepare the PR2-only delta on current official Document main, compare all verification inputs and open the final upstream PR, linking this review. A fork PR cannot be retargeted across base repositories. No native release or Explorer publication is included.
Validation: fmt, strict Clippy, all six native feature configurations and both WASM checks passed. Focused regressions cover two save/reopen cycles in JSON and CBOR, blocked B records/backings on their own layouts/definitions, live edits and deletion, dependency return, native common overrides, atomic missing-owner failure, malformed profile/claim/owner cases, and DWG/DXF readback of current nested INSERT placements. A grouped gallery was generated and strictly reopened. The pinned native Studio protocol1 smoke passed editing/undo-redo/save/reopen with strict verification of all eight retained B roots. The pinned local embedded Explorer smoke also passed rendered grip editing, undo/redo, QSAVE, source-tab retention and fresh reopen, followed by strict saved-file verification of all eight B roots. This qualifies the explicit local development pair; it is not a published Explorer deployment.