3DConnexion Spcemouse

This is where you talk about Plugins. How they are made and how they work, show examples.

3DConnexion Spcemouse

Postby andileibi » Thu Jul 16, 2020 8:52 pm

Hello everyone, is there a plugin to use a 3DConnexion Spcemouse to control UCCNC?

https://www.amazon.de/3Dconnexion-Space ... 9967759395
andileibi
 
Posts: 29
Joined: Sat Dec 28, 2019 10:04 pm

Re: 3DConnexion Spcemouse

Postby cncdrive » Fri Jul 17, 2020 12:01 pm

No, there is no plugin for that, but if it has a programming APŰI or something to interface the device then anyone having this device could write a plugin.
Unfortunately we do not have one. :(
cncdrive
Site Admin
 
Posts: 4715
Joined: Tue Aug 12, 2014 11:17 pm

Re: 3DConnexion Spcemouse

Postby Robertspark » Fri Jul 17, 2020 12:02 pm

no, but you could write a plugin.

Or debpending what the spacemouse outputs by way of assignment of keyboard codes, you could assign these to functions. (I presume that there is an appliaction for the mouse that assigns keyboard functions to it).

Have a look at assigning hot keys (settings>>io trigger >> hot keys)
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: 3DConnexion Spcemouse

Postby eabrust » Fri Jul 17, 2020 12:42 pm

With a little googling, it seems that 3DX had an official C# SDK available, but it looks like you had to sign up as a developer to get access and /or request it via their support channels and forum.

There are also some 3rd party wrappers/code, such as this on Github: https://github.com/DMXControl/3Dconnexion-driver.

I assume your goal would be to use it as an analog joystick. Having used a number of 3DConnexion devices in CAD, and having one sitting on my desk currently, I really can't imagine trying to use one to control a CNC machine by itself. They are quite sensitive with all the axis of motion they detect, and the lack of buttons would make a safety lockout and other functionality hard to do. Compared to a pendant or XBox type of control pad, it seems hard to envision making one of these work as worth the effort it would take (not that it wouldn't be fun to try :) ).

regards
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 351
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: 3DConnexion Spcemouse

Postby andileibi » Fri Jul 17, 2020 1:05 pm

Yes, you are right, I want to use it like an analog stick and yes it is real sensitive but this is the reason why I want to use it.
I would write a plugin if I could but I’m not able to do thinks like this ☹
I also have an analog gamepad for PC, actually I use it with the Xbox360 controller plugin but with this plugin it works only digital, is there a way to use it analog?
I want that axis move faster as more I move the stick.
andileibi
 
Posts: 29
Joined: Sat Dec 28, 2019 10:04 pm

Re: 3DConnexion Spcemouse

Postby eabrust » Fri Jul 17, 2020 1:35 pm

andileibi wrote:Yes, you are right, I want to use it like an analog stick and yes it is real sensitive but this is the reason why I want to use it.
I would write a plugin if I could but I’m not able to do thinks like this ☹
I also have an analog gamepad for PC, actually I use it with the Xbox360 controller plugin but with this plugin it works only digital, is there a way to use it analog?
I want that axis move faster as more I move the stick.



Andileibi,

Try this plugin w/ your game pad: http://www.forum.cncdrive.com/viewtopic.php?f=14&t=394&start=120#p18652. It makes the sticks 'analog' velocity controls.

The closer your gamepad is to resembling an xbox controller the better (I use 'off brand' controllers that look like xbox, and they work fine).

And one word of caution, some people have had issues getting the plugin to work and showup in UCCNC, and I have not yet been able to figure out why or how to fix (either has to do with the way SLimDX sdk installed, or the xbox drivers causing the plugin to not run correctly or show up in UCCNC). The hard part is some users have two near identical computers, and it will run on one, and not on another... frustrating and hard to figure out... :roll:

If you try it and have questions, please post into that thread for the xbox plugin linked above.


regards
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 351
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: 3DConnexion Spcemouse

Postby andileibi » Fri Jul 17, 2020 3:35 pm

Thanks for the link, it looks good, but it doesn't work with my controller. The controller is not recognized, probably because it is a noname.
Is there a way to run this controller with your plugin?

Screenshot.jpg



it is that one
https://www.amazon.de/Hama-PC-Gamepad-D ... B0002VFKDY

and there is a link to the driver
https://de.hama.com/webresources/driver ... sta_v3.zip
andileibi
 
Posts: 29
Joined: Sat Dec 28, 2019 10:04 pm

Re: 3DConnexion Spcemouse

Postby eabrust » Fri Jul 17, 2020 5:08 pm

Sorry, but don't know and don't think so.

Best bet is if controller shows up in windows hardware list as an 'xbox' controller or supports 'xinput' standards. There are several cheap knockoff controllers that do.

I use these: http://www.forum.cncdrive.com/viewtopic.php?f=14&t=394&start=90#p13853, and I'm sure many other cheapo controls will work.

Maybe someday I can spin off a plugin for generic joystics, but as this was my first while learning C#, it is built off of standardized wrappers and libraries for xbox controllers, which have a standard of their own (making it more likely to work :) for an amateur programmer like me )

regards,
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 351
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: 3DConnexion Spcemouse

Postby andileibi » Fri Jul 17, 2020 5:35 pm

Thanks for the Info, I think I'll buy a xbox 360 controller.
Anyway, I can imagine that it would be cool using a 3DConnexion Spacemouse to steer a cnc router...
andileibi
 
Posts: 29
Joined: Sat Dec 28, 2019 10:04 pm

Re: 3DConnexion Spcemouse

Postby dhanger » Fri Jul 17, 2020 6:53 pm

eabrust wrote:
I assume your goal would be to use it as an analog joystick. Having used a number of 3DConnexion devices in CAD, and having one sitting on my desk currently, I really can't imagine trying to use one to control a CNC machine by itself. They are quite sensitive with all the axis of motion they detect, and the lack of buttons would make a safety lockout and other functionality hard to do. Compared to a pendant or XBox type of control pad, it seems hard to envision making one of these work as worth the effort it would take (not that it wouldn't be fun to try :) ).

regards
Eric


I don't know anything about API/programming for the SpaceMouse, but myself also having used one for many years, I know that in most driver versions there is a check box (my current driver calls it 'dominant') to force the mouse to focus on only the first axis you start moving in and ignore the others until you release it. This may or may not be possible in a plugin, I have no idea, but it would more closely mimic the desired response.
dhanger
 
Posts: 127
Joined: Thu Aug 29, 2019 1:57 pm

Next

Return to Plugins

Who is online

Users browsing this forum: No registered users and 1 guest