Repository navigation
fix(ifc): a face-hosted cut's opening keeps its place among its host's openings when an earlier one is not written (#1947) - #1950
Merged
Conversation
…ing its host, before any is declined (#1947)
Owner
Author
|
Measure run 43517772438 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
attach_face_hosted_cuts(src/ifc/mod.rs) numbered each opening by its place among the openings it wrote for a host. Its own comment says the number is the place among Revit's: the host's cutting instances, the highest ElementId first (Basic Roof:YP-1:2991742:1is hatch 2896992's,:4hatch 2053330's). A cut declined before another (no transform, not an upright prism, a host not drawn as an extrusion) shifted the name, and the GlobalId hashed from it, of every later opening on that host. The count is now taken per host tag at the top of the loop, before any decline.Testing
The unfiltered Measure with the samples is in this PR's comments. Where every cut of a host is written, nothing moves; it shows which exports had a declined cut ahead of a written one.
Refs #1947.
Audit-honesty checklist
changelog.d/fixed/