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.71k stars 1.93k forks source link

support for a 3Dconnexion mouse #1351

Closed ruedli closed 4 years ago

ruedli commented 6 years ago

After working with a 3D mouse, from 3Dconnexion in CAD and some other packages, I have to say that this works really nice compared to zooming and navigating with a normal mouse.

Sli3r could benift, not only for "moving around", but also placing and rotating objects. These could then be snapped to the lowest most horizontal surface

Is this a new feature request? Yes

szafran81 commented 6 years ago

+1 for SpaceMouse

dartrax commented 5 years ago

+1

mgg4 commented 5 years ago

Please, yes. This would be a great improvement to our workflows. Even if it was only used for manipulation of the views, this would be very much appreciated.

sfmarkham commented 5 years ago

+1 Give Your Users Best-in-Class 3D navigation Confused: What API to use to add 3D Mouse support to our app

ruedli commented 5 years ago

+1 Give Your Users Best-in-Class 3D navigation Confused: What API to use to add 3D Mouse support to our app

The 3Dconnexion website offers (after free registration) free access (on their developer's forum) to SDK's for windows, mac, unix/linux. They claim implementation effort is very modest and mention: "if it takes you more than a feww days, contact us"

Quote:

General Note: Implementation should take you 1-2 days to get correct motion depending on how familiar you are with your existing transformation code. 2D views should only do zoom and pan. 3D views should use all 6 DOF and implement the dynamic rotation center feature for object mode.

Let us know if there is anything more we can help with. If it looks like it is taking more time than that, you might want to contact us again directly. We are also happy to hear once you completed the integration so we can list your application as supported on our webpage.

SDK Download Support Resources 3Dconnexion developer's forum Email support for Windows: apisupport-win(at)3dx.com Email support for Mac: apisupport-mac(at)3dx.com Email support for UNIX/Linux: apisupport-unixlinux(at)3dx.com

srobert910 commented 5 years ago

+1 for spacemouse support.

bubnikv commented 5 years ago

I wrote support for the 3D mouse once for a Win32 application. It was not difficult indeed. but to be usable the refresh rate of the 3d scene has to be quite high. Also there are currently around 600 issues open, many more important than this one.

On Thu, Mar 21, 2019 at 5:47 PM srobert910 notifications@github.com wrote:

+1 for spacemouse support.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prusa3d/Slic3r/issues/1351#issuecomment-475311079, or mute the thread https://github.com/notifications/unsubscribe-auth/AFj5IyGKDqpuNuXs9ayyhiffMRxM2YX4ks5vY7ergaJpZM4X2ddz .

cggorman commented 5 years ago

Adding my support for this feature request!

After more than 10 years using 3D mice, it's quite difficult to go without.

ruedli commented 5 years ago

Yeah, know what you mean ;-)

I got the feedback that Prusa first wants to resolve issues and more generally used feature: this one has a low opportunity.

I tried locating the place in the code where this might need adding. Sofar I manged to at least set up an environment to compile it, but I could not see where to elegantly fit it in. If someone knowing how the mouse navigation (panning / zooming / rotating) os located can give hints, I could try further: apparently the coding is not too difficult: just knowing where to do it.... kept me from applying the change.

Kachidoki2807 commented 5 years ago

I have to add my vote to this feature request. There is nothing more disturbing after spending an hour or two from the CAD software to have to switch your brain from the left hand to the right hand regarding the camera management.

prowlmedia commented 5 years ago

+1

ruedli commented 5 years ago

Yes... happens to me a lot: Fusion360 on the left monitor, PrusaSlicer to the right, and then you wonder why nothing is moving on the right when you zoom and rotate intuitively... Especially when manipulating support blockers/enforcers and modifiers, the mouse positioning is not that great. This needs a "special move", so that the object is not rotating, but just moved in 3D. The rotating/zooming "inputs" could perhaps be used to move the view?

workinghard commented 5 years ago

+1. Would be great to have it!

cybie2k commented 5 years ago

+1 This would be huge time saver for me.

BranchyMcBranchface commented 5 years ago

Maybe if we all post duplicate Feature Requests we'll get more attention

workinghard commented 5 years ago

Don't think so. Devs are most likely busy with all SLA feature lists.

Kachidoki2807 commented 5 years ago

I would say, this feature also concerns people whom use the SLA tech. And I assume it's even more important for 'em to "navigate" fluently through the 3D scene to check the tree supports.

MiniZagGi commented 5 years ago

+1

Maybe even support for the Enterprise version as well. I would love to map bottoms to it and see the icons on the screen.

dahuafschmied commented 5 years ago

+1

Kachidoki2807 commented 5 years ago

Just saw the Jo's video on twitter, yesss. :-D

prowlmedia commented 5 years ago

Just saw the Jo's video on twitter, yesss. :-D

what video?

BranchyMcBranchface commented 5 years ago

https://twitter.com/josefprusa/status/1177531505301696512

It's alive!

prowlmedia commented 5 years ago

Cool I suppose this thread can be closed now :) Whoop

ruedli commented 5 years ago

Well, the tweet looks promising, but the thread should be closed when there IS support in PrusaSlicer release...

Good to see, that it gets some attention now, it really is more than "just" nice to have, given the MANY people confirming their expectation (and hopes) to be able to use their 3D mouse!

Op vr 27 sep. 2019 om 15:32 schreef prowlmedia notifications@github.com:

Cool I suppose this thread can be closed now :) Whoop

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/1351?email_source=notifications&email_token=ABGGYOFR4WACW2F7EETDZ3DQLYDOHA5CNFSM4F6Z25Z2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7Y42XA#issuecomment-535940444, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGGYOBSV5JJ3ETC3KZORBTQLYDOHANCNFSM4F6Z25ZQ .

-- Ruud Rademaker prefered mail: ruud.rademaker@gmail.com

vojtechkral commented 5 years ago

@probonopd Do you know whether we can assume that all linux distros have libudev? (Context: I'm looking into building/linking/distributing the 3D connexion support on Linux.)

probonopd commented 5 years ago

Not sure; I would suggest to bundle libudev inside the AppImage.

workinghard commented 5 years ago

@vojtechkral "all linux distros" definitely not. But the most recent major ones (Ubuntu/Debian/RH/Suse) have it as a package. During packaging you have to set it as required.

probonopd commented 5 years ago

PrusaSlicer is shipped as an AppImage for Linux, and AppImages shall not require anything that does not come with the main distributions' default installation.

GarthSnyder commented 5 years ago

+1. Waiting with bated breath...

ruedli commented 5 years ago

Yes, indeed: I can see the branch with the 3dconnection feature mentioned in git... It's coming....

Op do 10 okt. 2019 om 01:56 schreef Garth Snyder notifications@github.com:

+1. Waiting with bated breath...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/1351?email_source=notifications&email_token=ABGGYOF5WYZDZD5ATD7TKDTQNZVUBA5CNFSM4F6Z25Z2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZ2FNQ#issuecomment-540254902, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGGYOHCJGPAYP5TVY4T5J3QNZVUBANCNFSM4F6Z25ZQ .

-- Ruud Rademaker prefered mail: ruud.rademaker@gmail.com

jelmerS2 commented 4 years ago

Any updates on this? :) Would be great to use my space navigator here

Kachidoki2807 commented 4 years ago

According to this comment : https://github.com/prusa3d/PrusaSlicer/issues/3230#issuecomment-558584424, it should be supported on the next release.

Boby71 commented 4 years ago

+1 - thank you!

aderusha commented 4 years ago

The 2.1.1 release is out now, but I don't see any option to enable 3DConnexion devices nor does it appear to do anything with my device.

lukasmatena commented 4 years ago

2.1.1 is a minor update of 2.1.0. Most of the new features will be released with 2.2.0.

ruedli commented 4 years ago

Sooo happy with the first signs of implementation in 2.2.0 Alpha. I feel the motions are not quite all aligned with normal use? I miss the zoom options e.g. The 3dconnexion Trainer, which was installed as part of the driver pack for windows 10, gives quite a good overview of all movements: see image

All in all there are 6 distinct (2-directional) movements coming from the device:

Note that the y and z are swapped compared to what a Prusa 3D view would consider y and z.

It is probably best, to allow movement around the object in all 6 ways and let the user configure which device action moves which viewport direction (with a checkbox to "invert"). This to prevent a war between users used to conventions of the various CAD packages ;-)

Buzzz57 commented 4 years ago

It's great to have the 3Dconnexion mouse implemented. However, it seems like all the movements are the opposite to the "normal" ones and one can't change the behaviour even by going in the 3dconnexion settings pane.

bubnikv commented 4 years ago

I am closing this one, the following will be kept open to collect feedback on your preferred configuration of axes. https://github.com/prusa3d/PrusaSlicer/issues/3852

Please put the screenshots of your 3Dmouse configuration there.