Skip to content

Orient single-swing doors with Space - #366

Merged
IPedrax merged 3 commits into
IPedrax:mainfrom
drsurfbum:issue-301-door-space
Nov 11, 2026
Merged

IPedrax merged 3 commits into
IPedrax:mainfrom
drsurfbum:issue-301-door-space

Conversation

@drsurfbum

@drsurfbum drsurfbum commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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 door command.

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.

@IPedrax
IPedrax merged commit 391eee4 into IPedrax:main Nov 11, 2026
4 of 5 checks passed
@dronov-dmitry dronov-dmitry moved this to Done in BIMCraft Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants