Repository navigation
research(elements): Revit cuts a wall's top at the floor its top join names, on 63 of 65 office walls, but nothing tells the 5 it leaves (#1067) (RE-258) - #1071
Conversation
…t moves a wall's base or its top (#1067) (RE-257)
…evit's body (#1067) (RE-257)
…s and footings crossing a wall's ends are Revit's cuts (#1067)
…ooting crossing each wall's end, and whether Revit cuts there (#1067)
… footing's body kind and heights (#1067)
…roofs and footings it cuts by with Revit's (#1067)
…oor lies over the wall's middle or beside it (#1067)
…oof's underside over a wall's middle, in both files (#1067)
… surfaces it samples (#1067)
…the wall's middle shifted into Revit's plan (#1067)
…tween the two files' plans (#1067)
… names, on 63 of 65 office walls, but nothing tells the 5 it leaves (#1067) (RE-258)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6ab1d5ac37
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…s under one Tag (#1067) (RE-258)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5820d7beec
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ames a commit to reproduce from (#1067) (RE-258)
…tion and counts what it leaves out (#1067) (RE-258)
…roduct's Body (#1067) (RE-258)
…rs it; the rule is exact at permit and misses one wall as built (#1067) (RE-267) (#1151) ## Summary RE-267 reads why RE-258's rule cut 5 office walls per stage that Revit's export left whole: it did not leave them whole. Revit cuts a wall's top at the underside of the floor its top join (or a cut pair) names over the part of the wall's plan the floor covers, and leaves the rest at full height, so the highest point RE-258's scorer read does not move. A rule that cuts a top only where the named floor covers the whole of the wall's plan, and is level across it, gives 64 of the BIM4LCA office's 65 cut tops as built and 70 of 70 at permit, and cuts no wall that Revit leaves whole. One wall as built is cut by Revit with a 0.085 ft stub past the floor's edge, nothing read explains it, and a part-covered wall needs a stepped top an extrusion cannot draw. The exporter is unchanged and no wall is cut yet. ## Motivation #1067 (W6, and W7's walls' `Height`, which RE-257 showed is the body's span). RE-258 asked what in the file separates the walls Revit cuts from the ones it leaves; the answer is the plan, not a field. ## Changes - `reports/element-framing/RE-267-wall-top-cover.md`: the finding, the tallies, what was compared and does not separate, the one wall, and the correction of RE-258 §3's claim that the two stages' records and floors are the same (they are not: the walls' plans differ by 0.03 ft). - `tools/re/wall_top_cover_vs_ifc.py` (new, run when Measure names it with `-f scorers=wall_top_cover_vs_ifc`: it takes 68 s per office model and 21 s on Core Interior, and its rule is not shipped, so it stays out of the default list): reads each wall's top along its length in both files, the horizontal faces of its upper half, each floor's underside along and across it, and the part of its plan outside each floor. It is the reproduce command's dependency. - `probes/examples/probe_1067_native_dump.rs` (new): every wall's step records and relations and saved parameters, and the records of the floors and elements they name. - `changelog.d/research/wall-top-cover.md`, the dated addendum in `docs/rvt-moat-break-reconnaissance.md`, the #1067 row of `docs/contribution-map.md` and a pointer in RE-258, as RE-258's own PR (#1071) did. ## Testing Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead. - [ ] `tools/check-local.sh` passes: this PR's CI. (No local build: the probe is built by Measure; `python3 tools/release/changelog.py check` and `tools/ci/api-doc-ids.py` pass.) - [x] Verified end to end on real Revit files: Measure [41075127575](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41075127575) (both offices, probe and scorer), [41076305345](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41076305345) (every model), [41077948567](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41077948567) (the probe on Core Interior, RE1 and the R2025 models) and [41079569865](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41079569865) (every model, the scorer also reading each floor's level across the wall). BIM4LCA office files: CC BY-SA 4.0 (`research/bim4lca-measure.tsv`); R2025: Apache-2.0 (`research/r2025-models.tsv`). The runs measured the branch's commits, kept under `refs/archive/2026-10-30/re/1067-wall-top-cuts` once it lands. - N/A: the IFC exporter is unchanged. - N/A: performance. The rule also cuts none of Core Interior's 360 walls, RE1 Architecture's 7 and the R2025 models' 138. | | as built | at permit | |---|---:|---:| | tops Revit cuts (highest point) | 65 | 70 | | cut by the rule (top join / cut pair) | 62 / 2 | 68 / 2 | | not cut by the rule | 1 | 0 | | walls the rule cuts that Revit leaves whole | 0 | 0 | | Revit's body cut somewhere on its centre line (RE-258: the highest point only) | 94 | 96 | | walls with exactly one named level floor where Revit's full-height face area equals the plan outside the floor (to 0.002 ft²) | 79 of 83 | 83 of 87 | ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR: nothing shipped changes; the limitation (#1067) stays documented - [x] Changelog fragment under `changelog.d/research/` - [x] The limitation stays documented: #1067, `docs/contribution-map.md` - [x] Commit messages describe what changed and why - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - [x] Reverse-engineering finding: probe, scorer, report and dated addendum. The office files are third party and not committed; the report names only the elements RE-258 already published and describes the others by role. ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk proprietary content - [x] No fixtures I declare that this format finding comes only from public byte observations of the reference models and Revit's own exports of them (CLEANROOM.md source 1); no Autodesk or ODA SDK source, disassembly or NDA material was used. ## Breaking changes None. ## Related issues Refs #1067, #1016.
Summary
RE-258 measures where rvt-rs's walls stand against Revit's export, base and top. On the BIM4LCA office they differ at one end only: 65 tops and 20 bases as built, 70 and 24 at permit. On Core Interior's 360 walls and puzzbobb's 117 R2025 walls, both ends match.
Revit cuts a top at the underside of a floor that the wall's top join names (
JoinToRoofGStepwithm_baseOrTop1), over the wall's middle. That rule gives 63 of 65 office tops as built and 68 of 70 at permit, but it also cuts 5 walls at each stage that Revit leaves whole. Neither file tells those apart, so no wall is cut. The base waits on the footings, which rvt-rs draws as boxes and Revit draws sloped.tools/re/wall_heights_vs_ifc.pyis new, and Measure now runs it on every model.Motivation
#1067 (W6, and W7's walls'
Height, which RE-257 showed is the body's span). Before writing a cut rule, the question was whether one exists that is never wrong.Changes
tools/re/wall_heights_vs_ifc.py(new) compares each wall's base and top with Revit's body, and the floors', roofs' and footings' own heights. It prints the extents, which floors cross which wall ends, and each floor's underside over a wall's middle in both files. It fits the 40.33 degree turn between the office's two plans by least squares (residual 0.016 ft). The pieces either exporter writes under one Tag (a floor sketched as separate loops) count as one body, and only each product's Body representation is meshed, with the products left out counted (Codex's reviews).tools/ci/measure-reference-models.sh: Measure runs it on every model (56 s on the office, 8 s on Core Interior).reports/element-framing/RE-258-wall-cuts.md, an addendum indocs/rvt-moat-break-reconnaissance.md,changelog.d/research/wall-cuts.md.README.md: the wall height gap says Revit cuts at one end, mostly at a floor the wall's top is joined to.Testing
Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.
tools/check-local.shpasses: this PR's CI.refs/archive/2026-10-27/re/wall-cuts. The tallies are in the report. 40556720844 re-ran every model with the merged-pieces scorer (5820d7b), and 40720727607 with it meshing only the Body (7df1774): its output is byte-identical to 40556720844's on all 29 scored models, nothing is left out, and every count in the report is unchanged.Audit-honesty checklist
changelog.d/research/Legal and contribution hygiene
I declare that this format finding comes only from public byte observations of the reference models and Revit's own exports of them (CLEANROOM.md source 1); no Autodesk or ODA SDK source, disassembly or NDA material was used.
Breaking changes
None.