Gesture navigation style is in master
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Gesture navigation style is in master
I'm proud to announce that the new navigation style I had a mission to make since my very first post here, was recently merged into master branch.
It is called "Gesture Navigation Style". Yes, it was made for touchscreens, but it also has a new way of navigating with regular mouse. The main feature is the combined action of left mouse button (LMB): select and rotate view.
Features:
mouse navigation:
* hold LMB and drag to rotate the view (like Inventor, but it also selects!). In sketcher and other editing, hold Alt in addition to rotate.
* hold RMB and drag to pan
* scroll wheel to zoom
* click the wheel to focus on the point under cursor (focus point = point the view rotates around)
* hold RMB+LMB to tilt (New!)
touchscreen navigation
* one-finger drag to rotate the view (works through mouse events)
* two-finger drag to pan. Alternatively, tap-and-hold, then drag.
* pinch to zoom and pan
* two-finger rotate to tilt the view
* tap a point and hit H on keyboard to focus on a point on object
Please keep me posted on if this works on Linux. (I've been developing for Windows 8, and I used Qt's gesture events. Unfortunately, Qt 4.8 gesture support on Windows was hopeless, so I had to mess with Windows API to improve it. I have done nothing special for Linux, so it will be supported only if Qt does a decent job.)
Special thanks to wmayer for a lot of help and merging, and cox for his help on making the code compile on Linux. Also thanks to sgrogan for feedback.
It is called "Gesture Navigation Style". Yes, it was made for touchscreens, but it also has a new way of navigating with regular mouse. The main feature is the combined action of left mouse button (LMB): select and rotate view.
Features:
mouse navigation:
* hold LMB and drag to rotate the view (like Inventor, but it also selects!). In sketcher and other editing, hold Alt in addition to rotate.
* hold RMB and drag to pan
* scroll wheel to zoom
* click the wheel to focus on the point under cursor (focus point = point the view rotates around)
* hold RMB+LMB to tilt (New!)
touchscreen navigation
* one-finger drag to rotate the view (works through mouse events)
* two-finger drag to pan. Alternatively, tap-and-hold, then drag.
* pinch to zoom and pan
* two-finger rotate to tilt the view
* tap a point and hit H on keyboard to focus on a point on object
Please keep me posted on if this works on Linux. (I've been developing for Windows 8, and I used Qt's gesture events. Unfortunately, Qt 4.8 gesture support on Windows was hopeless, so I had to mess with Windows API to improve it. I have done nothing special for Linux, so it will be supported only if Qt does a decent job.)
Special thanks to wmayer for a lot of help and merging, and cox for his help on making the code compile on Linux. Also thanks to sgrogan for feedback.
Re: Gesture navigation style is in master
Congrats DeepSOIC
I'm on Win7 with no touch screen but I like the mouse layout.
Because you like user feedback. What do you think about "zoom to fit" on MMB+RMB?
I'm on Win7 with no touch screen but I like the mouse layout.
Because you like user feedback. What do you think about "zoom to fit" on MMB+RMB?
"fight the good fight"
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Gesture navigation style is in master
Well, it's not hard. But that makes me think of making the actions customizable... somehow...sgrogan wrote:What do you think about "zoom to fit" on MMB+RMB?
Re: Gesture navigation style is in master
Fully customizable like keyboard shortcuts? That's pretty interesting.
But on the other hand I'm sure my preferences are perfect for everyone else
But on the other hand I'm sure my preferences are perfect for everyone else
"fight the good fight"
Re: Gesture navigation style is in master
That a very nice mouse navigation mode, one I would have very much liked to have 5 years ago when I was complaining about CAD navigation. But I got used to it and now I'm afraid I'll be unable to change my ways.DeepSOIC wrote:It is called "Gesture Navigation Style". Yes, it was made for touchscreens, but it also has a new way of navigating with regular mouse.
Nice job!
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Gesture navigation style is in master
Thanks Normand!
Re: Gesture navigation style is in master
Well done DeepSOIC, it's very easy to use and will help those people who didn't seem to like the way Rotation works in CAD Navigation style.
Re: Gesture navigation style is in master
Yes this is excellent... I'm using it since a couple of days and already hooked, cannot get back to CAD mode anymore Well done DeepSOIC!
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Gesture navigation style is in master
Thank you all for encouragement
I noticed a few places, where the nav style doesn't work. One is triangle creation, in mesh design (navigation with mouse doesn't work at all, nav. with touchscreen partially works). I guess, other operations from mesh design suffer the same problem.
Another is alignment dialog, where view rotation should be enabled without pressing Alt.
Please report if you find something similar.
I noticed a few places, where the nav style doesn't work. One is triangle creation, in mesh design (navigation with mouse doesn't work at all, nav. with touchscreen partially works). I guess, other operations from mesh design suffer the same problem.
Another is alignment dialog, where view rotation should be enabled without pressing Alt.
Please report if you find something similar.
- dubstar-04
- Posts: 698
- Joined: Mon Mar 04, 2013 8:41 pm
- Location: Chester, UK
- Contact:
Re: Gesture navigation style is in master
This works amazing on the macbook pro mouse pad.
I had to use a seperate mouse until now.
I had to use a seperate mouse until now.