Repository navigation
Re185 wall function - #798
Merged
Merged
Conversation
7 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 19, 2026
…ts with -f r2025=true (#766) (#356) (#805) ## Summary Measure can now score puzzbobb's 23 purpose-made Revit 2025 models (`R2025_Models.zip`, #356) against Revit's own IFC4 exports of them, with `-f r2025=true`. Ticks #766's third item. ## Motivation Several findings rest on these models: the roof planes of #356, the stairs of #357, the wall parameters of #798 (RE-185) and #35. Until now they could only be measured on the contributor's machine. Their author made them and released the `.rvt` and `.ifc` files under Apache-2.0 on #356 (2026-10-05). He posted the archive's SHA-256, which `research/r2025-models.tsv` pins. ## Changes - `research/r2025-models.tsv`: the archive's URL, SHA-256 and size, and its licence. - `tools/ci/fetch-r2025-models.sh`: downloads the archive, checks its hash and size, and extracts its `.rvt` and `.ifc` files into `models/r2025/`. It exits 1 on a mismatch and 2 when the archive cannot be downloaded. - `tools/ci/measure-reference-models.sh`: each `models/r2025/*.rvt` joins the model list as `r2025-<name>`, with its export beside it, or `-` for the one model without one. - `.github/workflows/measure.yml`: the `r2025` input and its fetch step. A download failure is NOT MEASURED; a mismatch fails the run, as for the BIM4LCA models. - `docs/reference-models.md` and `CHANGELOG.md`. ## Testing - **Local checks of the fetcher**, against a local copy of the archive: - the pinned archive gives 23 `.rvt` and 22 `.ifc`, exit 0; - a wrong hash gives exit 1 and extracts nothing; - a missing archive gives exit 2. The model-list hook gives 23 entries, with `07_1Slope_ArrowDefined_2Cut50mmFascia` marked as having no export. `bash -n` and `shellcheck` pass, and the workflow parses. - **On the runners**, Measure run [39175059258](https://github.com/DrunkOnJava/rvt-rs/actions/runs/39175059258), dispatched from this branch with `-f r2025=true`, `#798`'s head and its probe: - all 23 models were fetched, verified and exported, every `rvt-ifc` exiting 0; - every scorer ran on the 22 with an export. The probe reproduces #798's tables exactly: - **RE1 Architecture:** 8 walls; `IsExternal` equal on 8; `ExtendToStructure` on 7 (the curtain wall has none). - **R2025 models:** 21 models with 117 walls; `IsExternal` 117 true and equal on 117; `ExtendToStructure` 32 true, 85 false, equal on 117. - **Windows of models 12 to 17:** the `0.5h` table entries are 12482 × 18 and 12220 × 9. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 - [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content - [x] No file is committed. The models are fetched for a run by their pinned hash. They are the contributor's own, under Apache-2.0 by his statement on #356. ## Breaking changes None. Without `-f r2025=true`, Measure runs as before.
This was referenced Oct 19, 2026
…tendToStructure its roof attachment (RE-185) (DrunkOnJava#798)
DrunkOnJava
force-pushed
the
re185-wall-function
branch
from
October 19, 2026 00:22
5fae100 to
15acb19
Compare
Owner
|
Thank you, and it reproduces. #805 pinned your
I've landed it as one commit authored by you, rebased onto
The probe and the report are otherwise byte for byte yours. It lands once CI is green. |
Owner
|
Landed as 3316cb1, with you as the author. Thank you. The wall Function and roof-attachment readings are now on |
6 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 19, 2026
## Summary Prepare v0.6.0. Merging this is not the release: the release is the signed `v0.6.0` tag on the merged commit, after the maintainer's go-ahead. This stays a draft until then. ## Motivation Since 0.5.1, `main` has: - **IFC4's own property sets (#822):** the IFC2X3 sets 0.5 took from Revit's exports of the RE1 models are gone or moved to where IFC4 and Revit's own IFC4 export put them (#825, #829, #833), and Measure checks every export's standard property sets against buildingSMART's published IFC4 property set definitions (#826). That is rvt-rs's own check: buildingSMART's Validation Service has not been run on the exports, and quantity sets are not checked. - **More of what Revit's exporter writes:** parameters named for an IFC4 property set's property (RE-194, #815, #817/#821), each element's `IsExternal` (RE-193, #814), a type's Fire Rating (#830), a door's overall size (#788), Revit 2024 Areas as spaces (#811), port types and electrical flow directions (#832), rooms with no number (#818), pieces' property sets (#819), a room's floor finish in IFC4's set (#820). - **Older and newer releases, experimentally:** Revit 2015 to 2022 (#742) and 2027 (#740) element records. - **Fixes:** Export to IFC As on fixtures, stairs, doors, curtain walls and wall sweeps (#796, #804, #812, #813), the latest copy of an element's or type's data (#803, #809), declared ElementIds (#797), diagnostics naming the file, not its folders (#785), the browser viewer's wasm32 string-length panic (#835), and `rvt-inspect`, `rvt-corpus doctor` and the viewer's File Status taking Revit 2015 and 2027 as releases rvt-rs reads (#838). - **CI and release:** IfcOpenShell 0.9.0.post1 (#795), Rust installed with rustup (#793), a tag publishes nothing until the maintainer approves it (#786, #787), and Measure's office, R2025, paired-probe and per-sample hashing (#790, #799, #805, #806). ## Changes - **Versions 0.5.1 → 0.6.0** in the nine files that carry them: `rvt`, `rvt-py` and its pin, `rvt-wasm`, the `stream_evidence` pin, `CITATION.cff` (with `date-released`), `.release-please-manifest.json`, `viewer/package.json` and both lockfiles' workspace entries. - **CHANGELOG:** `[0.6.0] — 2026-10-19`, with an introduction, **Upgrading from 0.5** (the property sets that moved, the public API changes, the releases that now export elements) and the outside contributors credited: puzzbobb (#740, #742, #798), Erry91 (#788) and MadsHolten (#835). The section's headings were already single; its 41 entries are all kept, with #835's and #838's added. Its introduction says the property sets match buildingSMART's published IFC4 definitions by rvt-rs's own check, as does the README's release summary. - **README:** "Release 0.6.0 and main" names v0.6.0 and summarises what it added. The lines that said `main` reads Revit 2015 to 2022 and 2027 now say experimental (since 0.6.0). The opening and "Not yet" lines name those releases, and so does the capability table. The bullet list of what 0.5.0 added is gone; #832 had put 0.6.0's port types in it. As Codex found, the IFC4 export row, the viewer paragraph and the decoder-work paragraph also said 2022 and earlier export only the scaffold, and the by-input table skipped 2014; they name 2015 to 2022, 2026 and 2027 now. - **Witnesses:** the IFC header carries the version, so both Core Interior `rvt-rs.json` observations and their verdicts are refreshed from this pull request's CI run. ## Testing - CI on this pull request, the witness replays included. - Measure on `main` at 23a9d76, which is everything in this release but #835's wasm32-only fix and #838's CLI and viewer version range, neither of which changes an export: run [39273188597](https://github.com/DrunkOnJava/rvt-rs/actions/runs/39273188597). All 89 exports (the reference models, both BIM4LCA office files, Autodesk's 58 sample projects and the 23 R2025 models) have no finding in Measure's IFC4 property set check (#826, against buildingSMART's published definitions), and IfcOpenShell's schema validation finds nothing on any of the 89; none was too large to validate. - Witnesses: both Core Interior observations and verdicts are taken from this pull request's CI run 39275014518; only `witness_version` and the verdict hashes differ, and CI's replay on b82c0c3 passes. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 - [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content ## Breaking changes See **Upgrading from 0.5** in the CHANGELOG: standard property sets moved to IFC4's, and five public API changes. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Version and documentation-only release prep with no runtime code changes in this PR. > > **Overview** > **Bumps the workspace from 0.5.1 to 0.6.0** across `Cargo.toml`, `rvt-py` / `rvt-wasm` / `stream_evidence` pins, lockfiles, `viewer/package.json`, `.release-please-manifest.json`, and `CITATION.cff` (release date 2026-10-19). > > **Documents the release:** adds the `[0.6.0]` section to `CHANGELOG.md` (IFC4 property sets, broader Revit export parity, experimental 2015–2022/2027 element export, wasm viewer fix, and **Upgrading from 0.5** breaking notes). **README** now treats v0.6.0 as the current release—updates the support matrix and “Release 0.6.0 and main” to describe shipped capabilities instead of the old 0.5.1 bullet list. > > No application or library source changes in this diff; it packages and narrates work already on `main`. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit c8826b82982270fd4f47b8da656f2e3e6021c76b. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
Owner
|
RE-185 is in v0.6.0's research notes, and 0.6.0 writes each wall's |
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.
Summary
Research for #35 (B28 walls, B42), as RE-185. A wall's
IsExternalis its type's nativeWallType.m_function, and itsExtendToStructureis true exactly where its record holds aJoinToRoofGStep. A window'sFireRatingis a family-type text parameter that RE-77's id-first scan does not read. Probe and report only; no library change.Motivation
RE-158 found no wall type entry for
IsExternal, and RE1's walls are all false, so nothing told the candidates apart. RE-154 left B42 waiting for a model with a longer fire rating. The maintainer asked on #35 for the patch attached there to be opened as a PR, renumbered from RE-172 (which is #751) to RE-185.Walls. Both values come from native records:
IsExternalis the type'sWallType.m_function(0 Interior, 1 Exterior, the enum of the doors'FUNCTION_PARAM). The type comes fromSWall.m_WallAttributesId.ExtendToStructureis true exactly where the wall's record holds aJoinToRoofGStep.IsExternalT / FExtendToStructureT / FR2025_Models.zip(#356), 21 modelsNone differs from Revit's IFC4 export.
B42. Of RE-154's four ids, RE-77 already names -1001206 Fire Rating (from the VIM export) and reads RE1's 7 walls from it. rvt-rs carries the value on each wall, but writes it only in its own identity set, not as
Pset_WallCommon.FireRatingorPset_ConcreteElementGeneral.FireRating, the 14 values B42 counts.Family-type text. A window's
FireRating(0.5h, models 12 to 17) is a family parameter namedFire Rating. It is an entry in the family types' parameter table,u32 n · UTF-16 · (u32 0 | ff ff ff ff · u16) · f64 · ElementId · i64 parameter · u32 · u16, where the text belongs to the id after it. RE-77's id-first scan does not read it. This is measured on models 12 to 17 (report §3.3). Whether it accounts for some of the 166 rated Snowdon elements RE-77 leaves unread is unmeasured: Snowdon's export was not available.Changes
examples/probe_re185_wall_function.rs: the probe that measures every value above against Revit's IFC4 export.reports/element-framing/RE-185-wall-function.md: the RE-185 report.Testing
Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.
tools/check-local.shpasses (fmt, clippy, rustdoc, build, real-file / CLI / contract checks)Files: the RE1 Architecture model and the 21 wall-bearing models of
R2025_models.zip(#356), each with Revit's own IFC4 export.Audit-honesty checklist
examples/, with the dated finding inreports/element-framing/RE-185-wall-function.md, as recent RE PRs doLegal and contribution hygiene
CONTRIBUTING.md)CLEANROOM.md)testuser,111111,FY-20XX, etc.) and contain no real-world PII: N/A, no fixtures addedContributor declaration (CLEANROOM.md). The changes in this PR are based on byte observations of Revit files (CLEANROOM.md §Accepted sources 1), compared with Revit's own IFC4 exports of the same models: the RE1 Architecture model and the 21 wall-bearing models of
R2025_models.zip(#356), with class and member names read from each file's ownFormats/Latestschema. I have not used Autodesk SDK source, ODA SDK source, leaked internal documentation, NDA material, or decompiled internal Revit implementation code beyond public symbol exports, and I have not copied or translated code from revit-ifc.Breaking changes
None.
Screenshots or output samples
N/A: no UI or IFC output change. The probe's measured tables are above and in the report.
Related issues
Refs #35. Refs #356 (the
R2025_models.zipmodels become CI evidence once that archive is pinned).Not done:
LoadBearing(no Structural wall measured), and walls attached to floors or ceilings rather than roofs.Maintainer notes (landing)
main. The probe and the report are his. In the report, the archive is calledR2025_Models.zipthroughout, the name it has on Sloped roofs need a Revit 2024/2025 pitched-roof oracle #356. Its artefacts line notes the runner reproduction, and §6 gains the Measure command. A CHANGELOG entry under Research credits him.-f r2025=true -f probe=probe_re185_wall_function) gives the tables above exactly. RE1 Architecture: 8 and 7 equal. The 21 models: 117 walls, all equal. Models 12 to 17: the0.5hentries 12482 × 18 and 12220 × 9.