Repository navigation
fix(elements): cut a wall's top at the floor that covers it (#1067) (RE-267) - #1152
Merged
Merged
Conversation
…all's top (#1067) (RE-267) The probe prints every wall's and its joined floors' native step records, relations and saved parameters; the scorer reads each wall's top along its whole length in both files and the share of its plan each floor covers.
…p faces and where its plan lies outside a floor (#1067) (RE-267)
…rs it; the cover scorer reads the floor's level across the plan (#1067) (RE-267) Report, scorer in Measure's default list, changelog fragment, docs addendum and the RE-258 pointer.
… and on every model: no wall of Core Interior, RE1 or R2025 is cut (#1067) (RE-267) Run 41079569865 reads each floor's underside over three rows of stations; with the level-across condition the rule cuts 64 of 65 office tops as built, 70 of 70 at permit and none that Revit leaves whole, and none of the 505 walls of the other models.
It meshes every wall and its floors at 0.25 ft stations, 68 s per BIM4LCA office model and 21 s on Core Interior (Measure run 41079569865), and its rule is not shipped. RE-267's reproduce command names it with -f scorers, which keeps working.
…RE-267) A wall whose top join or Join Geometry pair names a slab, roof or footing is drawn up to that element's underside when the element's plan, less the openings that void it, covers the whole of the wall's plan and the underside lies between the wall's base and top. A wall the element covers in part keeps its full height.
…e-4 ft2 and write the cut wall's Height (#1067) (RE-267)
… on some (#1067) (RE-267) Written on the cut walls it would be Revit's on 62 of 64 as built and 66 of 70 at permit, with Revit's export giving none on the other 2 and 4 and no field telling them apart.
…hat is left (#1067) (RE-267) RE-267 §7, the changelog, the status pages and W6 now give the shipped rule, the Measure result, the walls a floor covers in part that keep their full height, the one wall Revit cuts although a sliver of its plan lies outside the floor, and why a cut wall gets no Height.
# Conflicts: # changelog.d/research/wall-top-cover.md # docs/contribution-map.md # docs/release-1.0-criteria.md # docs/rvt-moat-break-reconnaissance.md # probes/examples/probe_1067_native_dump.rs # reports/element-framing/RE-258-wall-cuts.md # reports/element-framing/RE-267-wall-top-cover.md # tools/re/wall_top_cover_vs_ifc.py
8 tasks done
Owner
Author
|
Owner review after merging main (72edf84, which took #1151's probe and scorer fixes and kept this PR's report and docs, with RE-267 §4's note):
Code was reviewed earlier ( |
DrunkOnJava
marked this pull request as ready for review
October 30, 2026 19:06
DrunkOnJava
enabled auto-merge (squash)
October 30, 2026 19:06
This was referenced Oct 30, 2026
# Conflicts: # docs/release-1.0-criteria.md
# Conflicts: # docs/release-1.0-criteria.md # src/research/native_walls.rs # src/research/partition_schema_mvp/fields.rs # src/research/partition_schema_mvp/walls.rs
2 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 30, 2026
…instead of failing every rustc call (#1167) ## Summary A false red on #1152: `build + real files / windows-latest / stable` failed in 53 s (run 41112975909, job 124259839850) before compiling anything. sccache's server would not start, because GitHub's Actions cache answered `ServerBusy: Egress is over the account limit`, and with `RUSTC_WRAPPER=sccache` the first `rustc -vV` through the wrapper exited 2 (log lines 416-418). The Windows step now starts the sccache server itself (kept up for the job with `SCCACHE_IDLE_TIMEOUT=0`) and sets `RUSTC_WRAPPER` only if it starts. Otherwise it writes a warning and the job builds with plain rustc: slower, same result. `SCCACHE_IGNORE_SERVER_IO_ERROR=1` makes a later I/O error with a running server compile locally instead of failing. ## Changes - `.github/workflows/ci.yml`: the "Use sccache (Windows)" step, with a comment saying why. ## Testing - `actionlint`: no new finding against `main`'s file (the shellcheck note on the redirects is fixed by grouping them); every workflow loads with `yaml.safe_load`. - This PR's Windows jobs exercise the path where the server starts (sccache in use as before). The fallback path runs only when the cache backend refuses sccache, which cannot be forced from a pull request; its branch is a warning plus not setting the wrapper. ## Audit-honesty checklist - [x] No user-visible change; no changelog fragment - [x] No emojis, no private paths or personal addresses in committed files ## Related issues Seen on #1152.
3 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 30, 2026
…per line, so pull requests changing different values stop conflicting (#1177) ## Summary Every W6 or W7 change edits one table cell, a single line of 1,800 and 5,400 characters, so any two open pull requests that add a value conflict, and each landing put the others in conflict again (#1152, #1163, #1170 today). This moves the two "value now" cells into sections below the table, `### W6 measured now` and `### W7 measured now`, with one sentence or list item per line. Markdown joins the lines of a paragraph with spaces, so the page reads the same: joined back, each section is byte-identical to the cell it replaces (checked by script against `main`). The table's cell now links to its section; the requirement, bar and status stay in the table. ## Changes - `docs/release-1.0-criteria.md`: the two cells moved, an HTML comment in each section saying why the lines break where they do, and one sentence in "Keeping this page". ## Testing Docs only. Checked by script that the text of each section, its lines joined by spaces, equals the cell on `main` (b17d628) exactly, that no line begins with Markdown list, heading, quote or table syntax, and that every other line of the page is unchanged. `tools/maintainer/audit.py` reads the page only for the issue numbers it cites, which are all still there. ## Audit-honesty checklist - [x] No status, bar or measured value changes - [x] Changelog fragment: not needed (layout of a docs page) - [x] No emojis, no private paths or personal addresses in committed files ## Related issues None; open W6 and W7 pull requests (#1166, #1171 to #1175) move their additions into the new sections when they next merge `main`.
DrunkOnJava
added a commit
that referenced
this pull request
Oct 30, 2026
…e floors it is joined to leave it whole (#1046) (RE-270) (#1166) ## Summary #1162 and #1152 are on `main`. rvt-rs now also writes a wall's `GrossSideArea`, `NetSideArea`, `GrossVolume` and `NetVolume` on a wall joined to roofs, floors or footings that lie clear of it, when its record confirms its length: 18 more office walls as built and 22 at building permit, Revit's on every one, none different and none Revit's export leaves out (RE-270, the second rule). 2 of each are walls #1152 cuts at a floor. ## Motivation #1046 step 1 (walls). The first rule (#1162) takes the walls nothing joins to or cuts. Most of the rest are joined to a floor or roof at the top. Two readings decide whether such a wall is still the prism its record's box gives: whether the elements it is joined to leave it whole, and whether the box's ends are Revit's. The first is measured on rvt-rs's own bodies, the second by the record's `Length` (RE-252: the curve cut back at its joins is as long as the curve, both ends read twice alike). Each is needed: with the joins clear but no length, 45 of 53 office walls as built are right; with both, 18 of 18 (RE-270 §4). ## The wall top cuts (#1152) The pass runs after `wall_tops`, on purpose (stated in `export_content/wall_areas.rs` and at the call site): it reads each extrusion at its final height, and a wall that pass cut has the floor's underside for its top, which that floor then clears. RE-267 §7 found Revit's export writes no `Height`, and so (RE-270 §1) no side areas, on the cut walls it draws as a mesh: 1746099 and 1767978 as built, 1488456, 1746099, 1795193 and 3363820 at permit, and nothing read tells them from the rest. None of them gets a value: each holds a step the rule does not allow (a cut pair or a cutout), or a body that is not the record's box with a confirmed length (1767978 as built is drawn from its line). The rule takes 2 cut walls in each office (2897628 and 2897629, joined to floor 2991742 alone, Revit's on all four quantities in both files); the 3 other cut walls with a confirmed length and a record-box rectangle (2872774, 2872775, 2872777) are also joined to slab 1875411, whose body lies inside their height, so they stay out. No cut wall gets a value Revit omits, so no exclusion of `wall_top_cut_at_covering_floor` walls was needed; the exclusion would cost 2 walls in each office. ## Changes - `src/research/native_walls.rs`, `src/research/partition_schema_mvp/{fields,walls}.rs`: `WallRecords::bounded`, the walls whose record holds no step but the harmless ones, `JoinToRoofGStep` and `CleanPairGStep`, with the ElementIds their roof and floor joins name (top and base), and `WALL_BOUNDED_FIELD` on each. - `src/ifc/export_content/wall_areas.rs` (new), `src/ifc/export_content.rs`: a pass after `wall_tops` writes the four quantities of the first rule on each such wall that carries a `Length`, whose body is the record's box (a rectangle) and whose named elements are slabs, roofs or footings drawn as plain extrusions lying wholly above its top or wholly below its base. `prism_quantities` is the one formula both rules use. - Core Interior's witness observations (one wall more: `IFCQUANTITYAREA` 489 to 491, `IFCQUANTITYVOLUME` 356 to 358, copied from Measure's witness output), RE-270 §4, README, W7 (its own line, as #1177 sets out), the supported profile, the reconnaissance addendum and `changelog.d/added/wall-areas-volumes-joined.md`. ## Testing Unit tests are banned in this repository; none added. Measure [41120485504](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41120485504): this branch (972d215) against `main` (6eca8e0, with #1152 and #1162), every model and every scorer. Only `qtos_vs_ifc` and Core Interior's witness observations move; every other scorer's output and `diagnostics.decoded.parameter_value_count` are byte-identical to `main`'s. Since that head, the branch only merges `main` commits that touch no `src/` file (probes, `psets_vs_ifc.py`, the holdout scrub, docs), so the exports are unchanged. [41124825328](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41124825328) lists each wall (`tools/re/wall_quantities_vs_ifc.py`). | | office as built | at permit | R2025 | |---|---:|---:|---:| | walls the second rule adds | 18 | 22 | 0 | | ... of them cut by #1152 | 2 | 2 | 0 | | walls carrying the four, with #1162's | 67 | 70 | 91 | | the four equal to Revit's, of those | 67 | 70 | 91 | | the four equal before, after (each quantity, of 579 and 607 as built, 565 and 589 at permit) | 49 to 67 | 48 to 70 | 91, unchanged | | quantities equal, before | 27,948 | 27,878 | 775 | | quantities equal, after | 28,020 | 27,966 | 775 | | different, before and after | 1 (the mullion) | 1 | 0 | | written that Revit's export omits | 0 | 0 | 0 | The R2025 walls under roofs are all under sloped roofs, which rvt-rs draws as solids and the rule does not measure. Left out and measured: walls a floor passes through, cut pairs, cutouts, embedded walls and sweeps (RE-270 §6). - [x] Verified end to end on real Revit files (BIM4LCA office, CC BY-SA 4.0; puzzbobb's R2025 models, Apache-2.0): Measure above, `tools/re/wall_quantities_vs_ifc.py` and `probes/examples/probe_1067_native_dump.rs` reproduce it - [x] Witness observations refreshed in this PR - [x] No local build: `rustfmt` only; CI is the gate ## Audit-honesty checklist - [x] README, W7, the supported profile and the reconnaissance addendum say what is and is not written - [x] Changelog fragment under `changelog.d/added/` - [x] Limitations (walls a join intrudes on, sloped roofs, walls without a confirmed length, mesh-drawn cut walls) are in RE-270 §4 and §6 and this body - [x] Reverse-engineering finding: scorer, probe, addendum and report included ## Legal and contribution hygiene - [x] Apache-2.0; clean-room: revit-ifc is read for what Revit's exporter writes and cited (`CreateWallBaseQuantities`), not copied
12 of 13 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Nov 4, 2026
…cut-pair element cuts a wall's top only where it reaches it (#1067) (RE-320) (#1304) ## Summary A wall that a floor, roof or footing named by its top join or a Join Geometry cut pair covers in part is drawn stepped: its own plan up to the lowest underside, and over the part of the plan the elements do not cover, convex pieces up to the next underside or the wall's top, in one `SweptSolid` body. Against Revit's own export of the BIM4LCA office, rvt-rs's wall top equals Revit's over the whole plan on 583 of 607 walls as built (544 before) and 571 of 589 at permit (530), and no wall that was equal moved. An element that only a cut pair names now cuts a wall's top only where it reaches the top (three walls as built, which narrows a shipped rule). RE-320, #1067. ## Motivation RE-267 (#1152) cut a wall's top at the underside of the floor its top join or a cut pair names, only where that element covers the whole plan, and left the walls it covers in part at their full height: 29 office walls as built and 26 at permit were measured stepped along the centre line or with a strip beside it, and more had a floor covering a strip beside the centre line that the centre-line measure could not see. `tools/re/wall_top_cover_vs_ifc.py` now compares the top across the wall as well. The remainder of #1067 (walls drawn taller than Revit's body) is the walls in section 7 of the report. ## Changes - `src/ifc/export_content/wall_tops.rs`: the stepping pass. Partial covers are grouped by underside; the wall's plan (any simple polygon, broken into convex pieces) is reduced by each outline's triangles, lowest underside first; the pieces join where two make a convex piece; the body is a `SolidShape::Compound` of the wall's profile to the lowest underside and a `PlacedExtrusion` per piece. Fail closed on more than 32 pieces, an unbroken plan, shared holes and openings, and the one stub of the report's section 4. An element only a cut pair names cuts only where it reaches the wall's top (`Pending`, `Cutter::top`). - `src/research/native_walls.rs`, `src/research/partition_schema_mvp/{fields,walls}.rs`, `src/ifc/export_content.rs`: the ElementIds only a cut pair names (`WallRecords::pair_only`, `m_wall_top_pair_only`) and the constant `wall_top_stepped_at_covering_floor`. - `src/ifc/body_geometry.rs`, `src/ifc/gltf.rs`: `plan_outline` returns a stepped wall's first-item profile, and the glTF draws a stepped wall in its layers (`layered_stepped_meshes`), as it drew the extrusion. - `tools/re/wall_top_cover_vs_ifc.py`: the plan-wide comparison (Revit's body lined up across the thickness, five rows across the wall), the full-height area against Revit's, each wall's volume, each piece's share at Revit's full height and inside other walls, and the form each file draws a wall in. - `reports/element-framing/RE-320-stepped-wall-tops.md`, `docs/format-reconnaissance.md`, `docs/status.md`, `docs/supported-profile.md`, `docs/evidence.md`, `docs/support-matrix.json`, `docs/release-1.0-criteria.md`, `docs/contribution-map.md`, `ROADMAP.md`, `changelog.d/fixed/1067-stepped-wall-tops.md`. ## Testing Unit tests are banned in this repository; the change is shown end to end on real files. - [x] `tools/check-local.sh`'s gates: not run on the Mac (no local builds here; `cargo fmt` only). They ran in CI on this PR at `23b20800`: fmt, clippy, rustdoc, the stable and MSRV builds with the real-file tests on four runners, the i686 job, Corpus health, IfcOpenShell validates exports, semver, docs.rs preview, PII guard and Deploy viewer all pass. - [x] Verified end to end on real Revit files. The BIM4LCA office as built and at building permit (Revit 2024, CC BY-SA 4.0, pinned in `research/bim4lca-measure.tsv`) against Revit 24.0.5's own IFC4 exports, by `tools/re/wall_top_cover_vs_ifc.py` in Measure. Results (report, section 3): | | as built, before | after | at permit, before | after | |---|---:|---:|---:|---:| | walls drawn stepped | 0 | 49 | 0 | 46 | | top equal to Revit's along the centre line | 472 | 480 | 419 | 426 | | top equal to Revit's at every point compared | 544 | 583 | 530 | 571 | | area at the full height in rvt-rs and not in Revit (ft2) | 1,915.8 | 238.2 | 1,888.1 | 38.1 | Checks that did not move (Measure 41741031542, both offices, `main` against the branch; report section 6): - `qtos_vs_ifc` and `psets_vs_ifc` are byte-identical. Quantities, Revit's on objects rvt-rs writes / equal / different / missing / rvt-rs's that Revit does not write: as built 39,388 / 29,448 / 1 / 9,939 / 0, at permit 39,679 / 29,762 / 1 / 9,916 / 0. Property sets: as built 45,525 / 44,163 / 1 / 1,361 / 10, at permit 45,704 / 44,339 / 1 / 1,364 / 14. - `Qto_WallBaseQuantities` on the stepped walls moved on 0 of 49 and 0 of 46: rvt-rs writes `Width` only; Revit also writes `Length` and `NetVolume` on every one and `Height`, `GrossVolume`, `GrossSideArea` and `NetSideArea` on 43 of 49 and 43 of 46. None is written (Revit omits `Height` on 6 and 3 of them, and nothing tells those apart), and none is computed from the stepped body. - Schema step: `validate` 0 findings and `rules` 4 findings, the same four as on `main` (none on an `IfcWall`, an extrusion or a void); the only line that differs is the count of swept solids with a distinct Position, 12,747 to 12,921 and 12,790 to 13,013. No `IfcWallStandardCase`; the 734 `IfcMaterialLayerSetUsage` and the 511 `IfcRelVoidsElement` are as on `main`. - `layer_sets_vs_ifc`, `wall_layers_vs_ifc` and `glb_material_colours_vs_ifc` are byte-identical (602 walls drawn in layers in the GLB as built): a first draft lost 44 stepped walls from that count until the glTF cut a stepped body into its layers. - Openings: `opening_boxes_vs_ifc`, `openings_vs_ifc` and `opening_hosts_vs_ifc` are byte-identical; the 14 and 16 stepped walls with openings (269 and 271) keep every `IfcRelVoidsElement`, and the opening heads in the meshed bodies of the 13 and 15 walls that have them are unchanged. - `wall_heights_vs_ifc` and `wall_bodies_vs_ifc` are byte-identical; `wall_quantities_vs_ifc`'s candidates (nothing is written from them) move: `NetVolume = rvt-rs's volume` equal on 258 of 607 as built (243 before). The narrowed rule (RE-267's, shipped in #1152): an element that only a Join Geometry cut pair names (never the top join) cuts a wall's top only where its top is at or above the wall's. 3484876, 3490093 and 3490551 as built pass through a slab whose top is 0.984 ft below theirs, and Revit leaves their tops whole; cutting them put rvt-rs 19.5 ft2 lower than Revit's body. Of the 23 office walls as built whose cut-pair element the first draft used, 20 reach the wall's top and Revit cuts them, 3 do not and Revit leaves them; at permit 10 of 10 reach. The 64 and 70 walls RE-267 cuts whole are unchanged: every wall not drawn stepped has the same meshed volume and the same highest and lowest points as on `main`. Reproduce with the commands in the report's section 8, naming ``b23adf4fbc99d56f45a46f1772139e5fb0c7235f``. - [x] Exporter change: Core Interior, RE1 Architecture and the 24 R2025 models export byte for byte as before (Measure 41737388173), so no witness replay is owed. Measure 41741013741 (`-f nordic=true -f r2025=true -f samples=true -f holdout=true`, 111 models, the branch at `b23adf4f` against `main` at `4ad28023`): 94 export hashes are identical (Core Interior, RE1 Architecture, Einhoven, the 24 R2025 models, 17 of 18 held-out); 17 differ: the two offices, 14 Autodesk sample projects (counted: no Revit export to score against; swept solids +0 to +7, +94 on Snowdon architectural) and the held-out AA-SingleDwellingHouse-RVT-CIADD, whose summary counts are unchanged. Diagnostics are byte-identical on all 93 models that have them, and `qtos_vs_ifc`, `psets_vs_ifc`, `layer_sets_vs_ifc`, `wall_layers_vs_ifc`, the opening, `wall_bodies_vs_ifc` and `wall_heights_vs_ifc` scorers are byte-identical on every model with a Revit export. The only scorer output that moves is `schema.txt`'s swept-solid count. - [ ] Performance: not a performance change. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR: `docs/status.md`, `docs/supported-profile.md`, `docs/evidence.md`, `docs/support-matrix.json`, the 1.0 criteria page, the contribution map and the roadmap no longer say a partly covered wall keeps its full height. - [x] Changelog fragment `changelog.d/fixed/1067-stepped-wall-tops.md`. - [x] A limitation resolved: walls a floor covers in part. A new one, in the PR and in the report: the walls whose layers Revit ends at different heights (the KS walls 1347198 to 1347201), a top cut at a height no join names, the gaps and ends of the 78 walls as built (127 at permit) no floor reaches, and one wall as built (3004978) whose 0.0243 ft2 stub inside an abutting wall Revit cuts and rvt-rs does not. - [x] Commit messages describe what changed and why. - [x] No emojis, no private paths or personal email addresses. - [x] Reverse-engineering finding: a reproducible probe (`probe_1067_native_dump`, `tools/re/wall_top_cover_vs_ifc.py`) and a dated addendum to `docs/format-reconnaissance.md`. ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0. - [x] The changes in this PR are based on public byte observations of the BIM4LCA files (CC BY-SA 4.0) and of Revit's own IFC4 exports of them, and the buildingSMART IFC4 specification. I have not used Autodesk SDK source, ODA SDK source, leaked internal documentation, NDA material, or decompiled internal Revit implementation code beyond public symbol exports, and I have not copied or translated code from revit-ifc. - [x] No test fixtures are added. ## Breaking changes None. `WallRecords` (behind `unstable-research`) gains a `pair_only` field. ## Screenshots or output samples Wall 1341937 as built, 0.435 m thick, whose floor covers 0.15 m of the thickness (metres): the wall's profile to 3.45 m, and over the other 0.285 m one piece standing on it for 0.45 m. ``` #10233=IFCEXTRUDEDAREASOLID(#10232,#21,#19,3.450000); #10247=IFCAXIS2PLACEMENT3D(#10244,#10245,#10246); #10248=IFCEXTRUDEDAREASOLID(#10237,#10247,#19,0.450000); #10249=IFCSHAPEREPRESENTATION(#22,'Body','SweptSolid',(#10233,#10248)); ``` ## Related issues Refs #1067: the 29 and 26 office walls a floor covers in part now have Revit's top; the walls whose top differs where no floor reaches (wall ends, openings at the top, layered finish heights) stay open there.
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
A wall whose top join (
JoinToRoofGStep,m_baseOrTop1) or Join Geometry pair (CutPairGStep) names a slab, roof or footing is drawn up to that element's underside when the element covers the whole of the wall's plan (RE-267 §3). Every other wall keeps the body it has today: the walls a floor covers in part, which Revit steps, and the one wall as built that Revit cuts although 0.0243 ft² of its plan lies outside the floor. A cut wall gets noHeight: Revit's export omits it on some of them.Draft, not armed. Based on #1151 (RE-267 and
wall_top_cover_vs_ifc), which is armed and not yet onmain, so this diff carries its commits untilorigin/mainis merged in.Motivation
#1067: rvt-rs draws 65 of the BIM4LCA office's walls as built (70 at permit) taller than Revit's body, because Revit cuts their tops at a floor. RE-267 measured the rule that is exact on them and narrowed it until it cuts no wall Revit leaves whole. This ships it as narrowed.
Changes
src/research/native_walls.rs:WallRecords::top_cutters, the ElementIds a wall's top join and cut pairs name, read in the pass that already readsJoinToRoofGStepfor RE-228 (no new pass over the file). A step whose ids are in a shape not read leaves the wall out.src/research/partition_schema_mvp/{fields,walls}.rs: the wall fieldm_wall_top_cuttersand its reader.src/ifc/export_content/wall_tops.rs(new): the pass, run once every element is in the model. The floor must be anIfcSlab,IfcRooforIfcFootingdrawn as a plain extrusion (a roof drawn from its slopes is a solid and is left out, which is what keeps the R2025 roofs off the walls beneath them), with its underside between the wall's base and top and its outline covering the whole of the wall's plan, clear of its holes and openings (outside area under 1e-4 ft²). The wall's extrusion gets the lower height; the placement andBoundingBoxHeightstay, and the wall carriesBodyHeightSourcewall_top_cut_at_covering_floorandTopCoverElementId.src/ifc/export_content.rs: the wall's pending cut and the call.docs/status.md,docs/supported-profile.md,docs/support-matrix.json,docs/release-1.0-criteria.md(W6),docs/contribution-map.md,ROADMAP.mdand the reconnaissance addendum.Testing
Unit tests are banned here and none are added. End to end, Measure against
main: run 41092512565 (--ref feat/1067-wall-top-cover,-f ref=555dbb358203c0ad77f35a030f54d821253e1fbd,-f base=main -f nordic=true -f r2025=true, every model and scorer) and run 41092527900 (the same with-f scorers=wall_top_cover_vs_ifc). The code of the head commit is the measured commit's; later commits are documentation.wall_heights_vs_ifc, walls with Revit's base and top:ifc.sha256,frames_vs_ifcifc.sha256,frames_vs_ifcOf 1,441 per-model outputs, 1,435 are identical and 6 differ:
ifc.sha256,frames_vs_ifc.txtandwall_heights_vs_ifc.txtof the two office models.frames_vs_ifcfollows from the walls: its fit of rvt-rs's frame onto Revit's reads their heights (as built, the vertical shift is 0.009 ft where it was -0.016, the median residual 0.0096 ft where it was 0.0165). Exactly the 64 and 70 cut walls' bodies change, their tops only (no base, no plan), and each lands on Revit's top (wall_top_cover_vs_ifc: no wall that was equal to Revit's along its length differs now; 472 of 607 as built are equal, 416 before; 419 of 589 at permit, 367 before). The quantity census (qtos_vs_ifc),psets_vs_ifcand every other scorer are byte-identical.tools/check-local.sh: not run, there are no local builds here; CI is the gate (build, clippy, doc, semver, Corpus health and the IfcOpenShell validation passed on an earlier commit of this PR with the same code but for the Height write; the head commit is running)Audit-honesty checklist
docs/status.md,docs/supported-profile.md, the support matrix, W6, the roadmap)changelog.d/fixed/wall-top-cover.mdHeight; a floor drawn as a solid (a sloped roof) cuts nothingNotes
Heighton a cut wall is Revit's on 62 of 64 as built and 66 of 70 at permit and never different (run 41091288700), but Revit's export writes none on the other 2 and 4, which nothing read tells apart; writing it would add values Revit omits, so it is left off.Breaking changes
None.
WallRecords(research, behindunstable-research) gains a field.Related issues
Refs #1067 (left open for the stepped tops). Builds on #1151.