Repository navigation
fix(elements): bind doors and windows to the nearest wall their reference list names (#439) (RE-85) - #442
Merged
Conversation
…ence list names (#439) (RE-85) The +0x88 reference list is in ascending ElementId order, so RE-23's slot before the record's own id is only the nearest smaller id: a host with a larger id comes after it, and families that list their type put it between. The host is now the nearest exported wall the list names, below the record's own id first, then above, skipping curtain walls once they are known. Snowdon Towers against Revit's export: 192 of 194 doors and windows take the wall Revit fills (107 before), 2 another wall Revit also cuts, none a wall Revit does not cut; the 11 void-only elements RE-84 left unhosted are openings. Core Interior and RE1 are unchanged.
DrunkOnJava
enabled auto-merge (squash)
September 28, 2026 00:35
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_ec557835-ea86-45fa-99c9-0357c82f13ed) |
9 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 21, 2026
…with evidence, in place of the milestone's percentage (#408) (#421) (#875) ## Summary The 1.0.0 milestone showed 85% complete because 12 of its 14 entries were closed. That counts tracker entries, not progress toward 1.0. This PR adds `docs/release-1.0-criteria.md`, which lists each 1.0 requirement with its bar, the value measured now on `main` at e56245f, a status (passed, failed or not measured) and the evidence. `RELEASE.md` gains a 1.0 gate that refuses the tag while any requirement has not passed. ## Motivation An outside review of the milestones found that "85%" mixed eight closed issues (mostly April-era task closures) with four pull requests, while the two open requirements (#408, #421) are the bulk of the work. #408 says what to measure but not what result passes, and #421's body was stale. The maintainer set the scope on 2026-10-21: 1.0 supports every Revit release from 2015 to 2027 and ships with no gaps or limitations. The page holds that scope to measured evidence. ## Changes - `docs/release-1.0-criteria.md` (new): ten workflow requirements (install, all releases, family files, elements on development and held-out models, geometry, properties, approximation reporting, the viewer journey, reproducible measurements), four interface requirements (stable surface, breaking-change checks, Rust and Python examples) and practitioner reports. Measured now: W1 and W6's diagnostics counting passed, most others failed, three not measured. A bar marked *proposed* (W10, P1) is a draft until the maintainer sets it. - `RELEASE.md`: a "1.0 gate" section. - `ROADMAP.md`: the 1.0.0 section states the decided scope and links the page. - `docs/maintaining.md`: monthly checklist item 8 compares the page with the milestone. - `docs/contribution-map.md`: remainders regenerated from the tracker. #847 and #763 are closed. #869 and #824 moved to 0.6.x, #834 and #810 to 0.7.0, and #792 to 1.0.0, each having a user-facing acceptance criterion (maintaining.md triage rule 3). The new 1.0 issues #871 to #874 are listed. - `docs/reference-models.md`: Snowdon Towers' export count now matches the README (5,974, after #442; it said 6,021). - `CHANGELOG.md`: an `[Unreleased]` Changed entry. Tracker changes made alongside this PR (not in the diff): #871 (no output says a file's release is read experimentally), #872 (runnable API examples), #873 (the stable surface and its checks) and #874 (practitioner reports) filed under 1.0.0; #421's body reconciled with what has shipped; the milestone description points to the page. ## Testing N/A: docs only, no code. Every relative link in the edited files resolves (checked by script). Each "measured now" value is taken from the README, the supported profile, the reference-model table, the issue threads or the code at e56245f, as cited in its cell. No new measurement was run. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR. No claims of features that have not shipped. - [x] No limitation resolved. - [x] No limitation introduced. The page records existing gaps as failed requirements. - [x] Commit message describes what and why - [x] No emojis - [x] No private paths, personal email addresses or internal jargon - [x] Not a reverse-engineering finding ## Legal and contribution hygiene - [x] Licensable under Apache-2.0 - [x] No Autodesk proprietary source, decompiled internals or NDA SDK content
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
Doors and windows bind to the nearest wall their record's reference list names, below their own ElementId first and skipping curtain walls, instead of RE-23's single slot before their own id (RE-85). On Snowdon Towers every door and window Revit fills an opening for now gets a host that Revit cuts, 192 of 194 exactly Revit's.
Motivation
#439: three Snowdon hosts differed from Revit's, and 84 doors and windows Revit fills got no host at all. The
+0x88reference list is in ascending ElementId order, so RE-23's slot is only the nearest smaller id: a host with a larger id than its door comes after it (63 cases), and families that list their type (Door-Opening, Schematic Opening Cut) put it between (the 11 RE-84 left unhosted).Changes
partition_schema_mvp::attach_host_candidates: candidates are the exported walls the list names, nearest below the record's own id first, then above; the nearest is the provisional host.bind_opening_hosts, run afterattach_curtain_walls: the first candidate that is not a curtain wall is the host. Revit cuts no opening for a door whose only candidate is a curtain wall, so such an element keeps no host. The candidate field is removed afterwards.examples/probe_re85_opening_host_candidates.rs,tools/re/opening_hosts_vs_ifc.py,reports/element-framing/RE-85-opening-host-candidates.md, recon addendum, RE-84 update note, README, supported profile, support matrix notes, CHANGELOG.Testing
tools/re/opening_hosts_vs_ifc.pyon Snowdon Towers (local only) against Revit's own IFC4 export:Per record: every Snowdon record naming one wall names Revit's host (235 of 235); the 6 naming several each take a wall Revit cuts. Core Interior (138 of 138) and RE1 Architecture are unchanged. Filled openings in both exports on Snowdon: 110 before, 194 of 194 now, 124 within 0.26 ft of Revit's (
openings_vs_ifc.py). Snowdon now exports 5,974 elements, 29 of them not in Revit's export (23 curtain panels, 6 Legends-phase slabs).-D warnings, rustdoc-D warningstools/ci/verify-real-files.sh --profile ciwith both corpora: passcargo +1.85.0 check --profile ci --all-targets; fuzz workspace checkAudit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.
Related issues
Closes #439. Refs #222, #309, #227.
Note
Medium Risk
Changes which wall receives
IfcRelVoidsElement/ opening fills for doors and windows on real 2024/2025 exports; behavior is gated on exported-wall membership but two Snowdon elements still pick a different cut wall than Revit’s primary fill.Overview
Door and window host walls no longer come only from the reference slot immediately before the record’s own ElementId (RE-23). The partition pass now treats every exported wall named in the
+0x88list as a candidate—nearest id below the opening first, then nearest above—and after curtain walls are known,bind_opening_hostskeeps the first candidate that is not a curtain wall (#439, RE-85).On Snowdon Towers this fixes the bulk of #439: filled openings that Revit exports go from 110 to 194 of 194, hosts in a wall Revit does not cut drop to 0, and the remaining 11 opening-cut-only cases from RE-84 can void the right wall when a host is found. Core Interior and RE1 stay at prior parity (e.g. 138/138). README, support matrix, CHANGELOG, RE-85 report,
probe_re85_opening_host_candidates, andtools/re/opening_hosts_vs_ifc.pydocument and score the change.Reviewed by Cursor Bugbot for commit 08cfce7. Configure here.