Repository navigation
research(elements): RE-151 Revit's unfilled openings are holes in their host's sketch (#227) - #586
Merged
Merged
Conversation
DrunkOnJava
enabled auto-merge (squash)
October 3, 2026 14:47
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.
The probe and report behind #584. Every one of Core Interior's 63 unfilled openings is tagged with a sketch line whose owner is the opening's host. The tag is the lowest id of the sketch lines on the hole. Measure run 37126299322.
Note
Low Risk
Adds documentation and an optional diagnostic example only; no library or export behavior changes in this diff.
Overview
Adds research artefacts for RE-151 (#227): a Cargo example and an element-framing report that explain how Revit tags the 63 Core Interior openings that have no door/window fill.
The new
probe_re151_unfilled_openingsexample pairs a model with its reference IFC (*_slim.ifcor*.ifc), collects unfilledIfcOpeningElements and their voided hosts, then resolves each openingTagin partition record chains (class, category, bbox, references) and lists sketch lines owned by relevant hosts. Output is JSON summaries plus sample rows for measurement workflows.The report
RE-151-unfilled-openings.mdrecords the conclusion: every such opening is aCurveElemsketch line (OST_SketchLines, −2000045) whose owner is the host, with the opening tag equal to the lowest ElementId on the hole’s sketch loop; it notes how Revit duplicates hole geometry in IFC and that follow-up export work landed in #584 (tests/unfilled_openings.rs), with the single wall case still blocked on elevation-profile decoding.Reviewed by Cursor Bugbot for commit 5b60313. Configure here.