prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.72k stars 1.93k forks source link

Feature Request: Mac trackpad gestures #2610

Open myreauks opened 5 years ago

myreauks commented 5 years ago

PrusaSlicer Version 2.0.0+

macOS 10.14.5

Feature Request

Would it be possible in the future versions to support the standard Mac trackpad gestures in the 3d viewport? I mean pinch to zoom and two-finger drag to rotate the view. If this is already supported, is there a menu setting to turn it on?

myreauks commented 5 years ago

A further question on this, is there any way to pan the 3d view with only a trackpad in use?

bubnikv commented 5 years ago

These gestures are currently not supported. They are OSX specific. We may implement these gestures one day.

myreauks commented 5 years ago

Thanks, just to be sure, is there a way to pan the 3d view without a mouse?

Edit: Actually, I just discovered it myself. It's two-finger click and drag. Simple enough :D

soswow commented 4 years ago

the only thing is missing is orbit when object is in the way. Currently single click and drag will orbit just fine. But if mouse down happens on object - then object moves. When I place support points very zoomed in there is simply no empty space (non-object) that I can mouse down on, to orbit.

bubnikv commented 4 years ago

the only thing is missing is orbit when object is in the way. Currently single click and drag will orbit just fine. But if mouse down happens on object - then object moves. When I place support points very zoomed in there is simply no empty space (non-object) that I can mouse down on, to orbit.

The PrusaSlicer 2.3.0-alpha3 will allow you to hold the Control key to rotate and pan the camera when inside the support point editing mode.

soswow commented 4 years ago

the only thing is missing is orbit when object is in the way. Currently single click and drag will orbit just fine. But if mouse down happens on object - then object moves. When I place support points very zoomed in there is simply no empty space (non-object) that I can mouse down on, to orbit.

The PrusaSlicer 2.3.0-alpha3 will allow you to hold the Control key to rotate and pan the camera when inside the support point editing mode.

~I just tried. I am not sure if I was clear with my initial message. Holding Control and dragging with normal click on trackpad pans. That wasn't a problem, since dragging with two fingers was already a panning action (no Control needed in this case). But rotation only possible when place you click when starting to drag is empty space and not a model.~

Ignore me. I have alpha0. Let me get the latest.

rufo commented 3 years ago

I saw the release notes for 2.3.0 included updating to wxWidgets 3.1.3, and there's built-in cross-platform support for multitouch gestures now. Apologies if this was already known, just wanted to note it in case anyone decides to pick this up 🙂

bubnikv commented 3 years ago

@rufo

I saw the release notes for 2.3.0 included updating to wxWidgets 3.1.3, and there's built-in cross-platform support for multitouch gestures now.

Thanks, we were not aware of that. We will look into that.

myreauks commented 3 years ago

@rufo

I saw the release notes for 2.3.0 included updating to wxWidgets 3.1.3, and there's built-in cross-platform support for multitouch gestures now.

Thanks, we were not aware of that. We will look into that.

Do you have plans on adding support for this in the future? It indeed seems that wxWidgets 3.1.3 onwards supports zoom gesture amonst others.