Closed RealTadango closed 4 years ago
Hi,
Have a look in the cura.log file and see if there are any error messages tagged RawMouse.
When the plugin is loaded you should get messages similar to below (this are from a Linux box)
2020-04-07 18:49:35,564 - DEBUG - [MainThread] RawMouse.RawMouse._cacheProfileValues [119]: Device 3Dconnexion / 3Dconnexion Universal Receiver, profile spacemouse
2020-04-07 18:49:35,565 - DEBUG - [MainThread] RawMouse.RawMouse._cacheProfileValues [136]: axis 0, scale = -0.100000, threshold = 0.010000, offset = 0.000000, target = mov
x
2020-04-07 18:49:35,565 - DEBUG - [MainThread] RawMouse.RawMouse._cacheProfileValues [136]: axis 1, scale = -100.000000, threshold = 1.000000, offset = 0.000000, target = z
oom
2020-04-07 18:49:35,565 - DEBUG - [MainThread] RawMouse.RawMouse._cacheProfileValues [136]: axis 2, scale = -0.100000, threshold = 0.010000, offset = 0.000000, target = mov
y
2020-04-07 18:49:35,565 - DEBUG - [MainThread] RawMouse.RawMouse._cacheProfileValues [136]: axis 3, scale = -0.050000, threshold = 0.010000, offset = 0.000000, target = rot
pitch
2020-04-07 18:49:35,566 - DEBUG - [MainThread] RawMouse.RawMouse._cacheProfileValues [136]: axis 4, scale = -0.050000, threshold = 0.010000, offset = 0.000000, target = rot
roll
2020-04-07 18:49:35,566 - DEBUG - [MainThread] RawMouse.RawMouse._cacheProfileValues [136]: axis 5, scale = 0.100000, threshold = 0.010000, offset = 0.000000, target = roty
aw
2020-04-07 18:49:35,567 - DEBUG - [RawMouse] RawMouse.RawMouse._run_hid [204]: Trying to open /dev/hidraw2
2020-04-07 18:49:35,568 - INFO - [RawMouse] RawMouse.RawMouse._run_hid [210]: Manufacturer: 3Dconnexion
2020-04-07 18:49:35,568 - INFO - [RawMouse] RawMouse.RawMouse._run_hid [211]: Product: 3Dconnexion Universal Receiver
2020-04-07 18:49:35,569 - INFO - [MainThread] UM.PluginRegistry.loadPlugin [449]: Loaded plugin RawMouse
Do you get the "trying to open" message ?
Yes.
2020-04-08 14:47:52,394 - DEBUG - [RawMouse] RawMouse.RawMouse._run_hid [204]: Trying to open \?\hid#vid_256f&pid_c652&mi_01&col02#9&2236a930&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030} 2020-04-08 14:47:52,395 - INFO - [RawMouse] RawMouse.RawMouse._run_hid [210]: Manufacturer: 3Dconnexion 2020-04-08 14:47:52,400 - INFO - [MainThread] UM.Logger.info [112]: Loaded plugin RawMouse 2020-04-08 14:47:52,400 - INFO - [RawMouse] RawMouse.RawMouse._run_hid [211]: Product: 3Dconnexion Universal Receiver 2020-04-08 14:47:52,404 - DEBUG - [MainThread] UM.PluginRegistry.loadPlugins [369]: Loading all plugins took 2.468027353286743 seconds
Mmh, seems to be working with the cable, but not with the receiver.
Have you tried without the cable plugged in and the wireless mouse switched on?
Yes (i always have it turned on, only use it wireless ;)) I just tested with the wire because i noticed the devices in the config.
Well, that's all very weird because I have tested it OK with a Windows 10 home system. The fact that you are seeing the trying to open message means that the universal receiver is detected correctly.
Yes, i understand. But it works with fusion, not with cura (wireless). With cable it works with both (just inverted in cura, need to figure those settings out :))
To change the direction of an axis swap the sign of the scale value in the profile, i.e. -0.1 becomes 0.1, etc.
Yes, found that ;) Works pretty good, but not perfectly smooth
I will do a reboot later and see if that fixes the wireless connection. Can it be a device id / index issue or something? I have a cad mouse connected to the receiver also.
Ah, if you have another device connected to the receiver that could make all the difference. I'll look into that and get back to you.
Have you cloned this git repo or are you using the release zip file? If you have cloned the repo, please do a git pull and the master branch now has the ability to specify the HID interface_number.
With that, you can change your config to look like this:
[ "0x256f", "0xc652", "spacemouse", "3Dconnexion Space Mouse Universal Receiver",
{ "platform": "Windows", "usage_page": 1, "usage": 8, "interface_number": 1 } ],
try different values for interface_number (0,1,...) and, hopefully, one will match the spacemouse.
Thanks, interface 2 is working :) Thanks for the fast support ;)
That's good. Cheers!
I am running Windows 10 and have a spacemouse Wireless. I am running Cura 4.5 and see the plugin in Cura. Under device information it show profile spacemouse. So, all looks correct? But there is no movement in Cura. I have stopped the 3dxWare driver, but that makes no difference....
Anything else i can try?