Skip to content

feat(ifc): write a flat roof's slab quantities, and leave a floor of several layers without the Depth Revit's exporters disagree on (#1016) (RE-298) - #1215

Merged
DrunkOnJava merged 12 commits into
mainfrom
re/298-slab-depth-roofs-4
Oct 31, 2026
Merged

DrunkOnJava merged 12 commits into
mainfrom
re/298-slab-depth-roofs-4

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Summary

Write the slab quantities of each flat roof Revit's export writes as a slab: GrossArea (its sketch's profile's area), Depth (the layers' total), GrossVolume, and NetVolume where its record holds no cutting step. A level floor of several layers gets no Depth or GrossVolume: the office's export (Revit 24.0.5) writes its last layer's thickness, while Revit 26.4's export of the held-out Revit 2026 house writes another value. Under the maintainer's standing rule, a value Revit's exporters disagree on is not written. Related: #1016 (W7 base quantities). This is the coverings agent's RE-298 work, rebuilt on main and narrowed.

Changes

  • src/ifc/export_content.rs: the flat-roof quantities. A floor's Depth/GrossVolume stay on floors of one layer, as on main.
  • reports/element-framing/RE-298-slab-depth-roofs.md, the W7 line, the README, the supported profile, the reconnaissance addendum and changelog.d/added/slab-depth-roofs.md.

Testing

Unit tests are banned here; none added. Measure 41200434886 ran unfiltered against main with the held-out models (-f nordic=true -f r2025=true -f holdout=true):

  • The office goes from 28,329 to 28,368 equal quantities as built and from 28,254 to 28,292 at permit. The 10 flat roofs' Depth, GrossVolume and GrossArea are all Revit's, and NetVolume on 9 as built (8 at permit).
  • Nothing is different, and nothing is written that Revit's export leaves out.
  • Only the two office exports move. The R2025 models, Core Interior, RE1 and the held-out models are byte-identical.

The first version's held-out run (41181103022) is what found the floors of several layers' disagreement (2 slabs on the AA house).

Legal and contribution hygiene

  • Apache-2.0. revit-ifc (RoofExporter) was read and cited only (CLEANROOM.md source 5).

Breaking changes

None.

…and a flat roof written as a slab's quantities (#1016) (RE-298)
…ch Revit's exporters write differently (#1016) (RE-298)
# Conflicts:
#	README.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
…, and why a floor of several layers gets no Depth (#1016) (RE-298)
@DrunkOnJava DrunkOnJava changed the title feat(ifc): write the Depth and GrossVolume of level compound floors, and a flat roof written as a slab's quantities (#1016) (RE-298) feat(ifc): write a flat roof's slab quantities, and leave a floor of several layers without the Depth Revit's exporters disagree on (#1016) (RE-298) Oct 31, 2026
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review October 31, 2026 13:22
…r's Depth is its body's, as on main (#1016) (RE-298)
# Conflicts:
#	README.md
#	docs/supported-profile.md
# Conflicts:
#	README.md
#	docs/release-1.0-criteria.md
#	docs/supported-profile.md
#	src/ifc/export_content.rs
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

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

  • Narrowed under the maintainer's standing rule (a value Revit's exporters disagree on is not written). The first version's held-out run found a floor of several layers' Depth different from Revit 26.4's on 2 slabs of the AA house, so floors of several layers get no Depth or GrossVolume.
  • Should-fix, fixed in f2df6e35: a roof's GrossArea was written before the level test. A roof that is not level now gets none of the quantities, and a floor's Depth is its body's, as on main. That fix left all 32 models' exports byte-identical against the previous head (run 41205530927).
  • Merged with main after fix(ifc): leave out a floor's and a covering's Width, which Revit's exporters write differently (#1046) (RE-294) #1225 removed the floor Width rule from the same function. Measure 41208291014 checks the merged head against main 836f274, with the held-out models:
    • Only the two office exports move: +39 equal quantities as built (29,176 to 29,215) and +38 at permit (29,416 to 29,454), the 10 flat roofs.
    • The one different value (a mullion's) is unchanged. "rvt-rs quantities Revit does not write" is 0 on every model, the held-out ones included.

@DrunkOnJava
DrunkOnJava merged commit 08c6a62 into main Oct 31, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the re/298-slab-depth-roofs-4 branch October 31, 2026 14:28
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