Option to change middle to right mouse buttons

Hi! First of all, thank you for your work on this.

I wanted to ask—would it be possible to change the mouse behavior so that the right mouse button rotates the model instead of the middle mouse button? I find using the middle button a bit uncomfortable, especially because I normally use it for zooming. It would make navigation much easier for me. Thank you very much for considering it!

1 Like

I don’t have middle button. It’s a pain can’t rotate with mouse.

The problem is that the left and middle buttons are already used for other things. But you can use arrow keys.

It would be best to add some small view controls customization, but of course it’s much more effort. Personally, I would just appreciate touchpad controls because arrow keys are inconvenient.

2 Likes

PrePoMax setting for mouse interaction similar with many CAD available, it’s effective without switch for rotating and zooming with single middle button only (click and scroll). However, combination of mouse right clicks and keyboard like ‘ctrl’ for rotating can be use when needed.

For reference, here are the navigation styles Abaqus offers:

FreeCAD has even more mouse navigation presets:

Only the TinkerCAD style uses pure RMB for rotation:

This is probably the most inconvenient mouse combination ever (luckily the middle mouse wheel also works). However, in return I would like to highlight an extremely pleasant navigation function from NX, which I would also like to have for prepomax: “fit/zoom all” by double-clicking in the free graphics window :partying_face:

2 Likes

I don’t like the ones in the CATIA V5 style, where you have to release the key you just pressed (LMB or RMB) to zoom. On the other hand, this is the most common choice when someone wants to navigate with just the mouse (without having to reach for keyboard keys). And zooming is usually done with the mouse wheel anyway, as you said (works with all the navigation styles in Abaqus).

I will also add that the Abaqus manual warns about the HyperView style since its combination used for rotation conflicts with the way multiple deselection is handled in Abaqus (and PrePoMax too).

1 Like

Freecad and gmsh both support left mouse rotate by default.

Softwares which cannot do that mostly use left mouse to box select. They need to setup a switch. By default, to rotate. Only when click a select icon, then change to box select.

In Gmsh yes: Gmsh 4.15.1

  • Pan - RMB
  • Rotate - LMB
  • Zoom - MMB

But in FreeCAD, the default setting is the CAD navigation style:

But it can be easily switched to one of the many available styles. More details can be found here.

This is a pretty easy feature to add. But I will look into creating some default presets or even a mouse/keyboard command editor.

1 Like

That would be great. Especially if there’s also support for touchpads.

It seems that most software uses a few presets so perhaps that would be the best option if they can be distinguished clearly.

I should also add CalculiX GraphiX to the list:

  • Pan: RMB
  • Rotate: LMB
  • Zoom: MMB

So the same as Gmsh.

ParaView is an exception to what I’ve mentioned above as it lets the user configure the action of each button alone and in combination with Ctrl or Shift:

It even has separate controls for 2D. IMO it’s way too much for most users. Presets make it easier to decide :wink:

maybe it can share similarity by combination of ‘ctrl’ keyboard with RMB, LMB and MMB in PrePoMax. This can be use as alternates or options without changing current default setting.

Those buttons with Ctrl would correspond to the HyperView style in Abaqus.

It is always good to have options. I prefer to use mouse only and left for rotate. Someone may likes keyboard only and some other likes keyboard+mouse.

Look at the photo, is the middle wheel acts as middle key also? Never clicked on it. Thought it is hard to click.

Yes, MMB in my posts means Middle Mouse Button so basically pressing the wheel in modern mice. Abaqus manual still shows the older type:

Of course, I always refer to the right-handed model.

1 Like

currently is capable for zoom in and out, rotated not yet supported indeed. At some CAD an icon of dynamic rotates needed to activate then combination with touchpad left-click.

Yes, I mean rotation - currently, it needs the keyboard arrow keys and is rather inconvenient on laptops with no physical mouse. In FreeCAD, touchpad controls are:

So rotation can be easily done by holding Alt and moving the cursor.

I pressed the wheel down and rotate, nothing happens.

It is uncomfortable to hold the wheel.

In PrePoMax ? It has to be held. It might be less convenient with some mouse models, though.