Roadmap 0.13, Fixes

FX.767 BimCraft: a right-click menu on the model (move, copy, delete, split, array, align, rotate)

  • Feature
  • Built · in the lab
  • BimCraft

Discord, a Discord member, 2026-12-02: "it would be good to implement right clicking functionality for modeling in BIMcraft. Right now, when I right click on anything in the program nothing happens. Some suggestions for the right clicking menu would be move, copy, delete, split, create array, align, rotate, etc." Checked 2026-12-02 (0.12.1 and the lab): he is right. In the plan a right-click only ends the wall chain being drawn (mui-layout.js hands PlanView `contextmenu: () => endChain()`), and with nothing being drawn it does nothing. The 3D view, the work plane view and the elevation editor swallow the click. The right-click menus that exist are the shell's (the toolbar, a tool, a panel head) and the wall profile editor's add or remove a point; Settings, Menus, keys and mouse only change what a right-button drag does. Plan: a menu at the pointer on a right-click in the plan and the 3D view. On a picked object (or the object under the pointer, which it picks first): Move, Copy, Rotate, Mirror, Align, Array, Delete, Duplicate, Pin or Unpin, each starting the tool BimCraft already has (modify.move, modify.copy, modify.rotate, modify.mirror, modify.align, modify.array, edit.delete, edit.duplicate, modify.pin). On empty space: Paste, Paste in place, Select all, Fit. While a tool is running the right-click keeps its meaning of today (end the chain), and a right-button drag still pans where the mouse style says so; a menu style where the right button pans must tell a click from a drag (PlanView already does, `_panned`). The menu is the shell's own menu part, so it gets the keyboard, the shadow and the translations of the others. Split: BimCraft's split tool is for walls (wall.split), so the menu offers Split on a wall only. Untested: nothing built yet.

lead 0.13 2026-12-02: Built in the lab: a right-click menu in the plan and the 3D view (rclick-menu.js, the shell's own menu part). On an element: Move, Copy, Rotate, Mirror, Align, Array, Split wall (walls only), Delete, Duplicate, Pin/Unpin, each running the existing command through ccInput.run; the element under the pointer is picked first. On empty space: Paste, Paste in place, Select all, Fit. While a tool runs a right-click still ends the wall chain; a right-button drag still pans (PlanView and the 3D viewer now wait for the release, since contextmenu fires on the press on Linux and macOS). Help: edit-elements.md "Right-click for the same tools". Tests: tools/bimcraft-test/browser-rclick-menu.mjs 22/0 in /lab (Linux Chromium, no console errors); test-bimcraft --modify all ok, --model 147/0; --input 80/1, the one failure lists other commands' buttons (wall.attach, model.levels ...), not this change. Untested: Windows and macOS event order, touch long-press, other locales (two new aria keys fall back to English).

Waits on: Hand check FX.767-HAND; help index rebuild at the next build-help run

From: Discord community

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.