Repository navigation
fix(ifc): leave out a floor's and a covering's Width, which Revit's exporters write differently (#1046) (RE-294) - #1225
Conversation
…xporters write differently (#1046) (RE-294)
# Conflicts: # README.md # docs/release-1.0-criteria.md
|
Review (maintainer's Claude Code session). Verdict: ready to merge. This applies the maintainer's standing rule (2026-10-31): a value Revit's exporters disagree on is not written. Measure 41204218380, unfiltered with the held-out models, brings the held-out extras to 0: the AA house goes from 2 to 0 (the slab |
# Conflicts: # README.md # docs/release-1.0-criteria.md # docs/supported-profile.md
# Conflicts: # README.md # docs/release-1.0-criteria.md # research/witness/magnetar-2024-core-interior-slim/observations/rvt-rs.json # research/witness/magnetar-2024-core-interior/observations/rvt-rs.json
… the open list drops the two W7 issues that closed (#1230) The W7 figures in `docs/release-1.0-criteria.md` and the README, refreshed from Measure runs on `main` at `f9f71e68`, after the W7 changes that landed today (#1204, #1206, #1215, #1223, #1225, #1226). - **Quantities** ([41213779326](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41213779326), unfiltered): office as built, 29,262 of 39,388 equal (was 29,223), 1 different, 10,125 missing (was 10,164), none written that Revit's export leaves out. The +39 are #1215's flat-roof slab quantities. - **Properties** ([41215480967](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41215480967), with `--revit-set-placement`, as W7 is measured): as built 289 of 45,525 missing (was 455) and 1 different; at permit 292 of 45,704 (was 452). Without the option, 1,361 and 1,364 (was 1,421 and 1,418). The earlier figures stay, as the previous run. - **Values rvt-rs writes that Revit's export does not**: 10 as built and 14 at permit, the same in every run back to `5d863fba`. The page now says what they are. - All but one are on elements Revit's export leaves out: openings, and at permit a column (RE-239, #792). - The one, a sanitary terminal's `Pset_SanitaryTerminalTypeCommon.Reference`, follows from fixture 3095244's class. Revit's export writes it as `IfcFlowTerminal`, rvt-rs as `IfcSanitaryTerminal` (#792, found from `class_sets_vs_ifc` in the same run). - **README, from the same two runs:** - The IsExternal row is now 2,198 of 2,334 as built and 2,206 of 2,319 at permit, none different. Of the 136 and 113 values missing, all but one are on type objects; the other is on the building. - The set-placement row gains 1,072 values, not 966. That adds the 122 stair-flight values from RE-287. - **The open list** dropped #1186 and #1187, which closed when RE-287 and RE-288 landed. - `docs/archive/TODO.md`'s two links to `docs/status.md` and `docs/support-matrix.json` were relative to the wrong folder. No changelog fragment (no user-visible change).
Summary
rvt-rs no longer writes a floor's
Qto_SlabBaseQuantities.Width(RE-295), a ceiling'sQto_CoveringBaseQuantities.Width(RE-250, and the ceilings in pieces of RE-297) or theWidthof a wall Revit exports as a covering (RE-297). Revit 2024's exporter writes them; the exporters that wrote two held-out models do not, and the standing rule (the maintainer, 2026-10-31) is that where Revit's exporters disagree on a value, rvt-rs leaves it out. The held-out run shows 0 quantities rvt-rs writes that Revit's export omits, from 2 on the AA house and 3 on teste_export_2025 (RE-294).Motivation
#1046, W7 (strict: never write a value Revit's export omits). The held-out run of #1222 named the quantities:
extra Qto_SlabBaseQuantities.Width: 2on the AA house (Revit 26.4 export) andextra Qto_CoveringBaseQuantities.Width: 3on teste_export_2025. The only support for the three rules is the BIM4LCA office, one building exported by Revit 24.0.5; the R2025 models hold no floorWidthand no covering. Nothing in a file says which exporter will write it (an older file can be exported by a newer Revit), so there was no narrower rule to write.Changes
src/ifc/export_content.rs:add_slab_gross_areadrops theWidthit wrote on a floor of more than one layer,add_ceiling_quantitiestheWidthit wrote on a ceiling, andadd_wall_covering_widthis removed with its call.GrossArea,Depth,GrossVolumeandNetVolumeare untouched.reports/element-framing/RE-294-slab-covering-width-exporters-disagree.md; RE-250, RE-295 and RE-297 and their addenda say theWidthrule is withdrawn.changelog.d/removed/slab-covering-width.md, the unreleased fragments of RE-295 and RE-297 (which no longer claim theWidth), and Core Interior's witness observations (one fewerIFCQUANTITYLENGTH, 1,340 to 1,339).Testing
Unit tests are banned in this repository; none added. Measure 41204218380: this change (d6cf2fa; this head adds the later landings of
mainand docs) againstmain(904861a), every model and every scorer, with the held-out models (--ref ci/holdout-extra-quantities -f base=main -f nordic=true -f r2025=true -f holdout=true; the ref only supplies #1222's scrub). The other 1,463 outputs are byte-identical tomain's.Width(RE-295)Width(RE-250)GrossAreaandNetArea, noWidthWidth(RE-297)Width(RE-297, 21AK-1.otsawalls)No held-out equal count falls.
Qto_CoveringBaseQuantities.GrossArea(57 of 90 as built, 45 of 75 at permit) andQto_SlabBaseQuantities.NetVolume(31 of 63) are as onmain. Core Interior's and RE1 Architecture's counted-apart values fall by 1 and by 8 (6 covering and 2 slabWidthvalues). The scrubbed held-out counts name the quantity, not the element, so which of the three covering rules wrote teste_export_2025's 3 is not recorded.IFCQUANTITYLENGTHfewer; the slim file the same)rustfmtonly; CI is the gateNotes for landing
main's stated figures adjusted by this change's delta (113 fewer equal as built);main's own figure predates RE-296 and the W7 PRs still in the queue, so one census refresh with a fresh unfiltered run is owed once they land.Widthonly on files of release 2024 or earlier) would restore the 113 and 89 without the held-out extras, but the exporter is not the file's release (an older file exported by a newer Revit), so under the standing rule it is not taken; RE-294 §2 says so for the maintainer to reverse.DepthandGrossVolume) editsadd_slab_gross_areatoo: whichever lands second takes a small merge in that function.Audit-honesty checklist
changelog.d/removed/, and the unreleased RE-295 and RE-297 fragments correctedLegal and contribution hygiene
Breaking changes
rvt-ifcno longer writesQto_SlabBaseQuantities.Widthon a compound floor orQto_CoveringBaseQuantities.Widthon a ceiling or a wall exported as a covering (values 0.11.0 wrote for ceilings): output only, no API change.Related issues
Refs #1046, #1016, #1222 (names the extras).