Repository navigation
fix(ifc): a column whose saved mesh is a prism of another section than its type's rectangle is drawn from the mesh (#1710) - #1965
Merged
Conversation
…n its type's rectangle is drawn from the mesh (#1710)
Owner
Author
|
Measure 43543301739, unfiltered against
|
DrunkOnJava
marked this pull request as ready for review
November 14, 2026 02:28
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
A column drawn as its type's rectangle is now drawn from its saved mesh where that mesh is a closed vertical prism whose section area differs from the rectangle's by more than 0.1%. This is #1710's point 1: the BIM4LCA housing's 4 chamfered
Concrete columns (their rectangle 0.3% and 1.1% over Revit's section) and the 32Strut:1.5" x 1.5"columns of Autodesk'srmesamples of 2024 to 2027, drawn as solid bars where the mesh is a thin-walled section.Motivation
RE-425 gave these columns the quantities their mesh gives but kept the rectangle as their body, since a resolved profile is never offered the mesh (
is_replaceable_box). Where the mesh shows a section the rectangle is not, the mesh is the better body, and #1710 names that as what would close it.Changes
src/ifc/saved_meshes.rs:column_rectanglesbranch,section_not_rectanglecompares the mesh'scross_section_area(column_mesh_quantities, RE-424) with the extrusion's rectangle;COLUMN_SECTION_TOLERANCE(1e-3, relative) the column goes through the same replacement path as a box, its body becomes the mesh, and its quantities come from it there;Testing
Measure 43543301739, unfiltered against
main, with nordic, r2025, samples and holdout. Registered before it runs:rme_advanced/rme_basicsaves of 2024 to 2027. Every other export is byte for bytemain's.Qto_ColumnBaseQuantitiesequal does not fall and different does not rise; the 4 columns' bodies are their meshes (BodySourcesaved_graphics_mesh).same-project gatespass: thermesaves of 2024 to 2027 move alike.If a column moves that is not one of these, or a gate fails, the tolerance or the rule is narrowed before this leaves draft.
Measured (43543301739):
The chamfered columns are on the timber housing files. There, 8 columns are scored from their mesh where
mainscores 4, all 8 within 0.001 ft and 0.01% of Revit's volume.No quantity or property census line moves, and no held-out model moves.
same-project gatespasses.The 32
Strut:1.5" x 1.5"columns of thermesamples of 2024 to 2027 are now drawn from their saved meshes. No Revit export of those samples exists, so only the same-project gates hold them: the 2024 to 2027 saves move alike.tools/check-local.sh: no local builds;rustfmt --checkpasses; CI runs the rest.Audit-honesty checklist
Legal and contribution hygiene
Part of #1710.