Repository navigation
fix(ifc): a family instance Revit writes as a covering takes the area of its saved mesh's face where the mesh is one part with one-piece faces, as Revit's export gives it (#1209) - #2060
Merged
Conversation
…h's face where that face is one piece, as Revit's export gives it (#1209) Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
…ne-piece saved face, 22 of 22 equal on the BIM4LCA office, and the W7 line, contribution map, one-project rules and changelog say so (#1209) (RE-480) Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
… Revit's own body there, and which GrossArea sources each revit-ifc add-in has (#1209) (RE-480) Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
… of its saved mesh's face where the mesh is one part with one-piece faces, as Revit's export gives it (#1209) Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
…ring-areas # Conflicts: # src/ifc/saved_meshes.rs
… from their one-part saved mesh face, 72 of 72 equal on the BIM4LCA office and housing, and the W7 line, contribution map and changelog say so (#1209) (RE-484) Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
DrunkOnJava
marked this pull request as ready for review
November 15, 2026 12:15
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 family instance that Revit writes as an
IfcCovering(ROOFING: ventilation units, snow guards, downpipe casings) with noQto_CoveringBaseQuantities.GrossAreatakes the area of its saved mesh's face. The mesh must be one connected part, and its largest upward and downward horizontal faces must each be one piece and agree to 0.1%. It extends #2056's ceiling rule (RE-480). Rows: #1209 (comment 6893635627, registered before the run).Motivation
#1209's roofing coverings. revit-ifc 24.2's
GrossAreaCalculator(CLEANROOM.md source 5) gives a family instance the area of the extrusion its body was exported as. It has no computed-area fallback.The census (
tools/re/covering_areas_vs_ifc.py, branchresearch/1209-covering-areas, Measure 43708847856) paired every covering by Tag on the BIM4LCA office and housing:GrossArea.Changes
reports/element-framing/RE-484-family-instance-covering-gross-area.md,docs/release-1.0-criteria.md,docs/contribution-map.mdandchangelog.d/fixed/1209-roofing-covering-gross-area.md.src/ifc/saved_meshes.rs:ceilings_without_areabecomescoverings_without_area, taking theRevitClassto select.FamilyInstancecoverings, requiresone_part, and gives themone_piece_face_area.add_covering_areas(formerlyadd_ceiling_areas).Testing
Measure 43709928629 ran the code commit
049e4593against its merge-base340c8727: nordic, r2025, samples and holdout.Qto_CoveringBaseQuantities.GrossAreaequal rises by 12, 12, 13, 11, 13 and 11 on the two as-built office files and the four housing files: 72, all equal.differentstays 0 on the housing and 1 on the office.exported.total_entitiesalone, one per covering given a new set.same-project gatespasses on049e4593.The docs commit
c8583cc5changes no code:--carry-proof 43709928629.Audit-honesty checklist
docs/release-1.0-criteria.md, the W7: coverings' GrossArea: the BIM4LCA housing's 10 roof vents of several parts, where Revit's value is one solid's (RE-484), and the ceiling written as IfcSlab (#2074) #1209 row ofdocs/contribution-map.mdand the changelog fragment. The rule rests on two BIM4LCA buildings, so it is not ondocs/one-project-rules.md; RE-484 section 7 says whose families it rests on.Legal and contribution hygiene
Breaking changes
None.
https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut