Repository navigation
ci: the saved-meshes scorer takes the union of the boxes of Revit's bodies that carry one Tag, so a roof written as slab parts is scored against its parts (#1612) - #1631
Merged
Conversation
…odies that carry one Tag, so a roof written as slab parts is scored against its parts and not the last one (#1191)
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
saved_meshes_vs_ifc.pytook, for a Tag that several of Revit's bodies carry, the last one's box. Revit writes a roof as anIfcRoofwithout a body plus one or moreIfcSlabparts that carry the roof's Tag, and the element rvt-rs draws whole is all of them. The box of the Tag is now the union of its bodies.Motivation
#1623 (the roofs drawn from their saved meshes) left three held-out roofs that
saved_meshes_vs_ifcput more than 1 ft off whilemesh_bodies_vs_ifcput every vertex within 0.001 ft. Measure 42688384777 on the held-out models and the office with this scorer: the roof of every held-out 2024, 2026 and 2027 save is within 0.01 ft of Revit's (counts only), the file-wide offset on the office is 0, and its totals are 11,039 of 11,040 within 0.01 ft. So the 1 ft was the pairing of one Tag with one of its parts, not the roof. (The saves' mesh triangles are wound consistently: no interior edge of a body of the office or of Snowdon Towers is wound against its neighbour, so no volume cancels.)Changes
tools/re/saved_meshes_vs_ifc.py:world_boxesunions the boxes of bodies sharing a Tag.Testing
--ref ci/saved-meshes-scorer-tag-union,nordicandholdout, scorersaved_meshes_vs_ifc). A scorer change: no export changes.Audit-honesty checklist
Breaking changes
None.
Related issues
Refs #1612.