Skip to content

fix(elements): a roof by extrusion is read on Revit 2024, 2026 and 2027 as on 2025, held to the same project's 2025 save, and the cross-save check's list of roofs that may differ is empty (#1479) (RE-458) - #1931

Merged
DrunkOnJava merged 9 commits into
mainfrom
fix/1479-roof-extrusions
Nov 13, 2026

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

A roof by extrusion is drawn as its sketch's section on Revit 2024, 2026 and 2027 as on 2025, and the cross-save check's list of roofs that may differ from the 2025 save is empty. rac_basic's roof 243274 is the only one of the 146 models of an unfiltered Measure that changes, on its 2024, 2026 and 2027 saves.

Motivation

#1479: the release list of the B-spline reader (SKETCH_SPLINE_SUPPORTED_REVIT_VERSIONS) held [2025], where RE-211 measured it, so a roof by extrusion was its saved mesh (its record box before #1191) on every other release. The issue named two roofs, 243274 and rac_advanced's 201262, and asked for the list to be widened where the same project's 2025 save holds each roof per element. The pair runs of probe_1864_body_diff (#1864) show only the first is held by the list: 201262 is partition_roof_slope on the 2025 save and a saved mesh on 2026 and 2027, equal to the 2025 body in volume to 0.1%, and lifting the RE-341 hold on those releases changed no body. The rows were registered on #1479 before each run.

Changes

  • src/research/partition_beam_axes.rs: the list is [2024, 2025, 2026, 2027]; its documentation says which release was measured against Revit and which are held to the 2025 save. The roof reader's documentation (roofs.rs) says so too.
  • tools/re/readers_across_saves.py: ROOFS_NOT_THE_2025_BODY is empty, since 243274 was its last entry and the check fails a pinned roof that becomes the 2025 body; tools/ci/check_same_project_projects.py holds the list to the entries it held, so an empty one passes.
  • probes/examples/probe_1864_body_diff.rs and the element diff's digest (src/ifc/element_diff.rs: only the body the writer draws), which the pair runs used.
  • Documents: README.md, ROADMAP.md, docs/status.md (an RE-458 entry and the roofs paragraph), docs/maintaining.md, docs/evidence.md, docs/supported-profile.md, docs/library.md, docs/contribution-map.md (Roofs by extrusion are solids only on Revit 2025: read them on 2024, 2026 and 2027, held to the 2025 save #1479 leaves it), reports/element-framing/RE-458-roofs-by-extrusion-2024-2026-2027.md and changelog.d/fixed/1479-roofs-by-extrusion.md.

Testing

Unit tests are banned in this repository; the change is measured end to end.

  • tools/check-local.sh passes (fmt, clippy, rustdoc, build, real-file / CLI / contract checks)
    • Run by this PR's CI (full / CI passed), not on this Mac. Run locally: rustfmt --edition 2024 --check on the two Rust files, tools/ci/check_same_project_projects.py, tools/ci/api-doc-ids.py, tools/ci/measured_numbers.py, tools/release/changelog.py check.
  • Verified end to end on real Revit files: the command, the files (and their licence), and the measured result against Revit's own export are in the PR body, with the script or probe that reproduces it
    • Autodesk's rac_basic, rac_advanced, rme_basic, rme_advanced and rst_basic sample projects, saved by Revit 2024 to 2027 (research/autodesk-sample-projects.tsv), no Revit export of any of them. Pair runs of probe_1864_body_diff (the 2025 save against the 2024, 2026 and 2027 saves), before and after the list: 243274 is listed in all three pairs before and in none after, and nothing else changes in any of the 5 projects (RE-458 section 2).
    • Unfiltered Measure 43477851375 (146 models, every flag): 3 exports differ, rac_basic 2024, 2026 and 2027, and diagnostics.json the same three; no other model moves (the BIM4LCA models, Snowdon Towers, Core Interior, RE1, puzzbobb's 24 Revit 2025 models, the held-out and BIMcollab models). The cross-save census of the 2026 and 2027 saves goes from "same 440, differ 1" to "same 441, differ 0". That run used main's scorers, which still pin the healed roof, so its same-project gates check failed as designed; 43482212285 is the samples rerun with this branch's scorers at ae9870a9: its same-project gates check is a success (the 15 saves of 2025 to 2027 and the two Areas checks PASS), and rac_basic's 2026 and 2027 census reads "same 441, differ 0 ... roofs drawn otherwise as pinned 0 of 0 expected". One roof exercises that gate (243274, the only roof by extrusion of the samples on a release this change opens). The commits after ae9870a9 are documents only.
  • If this touches the IFC exporter: the witness verdicts replay (see CONTRIBUTING.md) or the changed observations are refreshed in this PR
    • No committed witness observation covers a 2024, 2026 or 2027 roof by extrusion: the exports that change are the three rac_basic saves, and Core Interior's is byte for byte as before (the verdict replay is in CI).
  • If this is a performance change: reran tools/bench.sh and attached the before / after
    • N/A: not a performance change.

Audit-honesty checklist

  • README / docs reflect the current state after this PR — no claims of features that are not actually shipped in this PR
    • Where a document said a roof by extrusion is read on Revit 2025 only, it says 2024 to 2027, with the witness named.
  • A user-visible change has its entry as a fragment under changelog.d/<section>/ (see changelog.d/README.md), not in CHANGELOG.md
    • changelog.d/fixed/1479-roofs-by-extrusion.md.
  • If a limitation was resolved, the "Known limitations" / "What works today" section in the relevant docs is updated
    • README, ROADMAP, docs/evidence.md and docs/library.md no longer list roofs by extrusion outside Revit 2025 as not decoded.
  • If a new limitation was introduced, it is documented in the PR body and in-code
    • The 2024, 2026 and 2027 roofs by extrusion are checked against the same project's 2025 save alone, which cannot catch an error both saves share (RE-458 section 6, docs/status.md).
  • Commit messages describe WHAT changed and WHY, not "fix things" or "updates"
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • If this is a reverse-engineering finding: a reproducible probe under probes/examples/ and a dated addendum to docs/format-reconnaissance.md are included
    • probe_1864_body_diff and reports/element-framing/RE-458-roofs-by-extrusion-2024-2026-2027.md.

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0 (see CONTRIBUTING.md)
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see CLEANROOM.md)
  • Any new test fixtures use synthetic values (testuser, 111111, FY-20XX, etc.) and contain no real-world PII
    • No fixtures.

Breaking changes

None. The output changes on three local files: rac_basic's 2024, 2026 and 2027 saves write roof 243274 as the 2025 save does.

Screenshots or output samples

The census of rac_basic's 2026 save, before and after:

census: 441 bodies paired by Tag with the 2025 save's: same 440, differ 1 ... roofs drawn otherwise as pinned 1 of 1 expected
census differing  IfcRoof 243274 saved_graphics_mesh here, partition_roof_extrusion in the 2025 save: volume 34.974096 here, 35.423568 there
census: 441 bodies paired by Tag with the 2025 save's: same 441, differ 0 ...

Related issues

Closes #1479. Refs #1864 (its remaining body is rac_advanced's 201262, equal in volume and box to the 2025 save, and its 12 level binds were settled in RE-454).

…whose body or profile differs, with each side's export and element record, for the 7 bodies of #1864
…er draws, so a save that differs from another only in an extrusion drawn beside a solid is not a changed element (#1864)
…7 as on 2025, to hold the roofs of #1479 and #1864 to the 2025 save per element (#1479)
…27 as on 2025, held to the same project's 2025 save, and the cross-save check's list of roofs that may differ is empty (#1479) (RE-458)
…s-save check's list of roofs that may differ is empty (#1479) (RE-458)
…e-project gates run, with the changelog entry and the status paragraph (#1479) (RE-458)
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Self-approved under Griffin's 2026-11-12 answer (rvtDevelop is in its batch 7 verifier wave), after a read of the whole diff as if another session had written it: the two src hunks (the release list and the element diff's digest, which takes only the body the writer draws), the cross-save scorer and its checker, the probe, and every document hunk. What that read checked: the release list is read by two callers only, the B-spline scan and attach_extrusion_roofs (the slope roofs do not call it), so the change reaches roofs by extrusion on 2024, 2026 and 2027 and nothing else; the one model of an unfiltered Measure that has one is rac_basic (3 of 146 exports move); and the gates run 43482212285 at ae9870a9 holds the code of this head, the commit after it being documents only (arming with --carry-proof).

@DrunkOnJava
DrunkOnJava merged commit 2b81542 into main Nov 13, 2026
36 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1479-roof-extrusions branch November 13, 2026 19:02
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.

Roofs by extrusion are solids only on Revit 2025: read them on 2024, 2026 and 2027, held to the 2025 save

1 participant