Repository navigation
Orient single-swing doors with Space - #366
Merged
Merged
Conversation
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.
In plan, hover a single-swing door over a wall and press Space to move the hinge to the other jamb. Move the pointer across the physical wall center to change which side it opens toward. The preview and click use the same host, snap and orientation parameters for the existing
doorcommand.With one single-swing door selected, Space steps through the four Opens choices in palette order. Each press runs one
modify, so Undo goes back exactly one position. The shortcut leaves text entry, wall flips and the other placement tools alone.Refs #301 (door behavior only; the floor request remains separate). Based on Revit 2026 Place a Door and About the Spacebar.
Four desktop harness tests cover the painted preview and placed leaf on opposite wall directions, both sides of a face-based wall, cancel, selected-door cycling, Undo/Redo, native save/reopen, typing and unrelated selections. Run
cargo test -p bimcraft-ui-egui --lib door_space. The last commit only refreshes catalog source-line references; no messages, translations or file formats changed.Local macOS validation on
c947b866: all four focused tests passed. The workspace run reported 2,972 passed, 0 failed and 17 ignored (desktop: 866 passed, 6 ignored). The optional sample WASM plugin fixture was not built locally. Workspace all-target Clippy with warnings denied, formatting and the translation catalog check passed.