SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.29k stars 862 forks source link

Assign mouse buttons #4440

Open MrDB42 opened 8 months ago

MrDB42 commented 8 months ago

Is there an existing issue for this feature request?

Is your feature request related to a problem?

I would really like to be able to reassign/swap the mouse buttons for rotate and pan. It's frustrating going from my CAD software and then to Orca Slicer and find that they are opposite controls.

Which printers will be beneficial to this feature?

All

Describe the solution you'd like

I would like to be able to go into "Preferences" and be able to have the choices of: EDIT (checkbox) Swap mouse buttons

Describe alternatives you've considered

I can't think of any alternative ways of doing this.

Additional context

No response

ramosglauco commented 7 months ago

Please, add this functionality. This is present in PS and would be of great help if it were also here.

image

wi1k1n commented 6 months ago

+1

Ale11Re commented 6 months ago

+1 In addition, while viewing model in the prepare tab, the only way to rotate view is by left click, which is also for model movement. It happened too many times that I misplaced model for that. Also, right click and wheel click do exactly the same. That is a waste of buttons. Letting user assign its preferred modes would be ideal.

gknapp commented 6 months ago

Similar issue open for PS - open for years too. Would like to see mouse button assignment in preferences please. The default doesn't match CAD software. https://github.com/prusa3d/PrusaSlicer/issues/4277

maxzera commented 5 months ago

+1 Changing between Orca, Blender and Fusion absolutely boggles my mind. At least in Blender and Fusion, I can customize it freely.

Blender: blender_nufkREr6EW

Fusion: Fusion360_k8A1b4nnrR

csstup commented 3 months ago

Wanted to pick up a project to help give back to OrcaSlicer, thought this would be a good one to get started on.

I thought it wouldn't be a bad idea to allow each of the buttons to be assignable to an action on drag, so you can set each button to either "Rotate", "Pan" or "None".

As a mockup, I hacked the preferences panel a bit to give more room for the labels on the left and coded up the logic for the dialog, the preferences defaults and the mouse handling routines. So far it works great, but the UI needs polishing. The alignment isn't great, one of the labels doesn't fit, etc. The labels/options may not make sense and I'm really interested in hearing options/suggestions.

Here's what I have so far:

image

This shows the defaults as what Orca would usually have set. You can change it as you'd like:

image

The changes are pretty simple and I can commit it to a branch on a fork for code review if this seems like a viable solution.

Thanks!

NeighNeighNeigh commented 2 months ago

did this ever get any traction? I would love to unify the navigation controls to match my other apps. I feel so clumsy in Orca

metalman1884 commented 1 day ago

Wanted to pick up a project to help give back to OrcaSlicer, thought this would be a good one to get started on.

I thought it wouldn't be a bad idea to allow each of the buttons to be assignable to an action on drag, so you can set each button to either "Rotate", "Pan" or "None".

As a mockup, I hacked the preferences panel a bit to give more room for the labels on the left and coded up the logic for the dialog, the preferences defaults and the mouse handling routines. So far it works great, but the UI needs polishing. The alignment isn't great, one of the labels doesn't fit, etc. The labels/options may not make sense and I'm really interested in hearing options/suggestions.

Here's what I have so far:

image

This shows the defaults as what Orca would usually have set. You can change it as you'd like: image

The changes are pretty simple and I can commit it to a branch on a fork for code review if this seems like a viable solution.

Thanks!

@csstup This feature needs to exist on every slicer! Someone already commented but there are always misplacements because the same button does both move part and pan camera, and it's really frustrating to go between your favorite CAD and Orca and having to remember which button does what. Any updates on if this could be implemented on the next release?