Repository navigation
fix(ifc): a door's or window's FireRating comes from its saved parameter captioned Fire Rating where its type's table gives none (#1507) - #1964
Conversation
…ter captioned Fire Rating where its type's table gives none, on Revit 2024 to 2027 (#1507)
|
Measure 43543055879, unfiltered against
|
…mpare and one-project-rules pages say what later work changed (#2132) ## Summary Six pages said things later work has changed. Each sentence now says what `main` does, worded from the report, changelog entry, workflow or code that changed it. No code, export or `diagnostics.json` changes. - **`docs/release-1.0-criteria.md`:** - BIMcollab's Revit 2015 example writes none of what Revit's export leaves out since RE-372 applied the export phase. The page said it wrote 3 more. - A plate type's `Tag` (#1594) moves from "Open" to "Closed". It has been left out since 0.18.0, because Revit's export takes it from one of the type's plates in an order no record holds. - Doors' and windows' `FireRating` (#1507) moves to "Closed" too. #1964 (0.23.0) writes it: 120 values equal from none on the 14 models Measure scores. #1507's census also names Snowdon Towers Architectural's 71 (66 windows and 5 window types), scored only against its local Revit export. On a local run of the released 0.25.0 binary, all 71 equal that export's, none different, none missing, and no `FireRating` is among the values Revit does not write. That run is local only and keeps counts only. - **`docs/export-diagnostics.md`:** `profile_stub_longer_than_the_wall_is_thick` says the stub is half the wall's thickness on 11 of the 12 walls RE-383 measured. Snowdon's wall 1996082 is the exception. The page said every stretch measured. - **`RELEASE.md`:** a hotfix branch also copies `.github/actions/fetch-re1`, which `main`'s `publish.yml` uses since 0.23.0. (0.14.1's branch carried a `publish.yml` that does not use it.) - **`SECURITY.md`:** names 0.14.1, the one patch to an older line so far: every other patch release, 0.5.1, 0.6.1, 0.12.1, 0.12.2 and 0.16.1, patched the latest line of its day (0.16.1 was published nine hours before 0.17.0). It was made for users who compare output exactly (#1808), it carried the rmcp 3.9.0 update (RUSTSEC-2026-0462), and it did not make the 0.14 line maintained. - **`docs/ifc-compare.md`:** the paragraph saying the shipped note strings lag the table named lags that are gone. `catalogued_divergence_notes` in `src/ifc/compare.rs` quotes neither "31 over-trimmed wall ends" nor #219, and the table matches every note but one. That one, `IFCSPACE`'s, says a room whose solid does not close keeps its bounding box; from Revit 2023 such a room is drawn from its saved mesh. The table row now gives a room's readings in `docs/rooms.md`'s order (faces or edges, then from 2023 the saved mesh, then the box), and the paragraph names that note and #2130, where the code string is tracked. - **`docs/one-project-rules.md`** (hand-written; no tool generates or checks it): BIMcollab's example is local only, never stored or committed, but unlike Snowdon Towers and the MIT models it is not measured on this machine alone. Measure fetches it and its Revit export from their source with `-f bimcollab=true` and keeps summary counts, so a rule resting on it is measured in a run. The page said its export cannot be fetched by Measure. Its four rows keep the label "local only", as `docs/reference-models.md` uses it. ## Motivation A read of the public pages against `main` at `166f945b`. Each finding was re-read against its source before any text changed: RE-372, RE-383 and RE-288; the 0.14.1, 0.18.0 and 0.23.0 changelog entries; #1507's census and #1964's results; the release list; `publish.yml`; `compare.rs` against the table; and `measure.yml`. Left out: `CLEANROOM.md` says every revit-ifc finding is checked against Revit's own export before it lands, and RE-288's status says its exterior members' values rest on revit-ifc's source. Other reports citing revit-ifc are not yet read for the same. Changing that rule's wording is the maintainer's call, so it is not in this PR. The same "every stretch measured" line in `src/ifc/export_content/wall_profile.rs`'s module doc is left for a code change. ## Changes - `docs/release-1.0-criteria.md`, `docs/export-diagnostics.md`, `RELEASE.md`, `SECURITY.md`, `docs/ifc-compare.md`, `docs/one-project-rules.md`: the sentences above, nothing else. ## Testing Unit tests are banned in this repository: do not add them. - [x] `python3 tools/ci/measured_numbers.py` passes with the same counts as on `main` (287 of 305 numbers name a model, 9 marked as no measurement). - [x] `tools/ci/api-doc-ids.py` passes. - [x] No Measure run: no code changes. ## Audit-honesty checklist - [x] Each changed sentence agrees with the report, changelog entry, workflow or code it names. - [x] No changelog fragment: a documentation correction. - [x] No emojis, private paths or internal jargon. ## Legal and contribution hygiene - [x] Apache-2.0. - [x] No Autodesk proprietary content. - [x] No fixtures. ## Breaking changes None. Review: rvtReview, the maintainer session, wrote this change. As rvtDevelop is not running, it re-reads the diff and approves the change itself on a green head (Griffin, 2026-11-12).
Summary
A door's or window's
FireRatingnow comes from its saved parameter captioned "Fire Rating" (its own value first, then its type's) where its type's family type table gives none, on Revit 2024 to 2027. puzzbobb's Revit 2025 window types hold their0.5hthat way, and Revit's export writes it asPset_WindowCommon.FireRating, which rvt-rs leaves missing (4 on each of models 12 to 17, #1507).Motivation
#1730 read the family parameters named Fire Rating through RE-354's type-table scan, and it moved nothing on 126 models: the value doesn't reach those windows through the tables. The batch 10 triage of #1507 pointed at the other reader: the saved parameters (RE-207) already hold it for model 12's window type. This takes it from there.
Changes
partition_schema_mvp/parameters.rs,attach_saved_fire_ratings: for the doors and windows with no type Fire Rating, onenative_element_parameters::read_property_valuespass that reads only records holding a definition captioned Fire Rating. The value is attached as the samem_type_parameter:Fire Ratingfield the type-table scan gives, so the export's existing rule writes it after a parameter named for the property (named_parameter_properties).fields.rs:FIRE_RATING_CAPTIONandSAVED_FIRE_RATING_REVIT_VERSIONS(2024 to 2027).Testing
Measure 43543055879, unfiltered against
main, with nordic, r2025, samples and holdout. Registered before it runs:Pset_WindowCommon.FireRating(andPset_DoorCommon.FireRating) equal rises on the R2025 models 12 to 17, with "different" and "values Revit does not write" unchanged on every model.If any value comes out different, or written where Revit writes none, the rule is narrowed or dropped before this leaves draft.
Measured (43543055879):
120
FireRatingvalues go from missing to equal: 4 on each of the R2025 models 12 to 17, 13 on each held-out house pair and 11 on each held-out office pair, 2024 to 2027.differentand "rvt-rs values Revit does not write" are 0 on every model.Snowdon Towers Architectural's 2024 sample also moves (+7 property sets in
schema.txt), and no Revit export scores it.same-project gatespasses.tools/check-local.sh: no local builds;rustfmt --checkpasses; CI runs the rest.Audit-honesty checklist
Legal and contribution hygiene
Part of #1507.