Repository navigation
fix(ifc): --saved-meshes keeps to the releases it read before the native path took 2025 and 2026 (B77) - #677
Merged
Merged
Conversation
…ive path took 2025 and 2026 (B77) #676 opened native_document::extract to Revit 2025 and 2026 after its framing checks held there. saved_meshes::attach reads each element's saved scene through it, so rvt-ifc and rvt-gltf with --saved-meshes would now draw 2025 and 2026 family instances from scenes no run has compared with Revit's export (RE-78 measured 2024 only). Until that is measured (B77), attach declines those releases and the export keeps its bodies, saying so ("saved graphics not read, bodies unchanged"), as it did before #676.
DrunkOnJava
added a commit
that referenced
this pull request
Oct 4, 2026
…679) BACKLOG.md: statuses for B45, B46, B54, B55, B56, B60, B64, B68, B70 and B71; new rows B72 to B77; the afternoon's progress log (red and green runs, Measure evidence, the B38 and B47 findings, rule notes). CHANGELOG.md [Unreleased] stopped at #592 (B76). It now has an entry for each user-visible change since, through #677, grouped as the file groups them (Added, Changed, Fixed, Research). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Markdown-only updates to BACKLOG and CHANGELOG; no application, test, or CI logic changes in this diff. > > **Overview** > **Documentation-only (B76):** brings maintainer backlog and public release notes in line with session 3 work already merged in other PRs—no runtime or exporter code changes. > > **`BACKLOG.md`** updates the ranked table (e.g. B45–B46, B55–B56, B60, B64, B68–B71 marked **done**; B47 **blocked** on MEP-sample evidence; B54 **in progress** on #673). It adds backlog rows **B72–B77** (type GlobalIds, `typed-no-geometry` gap, 2024 ordinals, changelog debt, `--saved-meshes` gating). A new **Session 3, afternoon** progress log records PRs, CI runs, Measure evidence, and rule notes; **Findings** are revised (B38 phase refutation, B55 opening, B74/B77). > > **`CHANGELOG.md` `[Unreleased]`** is extended from #592 through **#676**: **Added** (wall-profile opening, native 2025/2026 + phases, railing types, duct/pipe end ports, type GlobalIds, curtain doors/materials, space containment, MEP systems, parameters/CLIs, etc.), **Changed** (single export walk B71, MEP export perf B70, witness slim step B27), **Fixed** (`--saved-meshes` scope B77, `rvt-write` B69, diagnostics B49), and **Research** entries for RE-155–RE-168 and corpus pins. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 5f1e5fe. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
DrunkOnJava
added a commit
that referenced
this pull request
Oct 4, 2026
…(B77) (#683) #677 kept --saved-meshes to 2023, 2024 and 2027 until the newer scenes were compared with Revit's export. They now are. Measure run 37231768480 ran rvt-ifc --saved-meshes and saved_meshes_vs_ifc (RE-78's scorer) on RE1's four Revit 2025 models: | model | replaced | within 0.01 ft of Revit's box | |---|---:|---:| | RE1 Mechanical | 68 | 68 | | RE1 Plumbing | 41 | 41 | | RE1 Electrical | 49 | 47 | | RE1 Architecture | 56 | 51 | That is 207 of 214, above RE-78's 2024 rate on Snowdon. All ten 2025 and 2026 sample projects export with the flag (run 37230814637). The gate is removed: the flag reads every release the native record path reads. README and the supported profile carry the RE1 numbers. The second commit lets Measure pass rvt-ifc flags (input ifc_flags) and adds saved_meshes_vs_ifc to its scorers, so this measurement can be repeated. Since it touches the workflow, Measure runs on this PR. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Changes are opt-in CI flags, documentation, and removal of an artificial version gate after validation; default exports and behavior without `--saved-meshes` are unchanged. > > **Overview** > **`--saved-meshes`** no longer rejects Revit 2025/2026: the version check in `saved_meshes::attach` is removed so saved display meshes can run on every release the native reader already supports, now backed by RE1 (2025) measurements (**207 of 214** within 0.01 ft of Revit’s export). > > The **Measure** workflow gains an **`ifc_flags`** input (e.g. `--saved-meshes`) wired through **`RVT_IFC_FLAGS`** into `measure-reference-models.sh`, and **`saved_meshes_vs_ifc`** is added to the IFC scorers so that comparison can run in CI. README and **`docs/supported-profile.md`** document the new RE1 saved-mesh counts alongside Core Interior and Snowdon. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 0318b7f. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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.
#676 opened the native record path to Revit 2025 and 2026. saved_meshes::attach reads saved scenes through it, so --saved-meshes (opt-in, experimental) would now replace 2025/2026 family-instance boxes with scenes no run has compared with Revit's export (RE-78 measured Core Interior and Snowdon, both 2024). attach now declines releases other than 2023, 2024 and 2027, which is exactly the set it read before #676; the export keeps its bodies and says why. Measuring the saved scenes on RE1 (2025) and the 2025/2026 samples is B77.
No new test: this restores the behaviour before #676 on an opt-in path, and a test of the release list would only detect the change.
Note
Low Risk
Low-risk guard on an opt-in experimental path; it only rejects previously unsupported 2025/2026 behavior rather than changing default export.
Overview
Restricts
--saved-meshesto Revit versions whose saved graphics were validated against export (2023, 2024, 2027).saved_meshes::attachnow readsbasic_file_info().versionand fails early withsaved graphics are not measured on Revit {version}for any other release. That blocks 2025 and 2026, which the native reader can open since #676 but whose saved scenes are not yet benchmarked (B77); those files keep record bounding-box bodies instead of swapping in unmeasured meshes.Reviewed by Cursor Bugbot for commit 85db455. Configure here.