Repository navigation
fix(ifc): a room bound by its parameter block names that source, a wall's second refused end is counted, and a layer's name is its IFC4 Name (#1947) - #1948
Merged
Conversation
…ll's second refused end is counted, and a layer's name is its IFC4 Name (#1947)
Owner
Author
|
Measure run 43517425160 on |
DrunkOnJava
marked this pull request as ready for review
November 13, 2026 23:37
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
Three of #1947's findings, each re-read against the code:
LevelBindSourcepartition_element_record_reference_list: the writer's default for an unset source.rooms.rsnow setsm_levelBindSourceto the newROOM_PARAMETER_BLOCK_SOURCE(partition_room_parameter_block), as every other bind sets its own.tests/value_sources_offsets.rslists the new value.refused) and the other without (unmarked) dropped the second. Each end goes into one map or the other, and the unmarked hand-off was guarded by!refused.contains_key. The guard is gone, so both are counted, each in its own counter, asdocs/export-diagnostics.mdsays.IFCMATERIALLAYERwrote the name sixth (Category). IFC4's order is Material, LayerThickness, IsVentilated, Name, Description, Category, Priority, and the comment had it wrong too. No producer names a layer yet, so no export moves from this.Item 10 (Phasing, Insulation and Lining groups) is not changed. A group is written only where its id was seen in a measured model, and no model here holds a named parameter in those groups, so it stays left out and counted until one does.
Testing
The unfiltered Measure with the samples is in this PR's comments. Expected:
LevelBindSourcechanges on the models whose rooms bind by their block;exported.wall_end_reads_unmarkedchanges on walls with both kinds of refusal;Refs #1947.
Audit-honesty checklist
changelog.d/fixed/