Skip to content

feat(ifc): write a curtain mullion's and panel's IsExternal from its curtain wall (W7) (#1187) (RE-288) - #1199

Merged
DrunkOnJava merged 6 commits into
mainfrom
w7/curtain-member-is-external
Oct 30, 2026
Merged

DrunkOnJava merged 6 commits into
mainfrom
w7/curtain-member-is-external

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Write each curtain mullion's and panel's IsExternal by its curtain wall's value, the host rule of revit-ifc's IsElementExternal that exporters from IFC_v24.2.20 on apply (the maintainer, 2026-10-30). Nothing is written on the member types, and the cache replay of RE-269 is never written. Closes #1187.

Motivation

RE-269 found that the office's exports get their members' values from the exporter's cache of element types, not from the model, and left rvt-rs writing none. The maintainer then chose the host rule. Related issues: #1187.

Changes

  • attach_curtain_member_is_external (src/research/partition_schema_mvp/curtain.rs), called after attach_is_external: a mullion or panel with no value of its own takes the IsExternal of the curtain wall it is aggregated under.
  • tools/re/psets_vs_ifc.py docstring and comments: the office's cache values stay counted apart; RE1 Architecture's are scored.
  • RE-288 (report), RE-193 and RE-269 (updated), W7 line, supported profile, support matrix, README, ROADMAP, changelog fragment, reconnaissance addendum.

Testing

Unit tests are banned in this repository; none added. Verified end to end with Measure on the BIM4LCA office (CC BY-SA 4.0), RE1 Architecture (MIT) and the R2025 models (Apache-2.0), against Revit's own exports.

  • Measure run 41135969591, unfiltered against main (-f base=main -f nordic=true -f r2025=true -f ifc_flags=--revit-set-placement), commit fdf8bfc; run 41136306387 on the final code (cf7b760): the same export hashes on the office and RE1 Architecture.
  • Only three exports change: the office as built, the office at permit and RE1 Architecture. Core Interior, Einhoven, RE1 Electrical, Mechanical and Plumbing and the 24 R2025 models are byte-identical.
  • Values written (parameter_value_count): +10,262 on the office as built (10,001 of 10,003 mullions, 260 of 260 panels, 1 curtain panel written as a door), +10,299 at permit, +12 on RE1 Architecture.
  • Census (psets_vs_ifc.py, equal / different / missing): office as built 45,088 / 1 / 436 to 45,089 / 1 / 435, at permit 45,270 / 1 / 433 to 45,271 / 1 / 432 (the +1 equal is the curtain panel written as a door, false like Revit's); RE1 Architecture 196 / 0 / 64 to 208 / 0 / 52 (its 10 mullions and 2 panels, 0 of 12 before). The office's 10,003 mullions, 260 panels and 4 mullion types stay counted apart as RE-269's cache.

The gap

  • Exterior curtain members are checked against revit-ifc's source only. The one model of a newer exporter with curtain members is RE1 Architecture (26.2.0.20), whose 12 members stand on one interior curtain wall (false by either rule). No newer exporter's model has an exterior curtain wall; about 9,140 of the office's mullions would be true by the rule (RE-269 §4).
  • The office's own export (24.0.5.432) differs from the rule on 8,579 of 10,003 mullions and 33 of 260 panels as built (RE-269 §3); the census counts those apart, so they do not score as different.
  • Two mullions rvt-rs finds no curtain wall for (1417045, 1430620) stay missing.

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • Changelog fragment changelog.d/added/curtain-member-is-external-host.md
  • Limitations documented here, in RE-288 and in the W7 line
  • No emojis, no private paths

Breaking changes

None.

Screenshots or output samples

RE1 Architecture, Pset_MemberCommon.IsExternal: 10, equal 10, different 0, missing 0 and Pset_PlateCommon.IsExternal: 2, equal 2, different 0, missing 0 (were equal 0, missing 10 and 2).

@DrunkOnJava
DrunkOnJava marked this pull request as ready for review October 30, 2026 22:38
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Owner review: implements the maintainer's revised decision (#1187). attach_curtain_member_is_external runs after attach_is_external and gives a curtain mullion or panel with no value of its own the IsExternal of the curtain wall that aggregates it. A part with no curtain wall, or whose wall has no value, gets nothing, and member types get nothing. Measure 41135969591 and 41136306387: only the office's two files and RE1 Architecture move. RE1's 12 members go from 0 to 12 equal. The office's cache values stay counted apart, with different unchanged at 1. parameter_value_count moves by the values written. The gap (exterior members checked against revit-ifc's source only) is stated in RE-288, the W7 line and the PR. Armed.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 30, 2026 22:39
@DrunkOnJava
DrunkOnJava merged commit 2d2e754 into main Oct 30, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the w7/curtain-member-is-external branch October 30, 2026 22:45
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
DrunkOnJava added a commit that referenced this pull request Oct 31, 2026
…1186 and #1187, which are closed (#1216)

Housekeeping. `docs/contribution-map.md` says it lists every open issue
by milestone. Four new 1.0.0 issues were missing (#1203, #1207, #1208,
#1209), and #1187 closed when #1199 landed. The rows use each issue's
title, leaving out the RE ids whose reports haven't landed yet (RE-291,
RE-296, RE-298), so `tools/ci/api-doc-ids.py` stays green. Docs only; no
changelog fragment.
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.

W7: curtain members' IsExternal by the host rule, the office export's cache values counted apart (RE-269)

1 participant