Repository navigation
feat(ifc): write a curtain mullion's and panel's IsExternal from its curtain wall (W7) (#1187) (RE-288) - #1199
Merged
Merged
Conversation
DrunkOnJava
marked this pull request as ready for review
October 30, 2026 22:38
Owner
Author
|
Owner review: implements the maintainer's revised decision (#1187). |
DrunkOnJava
enabled auto-merge (squash)
October 30, 2026 22:39
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.
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
Write each curtain mullion's and panel's
IsExternalby its curtain wall's value, the host rule of revit-ifc'sIsElementExternalthat 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 afterattach_is_external: a mullion or panel with no value of its own takes theIsExternalof the curtain wall it is aggregated under.tools/re/psets_vs_ifc.pydocstring and comments: the office's cache values stay counted apart; RE1 Architecture's are scored.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.
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.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.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
Audit-honesty checklist
changelog.d/added/curtain-member-is-external-host.mdBreaking changes
None.
Screenshots or output samples
RE1 Architecture,
Pset_MemberCommon.IsExternal: 10, equal 10, different 0, missing 0andPset_PlateCommon.IsExternal: 2, equal 2, different 0, missing 0(were equal 0, missing 10 and 2).