Repository navigation
fix(ifc): a wall of a curtain wall type is a curtain wall on Revit 2024 to 2027 as on 2023, and a host panel of another curtain wall is not one (#1960) (RE-462) - #1966
Merged
Conversation
…tatus and profile pages say the curtain wall type rule (#1960) Only the 2024 to 2027 saves of rme_basic and rme_advanced move (8 of 146 exports): the two single-cell curtain walls 573660 and 573664 become IfcCurtainWall with their panels aggregated, 573665 gains the property every plate under a curtain wall has, and the 2023 and 2024 saves of rme_basic agree on 33 of 33 curtain walls and their panels. Timing is within 2.5% of main's.
DrunkOnJava
marked this pull request as ready for review
November 14, 2026 03:09
DrunkOnJava
added a commit
that referenced
this pull request
Nov 14, 2026
…all's grid is left out on Revit 2024, as Revit's export leaves it out (#1975) (RE-462) (#1986) ## Summary On Revit 2024 a curtain panel whose wall record holds a `HostPanelInfo` (the host panel of another curtain wall's grid) is left out, as Revit's export leaves it out. Snowdon Towers Architectural (local only) had 23 such panels written as `IfcPlate` `CURTAIN_PANEL` that Revit's export has no entity for. rvtReview's diagnosis on #1975 found the 23 extra plates are exactly the 23 `HostPanelInfo` walls, both ways. ## Changes - `partition_schema_mvp/curtain.rs`: `without_host_panels`, gated by `HOST_PANEL_REVIT_VERSIONS = &[2024]` (RE-353: only Snowdon 2024 holds host panels). It reads `HostPanelInfo` through #1966's `WallReads::host_panels`, so there is no new pass over the file, and it runs beside the empty-panel filter (#309). A read that fails keeps every panel and is reported in `warnings`. - `reader.rs`: the left-out panels and the error, as for RE-363's fixtures. `ifc/mod.rs` counts them as `element_record_curtain_host_panel`. `rvt-ifc` prints them, and the reason is added to `tests/export_decisions_counts.rs`'s frame reasons, the diagnostics schema and `docs/export-diagnostics.md`. - `docs/status.md` and a changelog fragment. ## Testing Registered on #1975 before the run. Measure unfiltered with samples, nordic, r2025 and holdout, and Snowdon's export kept: 1. The 23 `IfcPlate` go and no other entity of the Snowdon architectural export moves; the other four Snowdon files are byte-identical to main's. 2. Every other file of the models is byte-identical to main's. 3. Against Revit's local export of Snowdon architectural, scored locally (counts and Tags only), the `IfcPlate` Tags are equal: none only in Revit, none only in rvt-rs. ## Result Measure [43555675665](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43555675665): head `5099cbd2` against main `ca71e696`, unfiltered with samples, nordic, r2025 and holdout, Snowdon's export kept. The merge of main at `708dd626` (after v0.23.0) changes nothing the run measures. 1. **Holds.** Only Snowdon architectural's export moves: - `IFCPLATE` 485 to 462, and building elements 6,148 to 6,125. - The new skipped reason `element_record_curtain_host_panel` counts 23 `CurtainWallPanel`. - `schema.txt`'s two scorer lines: property sets 13,574 on 6,285 objects and types to 13,551 on 6,262. - The other four Snowdon files are byte-identical to main's. 2. **Holds.** 119 of 120 exports and 101 of 102 `diagnostics.json` files are byte-identical to main's. The one that differs on each side is Snowdon architectural's. 3. **Holds.** That run's kept export was scored locally against Revit's own IFC4 export of Snowdon architectural, by `Tag` (counts and Tags only): | | IfcPlate | only in rvt-rs | only in Revit | IfcCurtainWall | |---|---:|---:|---:|---:| | Revit | 462 | | | 60 | | main | 485 | 23 | 0 | 60 | | this PR | 462 | 0 | 0 | 60 | The 23 that go are the `CURTAIN_PANEL` plates of 7 curtain walls. `same-project gates` passes on `5099cbd2`. Clean-room: revit-ifc's `WallExporter.Export` and `CurtainSystemExporter.GetVisiblePanelsForGrid` are cited for what Revit writes, not copied. Closes #1975.
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
On Revit 2024 to 2027 a wall whose type is a curtain wall type is a curtain wall, as it already is on 2023, and a curtain wall that is the host panel of another curtain wall's grid is not one on either (RE-462). Closes #1960.
Motivation
#1960: the 2023 reader makes a wall a curtain wall by its type (RE-440) and the 2024 reader by a mullion that names it or a grid it finds (RE-46, RE-72), so they disagree on the two single-cell curtain walls of Autodesk's
rme_basic(573660 and 573664, no mullion):IfcCurtainWallon 2023,IfcWallon 2024. No Revit export ofrme_basicexists. The probe of this PR (run 43542030075) read what the walls of a curtain wall type hold, and Revit's exporter source says how it decides: by the curtain grid the wall has, with no test of mullions or cells, and a host panel of another curtain wall is folded into its owner (CurtainSystemExporter,WallExporter, revit-ifc, cited, not copied). Both readers are measured exact on every file that has a Revit export; neither is the exporter's rule.Changes
probes/examples/probe_re462_curtain_wall_structure.rs(new): for every wall of a curtain wall type, the objects its record holds, its cells and panels, and every other curtain wall its record or its panels' records name.src/research/native_walls.rs:WallFacts.host_panelandWallReads::host_panels: whether a wall's record holds aHostPanelInfoobject, read in the same projected read as the wall's type (no field added toWALL_READ_FIELDS) and by the full read where that makes the walls' type ids.src/research/partition_schema_mvp/curtain.rs:curtain_walls_by_type: on 2024 to 2027, a wall whose type is aNewCurtainWallTypeand that is no host panel is a curtain wall, beside the walls a mullion or a grid names. Its panel then names it as its whole, as the 2023 panels do.src/research/partition_schema_mvp/records_2023.rs: the 2023 type rule skips a host panel.reports/element-framing/RE-462-curtain-wall-type-and-host-panels.md,changelog.d/fixed/1960-curtain-wall-by-type.md, and the curtain wall rows ofdocs/status.mdanddocs/supported-profile.md.Testing
The rows were registered on #1960 before any run (comment); the results are RE-462 section 6. Measures at
c802574c: 43544055702 (unfiltered, every switch of the 146-model run), 43546540315 (both sides' exports kept for the 2023 and 2024 saves and Snowdon Towers) and 43546590766 (timing).rme_basicandrme_advancedmove: 8 of the 146 exports (113 of 121 diagnostics equal). Every other export, Snowdon Towers' five files, the BIM4LCA models, the 24 Revit 2025 models and the held-out models (counts only) included, is byte-identical tomain's.IfcCurtainWallnamedCurtain Wall:Standard:<id>with their panels 573661 and 573665 aggregated to them, and 573665 gainsPset_PlateCommon.IsExternal, as every plate under a curtain wall has it. Before the change 573661 was a part of 574261, a wall that does not hold it, and 573665 a part of none.rme_basicagree on 33 of 33 curtain walls and on every one of their panels (31 of 33 and 30 of 33 before).IfcPlate, which Revit's export has nothing for (Snowdon Towers: 23 host panels of curtain walls are written as IfcPlate where Revit's export writes nothing #1975).revit_compound_assemblies_and_walltype_widthsleaves the unsupported features).main's is at most 1.025 on 21 files timed (median 1.01).tools/check-local.sh: not run locally (no local builds);rustfmt --checkpasses on the edited files,tools/release/changelog.py check,tools/ci/api-doc-ids.pyandtools/ci/measured_numbers.pypass, and CI runs the rest.Audit-honesty checklist
docs/status.mdanddocs/supported-profile.mdsay the type rule and what measured it; a fragment underchangelog.d/fixed/.Legal and contribution hygiene
Breaking changes
None.
attach_curtain_wallsis crate-private.Related issues
Closes #1960. Follow-up found on the way: #1975 (the 23 host panels of Snowdon Towers written as
IfcPlate).