Repository navigation
fix(ifc): a hosted door whose flip was not read gets no type GlobalId hashed with a guessed flip (#1947) - #1952
Merged
Merged
Conversation
… hashed with a guessed flip (#1947) (RE-167)
Owner
Author
|
Measure run 43518051555 on |
DrunkOnJava
marked this pull request as ready for review
November 13, 2026 23:37
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
revit_model_global_idshashes a door's or window's type GlobalId with its flip (RE-167), takingelement_flips.get(element).unwrap_or(false).element_flipsholds only the doors whose host frame and facing were read. RE-167 measures that a door with no host is not flipped; a hosted door whose flip was not read was also hashed as not flipped, which is a guess. A hosted door with no read flip now gets no Revit type GlobalId, and the writer derives one, as for any type rvt-rs cannot match. A hostless door keepsfalse.Testing
The unfiltered Measure with the samples is in this PR's comments.
global_ids_vs_ifcshows whether any door type that matched Revit by the guessed flip stops matching. If any does, the guess was right there, and that is the case to look at before this lands.Refs #1947.
Audit-honesty checklist
changelog.d/fixed/