3Dconnexion mouse

Having trouble installing or compiling FreeCAD? Get help here.
flyer50
Posts: 14
Joined: Sun Jan 04, 2015 4:29 pm

3Dconnexion mouse

Postby flyer50 » Sun Jan 04, 2015 4:48 pm

Hello everyone and best wishes for a happy new year.

I just started using FreeCAD with this system

OS: Windows 7
Word size: 32-bit
Version: 0.14.3700 (Git)
Branch: releases / FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.6.2
Qt version: 4.5.2
Coin version: 3.1.0
SoQt version: 1.4.1
OCC version: 6.5.1

I would like to know if I can work witn the 3Dconnexion SpaceMouse Wireless

thank you very much
Flyer50
wmayer
Site Admin
Posts: 15259
Joined: Thu Feb 19, 2009 10:32 am

Re: 3Dconnexion mouse

Postby wmayer » Sun Jan 04, 2015 5:31 pm

This version should be compiled with 3D mouse support. To be sure go to Help > About and click the License button. If a message box appears with "3D Mouse Support: ..." then this version is prepared to support it. Then go to Tools > Customize where you should see two tabs dealing with 3D mice. If your mouse is detected you should see a couple of controls to adjust some settings, otherwise the two tabs are empty.
User avatar
ektus
Posts: 141
Joined: Sat Sep 22, 2012 6:23 pm
Location: Germany

Re: 3Dconnexion mouse

Postby ektus » Mon Jan 05, 2015 8:27 am

In 0.14.3700, my Spaceball 5000 USB device is working. In the current 0.15.4346 the license and config tabs are there, but no function of either the USB spaceball nor the serial SpaceMouse.


Regards
Ektus.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4346 (Git)
Branch: master
Hash: e329cb5c3acd5b170359e0e8cd28d98b61be935d
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
Last edited by ektus on Mon Jan 05, 2015 1:50 pm, edited 1 time in total.
wmayer
Site Admin
Posts: 15259
Joined: Thu Feb 19, 2009 10:32 am

Re: 3Dconnexion mouse

Postby wmayer » Mon Jan 05, 2015 11:02 am

Ah I see, the two tabs are only filled when using the spacenav package on Linux. This means even if you have a working space mouse on Windows the two tabs are empty.
ickby
Posts: 2936
Joined: Wed Oct 05, 2011 7:36 am

Re: 3Dconnexion mouse

Postby ickby » Mon Jan 05, 2015 11:29 am

Ektus, this means the spacemouse is not working at all in the 0.15 version? Does anybody has a spacemouse working with 0.15 in linux? I'm asking because the switch to the quarter-viewer also involved a few changes regarding the spacenav, but without such a device I can't debug anything.
mk2
Posts: 77
Joined: Wed Dec 10, 2014 4:27 pm

Re: 3Dconnexion mouse

Postby mk2 » Mon Jan 05, 2015 11:47 am

Hello,

my SpaceMouse Pro is still working on the latest daily build.

Spacenavd 0.6 (Little bit tricky to compile and install the latest spacenavd...)

OS: Ubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4401 (Git)
Branch: master
Hash: 4cfc2a1a08b13ba3fcb2d5205a0239c7dfb4ec8f
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1

But with WIN7 and the latest WIN-Build (64Bit), there is no action in FreeCAD with the latest 3DConnexion driver (3D-XWare-10 - 64BIT - 10.2.1). Can FreeCAD only communicate withe the spacenavd driver? For more Information about my WIN7 and FreeCAD version, i have to reboot, so if somebody need more information I'll do it ;)


Kind Regards

mk2
wmayer
Site Admin
Posts: 15259
Joined: Thu Feb 19, 2009 10:32 am

Re: 3Dconnexion mouse

Postby wmayer » Mon Jan 05, 2015 12:06 pm

ickby wrote:Ektus, this means the spacemouse is not working at all in the 0.15 version? Does anybody has a spacemouse working with 0.15 in linux? I'm asking because the switch to the quarter-viewer also involved a few changes regarding the spacenav, but without such a device I can't debug anything.
tanderson69 has one and IIRC normandc, too.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: 3Dconnexion mouse

Postby NormandC » Mon Jan 05, 2015 12:12 pm

I have not used it in a while, it's not even plugged in... I will try it tonight.
wmayer
Site Admin
Posts: 15259
Joined: Thu Feb 19, 2009 10:32 am

Re: 3Dconnexion mouse

Postby wmayer » Mon Jan 05, 2015 12:24 pm

If your mouse is detected you should see a couple of controls to adjust some settings, otherwise the two tabs are empty.
wmayer wrote:Ah I see, the two tabs are only filled when using the spacenav package on Linux. This means even if you have a working space mouse on Windows the two tabs are empty.
I debugged through the code and it's like a said before. If your 3d mouse is detected the two tabs are filled.

The point where this is done is

Code: Select all

GUIApplicationNativeEventAware::initSpaceball
In case the mouse is detected a callback function is registered which delivers raw input events from Windows. According to the code it seems that only SpacePilot[Pro] and SpaceExplorer are supported.
User avatar
ektus
Posts: 141
Joined: Sat Sep 22, 2012 6:23 pm
Location: Germany

Re: 3Dconnexion mouse

Postby ektus » Mon Jan 05, 2015 1:57 pm

wmayer wrote:Ah I see, the two tabs are only filled when using the spacenav package on Linux. This means even if you have a working space mouse on Windows the two tabs are empty.
No, they are not empty. And with 0.14 versions, even older devices are supported, as long as they are USB. To me, it looks like there has been a switch to a newer 3DConnexion driver that no longer supports "legacy" devices :( :evil:

I do have two devices connected, one USB Spaceball 5000 and one serial Space Mouse Plus. The latter has a working 3DConnexion driver (old version, but still) installed and can be used in e.g. Google Earth using that driver. FreeCAD doesn't use the system-wide driver but an inbuilt one on windows.

Regards
Ektus.
Config window of 0.14 under windows 7:
fcad_spaceball.png
fcad_spaceball.png (53.74 KiB) Viewed 6840 times