Skip to content

feat(ifc): write a roof-joined wall's Height beside its four quantities (#1046) (RE-293) - #1223

Merged
DrunkOnJava merged 30 commits into
mainfrom
feat/1046-wall-height-bounded
Oct 31, 2026
Merged

DrunkOnJava merged 30 commits into
mainfrom
feat/1046-wall-height-bounded

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Summary

Stacked on #1205 (RE-290): this branch contains its commits, so the diff shows both until #1205 lands. rvt-rs now also writes Qto_WallBaseQuantities.Height, the body's, on every wall the second RE-270 rule gives GrossSideArea, NetSideArea, GrossVolume and NetVolume (a wall joined to roofs, floors or footings that lie clear of it): 47 more office walls as built and 58 at building permit, Revit's on every one, none different and none Revit's export leaves out (RE-293).

Motivation

#1046 step 1 (walls). Revit's export writes a wall's Height on exactly the walls it writes the four on (579 of 607 as built and 565 of 589 at permit; the others carry only a NetVolume), and on every wall of the office where the four are Revit's, rvt-rs's extrusion is as tall as Revit's solid: 117 of 117 as built (49 with no roof or floor join, 68 roof-joined) and 128 of 128 at permit (48 and 80), none different (RE-293 §2). The second rule already vouches that the wall is a rectangular prism its joins leave whole, so the height of its extrusion is the vertical span of Revit's solid, and the rule adds no condition of its own. Where a wall's top is joined to a roof Revit's Height is the attached wall's, so walls the second rule does not take stay unwritten (RE-293 §5). The rule takes none of the walls Revit writes only a NetVolume on; that is a measured result on this corpus (no Height is written where Revit writes none), not a guard in the rule. The evidence is one building, the BIM4LCA office in Revit 2024, with no out-of-sample test: the R2025 models and the held-out models take no wall by the second rule, so none of them tests it.

Changes

  • src/ifc/export_content/wall_areas.rs: add_bounded_wall_quantities writes Height (the body's) beside the four on each wall it takes.
  • reports/element-framing/RE-293-wall-height-bounded.md.
  • README, W7 on the criteria page, the supported profile, the reconnaissance addendum, changelog.d/added/wall-height-bounded.md, and Core Interior's witness observations (7 more walls' Height, from CI's octetproof-core-interior artifact; both verdicts replay PASS with the verdict files unchanged).

Testing

Unit tests are banned in this repository; none added. Measure 41183229365: this branch (f5d4ab5, RE-290 and main merged in) against main (9066ded), every model and every scorer, with the held-out models (-f base=main -f nordic=true -f r2025=true -f holdout=true). The base is a newer main than the head by one landing (RE-283's wall parameters, #1182), which is why Einhoven's diagnostics.json and modelo_bim's property set census differ in that run; the quantities do not depend on it. Run 41180588895 (6317d42 against RE-290's head a07a850) shows what Height alone moves.

model quantities equal on main with #1205 with #1205 and this PR different Revit omits (rvt-rs writes)
office as built 39,388 28,162 28,278 28,325 1 to 1 (the mullion) 0 to 0
office at building permit 39,679 28,076 28,220 28,278 1 to 1 0 to 0
R2025 models (24) 1,515 775 775 775 0 to 0 0 to 0
RE1 Mechanical, Plumbing 31, 63 31, 63 31, 63 31, 63 0 0

Qto_WallBaseQuantities.Height: 81 to 128 of 579 as built (+47), 70 to 128 of 565 at permit (+58), R2025 93 of 138 as before; against #1205's head alone the office goes 28,181 to 28,228 and 28,155 to 28,213. Core Interior's and RE1 Architecture's exports were made with base quantities off (RE-242): the 7 Height values now written on Core Interior's walls are counted apart (2,268 on main, 2,292 with #1205, 2,299 with this PR); RE1 Architecture's 92 are unchanged.

Held-out models (same run, scrubbed counts): the AA house (846 quantities, 127 equal, 0 different, 719 missing), modelo_bim (220, 7, 0, 213) and teste_export_2025 (44, 10, 0, 34) have the quantity counts of main's on all three, so no Height is written there. The AA house's 2 quantities Revit's export does not write (slab Width, RE-295) and teste_export_2025's 3 (covering Width, RE-250 and RE-297) are on main already, not this change's.

Left out and measured (RE-293 §5): Height on every wall the second rule does not take.

  • Verified end to end on real Revit files (BIM4LCA office, CC BY-SA 4.0; puzzbobb's R2025 models, Apache-2.0): Measure above and tools/re/wall_quantities_vs_ifc.py reproduce it
  • Witness observations refreshed in this PR
  • No local build: rustfmt only; CI is the gate

Audit-honesty checklist

  • README, W7, the supported profile and the reconnaissance addendum say what is and is not written
  • Changelog fragment under changelog.d/added/
  • Limitations are in RE-293 §5 and this body
  • Reverse-engineering finding: scorer, addendum and report included (the scorer is RE-270's)

Legal and contribution hygiene

  • Apache-2.0; clean-room: revit-ifc is read for what Revit's exporter writes and cited (PropertyUtil.CreateWallBaseQuantities), not copied

Breaking changes

None.

Related issues

Refs #1046, #1016. Stacked on #1205.

…7, the supported profile and the changelog (#1046) (RE-290)
# 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:
#	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
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review October 31, 2026 08:53
# Conflicts:
#	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
#	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/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
# 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
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Automated review (Claude Code review agent, run by the maintainer). Verdict: ready to merge.

  • The one source change sits on feat(ifc): confirm a roof-joined wall's length by its cut-back centreline (#1046) (RE-290) #1205's pass: it writes Height beside the four quantities on the walls RE-270's second rule takes, and set_property replaces RE-266's Height instead of duplicating it.
  • Measure 41183229365: Qto_WallBaseQuantities.Height gains 47 equal values on the office as built and 58 at permit, all Revit's. None is different, and none is a value Revit's export leaves out. The held-out counts equal main's.
  • Fixed (nits): the report says the walls Revit writes only a NetVolume on stay out as a measured result, not a guard. It also says the evidence is one building (the BIM4LCA office, Revit 2024) with no out-of-sample test, because no held-out model has a wall this rule takes.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 31, 2026 13:56
# 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
@DrunkOnJava
DrunkOnJava merged commit 79119e3 into main Oct 31, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/1046-wall-height-bounded branch October 31, 2026 14:20
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).
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.

1 participant