Repository navigation
feat(ifc): write a wall's GrossFootprintArea where its side areas and volumes are written (#1046) (RE-292) - #1206
Merged
Merged
Conversation
DrunkOnJava
marked this pull request as ready for review
October 31, 2026 06:56
…s its thickness, the measured bound (#1046) (RE-292)
# Conflicts: # README.md # docs/release-1.0-criteria.md
4 tasks done
# 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
# Conflicts: # research/witness/magnetar-2024-core-interior-slim/observations/rvt-rs.json # research/witness/magnetar-2024-core-interior/observations/rvt-rs.json
Owner
Author
|
Automated review (Claude Code review agent, run by the maintainer). Verdict: ready to merge.
|
DrunkOnJava
enabled auto-merge (squash)
October 31, 2026 13:13
# Conflicts: # README.md # docs/release-1.0-criteria.md # docs/rvt-moat-break-reconnaissance.md # docs/supported-profile.md # research/witness/magnetar-2024-core-interior-slim/observations/rvt-rs.json # research/witness/magnetar-2024-core-interior/observations/rvt-rs.json
# Conflicts: # README.md # docs/release-1.0-criteria.md # docs/supported-profile.md
DrunkOnJava
added a commit
that referenced
this pull request
Oct 31, 2026
…rs writes that Revit's export does not (#1046) (#1222) ## Summary The held-out models' Measure results (`holdout-*/counts.txt`) report how many quantities rvt-rs writes that Revit's export does not (the strict W7 count), but not which quantity. This keeps one count line per quantity name, `extra Qto_X.Y: N`, and nothing else from that section. ## Motivation [#1046](#1046), W7: the count was 2 on the AA house and 3 on teste_export_2025 with no way to tell which rule wrote them. The scorer lists the objects under each quantity (ElementIds); the scrub keeps only the standard quantity name and the number, so the held-out models' scrub policy (counts only, never an ElementId or a name) is unchanged. ## Changes - `tools/ci/scrub-holdout-results.sh`: one awk step after the quantity census's `different` lines, reading the scorer's "rvt-rs quantities Revit does not write:" section and printing `extra Qto_<Set>.<Property>: <count>` for lines of exactly that shape; the header comment names what is kept. ## Testing N/A for unit tests (banned). Measure run [41182558730](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41182558730) on this change (`-f models="holdout-*" -f scorers=qtos_vs_ifc`) kept, for the three held-out models, only these lines beyond the existing ones: ``` holdout-AA-SingleDwellingHouse-RVT-CIADD: extra Qto_SlabBaseQuantities.Width: 2 holdout-teste_export_2025: extra Qto_CoveringBaseQuantities.Width: 3 holdout-modelo_bim: (none; 0 quantities Revit does not write) ``` - [x] Verified end to end on the real held-out files in Measure; the output above is the scrubbed artifact - [x] No ElementId, name or per-object line is kept (the awk pattern only matches ` Qto_<letters>.<letters>: <digits>`) - [x] Not an exporter change: no witness refresh - [x] No user-visible change, so no changelog fragment ## What the counts show Not caused by this PR, and not by the base-quantity PRs #1204, #1205 or #1206 (their runs add none on any held-out model). On `main` at 1a54a8f (the code of run 41182558730, with this branch's scrub), rvt-rs writes a slab `Width` where Revit's export omits it on 2 slabs of the AA house, and a covering `Width` where Revit omits it on 3 coverings of teste_export_2025. By the quantity names these are the slab `Width` rule (RE-295: a type with more than one layer) and the covering `Width` rules (RE-250, extended by RE-297 to ceilings of several pieces and to walls Revit exports as coverings); the earlier held-out runs on older `main` heads showed 2 and 0, so the 3 on teste_export_2025 arrived with a recent landing. Strict W7 says none is written, so the rule behind each needs narrowing; that is the spaces, coverings and slabs lane, and this PR only makes the quantity visible.
DrunkOnJava
added a commit
that referenced
this pull request
Oct 31, 2026
… 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).
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
rvt-rs now writes a wall's
GrossFootprintArea, its length times its width, on the walls it writes the four RE-270 quantities on by the first rule (a record box cut back at its joins, nothing joined to or cutting the wall) that are more than three times as long as thick: 48 of the BIM4LCA office's walls as built, 47 at building permit and 91 R2025 walls, Revit's on every one, none different and none Revit's export leaves out (RE-292).Motivation
#1046 step 1 (walls). RE-270 left
GrossFootprintAreaout because Revit omits it on one wall of its first rule's 49 as built and one of 48 at permit, and nothing told it apart. It is the same wall in both files, 3184170, 0.164 ft long across a 0.328 ft thickness: its long side is its thickness. It is the only wall of the first rule's group, 188 walls over the two offices and the R2025 models, with a length under 3.12 times its thickness, and the footprint is Revit's on 186 of the 188, the two without being that wall in the two office files. revit-ifc'sPropertyUtil.CreateWallBaseQuantitiestakes the footprint fromWallExporter.TryToCreateAsExtrusion(the area of the wall's footprint loop), a path gated by an internal Revit check, so the model cannot say which walls pass it. That is one wall, so what decides it cannot be told from this corpus. Every wall of the group longer than 3.12 times its thickness has a footprint in Revit's export (186 of 186) and nothing between 1.0 and 3.12 times was measured, so the bound is a round 3.0 times, just under the shortest wall measured to have one (3.12): it was 2.0 before, which lay in the unmeasured interval. A wall between 3.0 and 3.12 times, of which the corpus has none, would be written without a measurement behind it.Changes
src/ifc/export_content.rs:add_wall_areas_and_volumesalso writesGrossFootprintArea(the box's long side times the type's width) where the wall is more than three times as long as thick (FOOTPRINT_MIN_LENGTH_FACTOR= 3.0, the measured bound).reports/element-framing/RE-292-wall-footprint-area.md.changelog.d/added/wall-footprint-area.md, and Core Interior's witness observations (139 moreIFCQUANTITYAREA, 491 to 630, copied from CI'soctetproof-core-interiorartifact; both verdicts replay PASS with the verdict files unchanged).Testing
Unit tests are banned in this repository; none added. Measure 41183025562: this branch (9019678,
mainmerged in) againstmain(c21e587), every model and every scorer (-f base=main -f nordic=true -f r2025=true). The exports of both offices, Core Interior, RE1 Architecture and the 23 R2025 models that have walls change; the other 1,398 scorer outputs are byte-identical tomain's. The walls' own records and bodies are RE-270's (run 41136551451 lists each wall withwall_quantities_vs_ifcandprobe_1067_native_dump).Qto_WallBaseQuantities.GrossFootprintArea: 0 to 48 of 279 as built, 0 to 47 of 276 at permit, 0 to 91 of 138 on R2025; the walls' other quantities are as onmain. Core Interior's and RE1 Architecture's exports were made with base quantities off (RE-242): the 139 and 1 footprint areas rvt-rs now writes on their walls are counted apart (Core Interior 2,268 to 2,407, RE1 Architecture 92 to 93).Held-out models (41180524862,
-f holdout=true -f base=main, scrubbed counts): the footprint is written on 8 AA house walls, all Revit's (127 to 135 equal, 0 different both times), and on none of modelo_bim's or teste_export_2025's. The 2 quantities rvt-rs writes there that Revit's export does not are onmainalready (slabWidth, RE-295), not footprints; the extras are unchanged.Left out and measured (RE-292 §3): walls joined to roofs or floors (Revit writes the footprint on 78 of the 85 record-box walls with only roof and clean joins as built and 78 of 93 at permit; the best single feature of any step's content predicts it on 216 of 258 record-box walls and is wrong on 42), layered walls, walls with openings, cut pairs, embedded walls or sweeps.
tools/re/wall_quantities_vs_ifc.pyreproduce itrustfmtonly; CI is the gateAudit-honesty checklist
changelog.d/added/probe_1067_native_dump)Legal and contribution hygiene
WallExporter,PropertyUtil.CreateWallBaseQuantities), not copiedBreaking changes
None.
Related issues
Refs #1046, #1016.