Repository navigation
Infer an eligible host level for doors and windows - #320
Merged
Merged
Conversation
2 tasks done
IPedrax
added a commit
that referenced
this pull request
Nov 11, 2026
…it level With #343 an explicit level places an opening at that level's elevation, so the Foundation's puts the door under the wall's base and is refused naming that wall. The wall stays the host either way, which is what the test is for.
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.
A door or window placed with
atand nolevelcurrently fails when an empty foundation level sits below its valid host wall. Search eligible plan cuts from elevation zero upwards, then negative elevations downwards. Explicitlevelandwallretain their authority; failed lookups retain useful wall-span/cut diagnostics.Add ten command-driven integration tests for ground/upper floors, stacked hosts, below-ground fallback, explicit overrides, atomic errors/Undo, native save/reopen, visible plan pixels, and IFC fill/void/host relationships. Document the default and refresh generated catalog source references.
Closes #316.
Validation report: #316 (comment)
Synthetic evidence and complete commands: https://github.com/jonaswre/BIMCraft/tree/3b347f5284bff7a761a3ce87afef1758a6f05f01/evidence/issue-316
Validation: ten integration tests; 30 existing opening and 35 existing door tests; core all-target Clippy with warnings denied; formatting; translation catalogs. The rebuilt source CLI saves and reopens with identical element/GUID/host queries and plan pixels. IfcOpenShell independently builds the generated IFC geometry; the repository validator reports 10 products, 5 shapes, 0 problems.
Local limit: a broader wall group was interrupted after 151 passes while an unrelated annotated-tower fixture remained active at local opt0; that run is incomplete. Full workspace/platform checks and standard IFC CI jobs remain required. Local-only Cargo overrides were
profile.dev.package.bimcraft-core.opt-level=0andprofile.dev.debug=0; the CLI build used--no-default-featuresto omit optional DWG/Revit readers. No tests or CI checks were disabled or weakened.