Skip to content

fix(ifc): a column or beam drawn as its type's I or hollow section binds by its base elevation, as its record box did (#1947) - #1951

Merged
DrunkOnJava merged 1 commit into
mainfrom
fix/1947-section-column-storey
Nov 13, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
fix/1947-section-column-storey

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

record_base_elevation_feet lists the body sources whose location_feet is still the record box's base, so that apply_element_record_storeys can bind them by their base elevation. A beam drawn along its line is listed for that reason (RE-328). A column or beam drawn as its type's I section (RE-104, since #476) or hollow section was not, though the section replaces the box's footprint, must fit it, and keeps the element at the box's plan centre and base. Such an element whose record names no single Level lost the binding its record box gave it. Both sources are now listed.

Testing

The unfiltered Measure with the samples is in this PR's comments. Its storey scorers say which section columns now bind, and whether to Revit's storey.

Refs #1947.

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • A user-visible change has its entry as a fragment under changelog.d/fixed/

…nds by its base elevation, as its record box did (#1947)
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Measure run 43517889653 on 0d2ea539 against main 702fd70c (nordic, r2025, samples, every scorer): ifc.sha256 equal on 101 of 101 models and diagnostics.json equal on 101 of 101, so no reference model reaches the changed branch and no export moves. same-project gates passes on 0d2ea539. The change rests on the code read in the description; it is output-neutral on every model we can measure.

@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 13, 2026 23:37
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 13, 2026 23:58
@DrunkOnJava
DrunkOnJava merged commit d679d38 into main Nov 13, 2026
65 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1947-section-column-storey branch November 13, 2026 23:59
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.

1 participant