Repository navigation
research: the plan-profile scorer takes a top surface's area as the plan union of its upward faces, so a sloped top counts whole (#824) - #866
Merged
Conversation
…lan union of its upward faces, so a sloped top counts whole (#824) It kept only the upward faces at a body's highest level, which on a tilted floor is one triangle of its two: the BIM4LCA office's 8 sloped floors read as exactly twice Revit's area (#824). The plan union of every upward face counts a stacked layer's outline once, as the level filter did, and a sloped top whole.
DrunkOnJava
enabled auto-merge (squash)
October 20, 2026 04:51
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.
Part of #824.
tools/re/plan_profiles_vs_ifc.pykept only the upward faces at a body's highest level. Revit writes a layered floor as one solid per layer, so that filter stopped each layer from being counted. On a tilted floor, though, the faces at the highest level are one triangle of the top's two. So the BIM4LCA office's 8 sloped floors read as exactly twice Revit's area, and looked like triangles (#824, the comment of 2026-10-20).The scorer now takes the plan union of every upward face. That still counts a stacked layer's outline once, and it keeps a sloped top whole. Points and the outline come from all upward faces.
Measured
Measure run 39370597357 scored the same exports as main's latest run. Main's own exports did not change between the two (#861 and #863 touched no slab).
The 8 slabs that move are the sloped floors. Their outline was always Revit's: the gap is their slope, which rvt-rs does not read and this scorer does not compare.
Tooling only; no export changes.