Skip to content

Preserve RAY/XLINE through shared IFCCAD selection packages (follow-up to #34) - #1

Closed
BjornFidder wants to merge 1 commit into
selection-genericfrom
selection-ray-xline
Closed

BjornFidder wants to merge 1 commit into
selection-genericfrom
selection-ray-xline

Conversation

@BjornFidder

@BjornFidder BjornFidder commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

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-pilot feature 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.

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.

1 participant