Add official 3DMouse support
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Add official 3DMouse support
Hi guys,
I am currently integrating official support for 3Dconnexion devices in Freecad, including 3D navigation and commands export.
The integration is done using the official 3Dconnexion SDK v. 4.0. It will improve the user experience in Windows and MacOS by offering advanced 3D navigation. It is not needed to statically include proprietary libraries into the project, as they can be dynamically loaded and available to customers that have the 3Dconnexion driver installed.
This new integration can be disabled in CMake if not desired. For the Linux systems, the current 3D mouse support of FreeCAD will be kept.
Would this approach be compliant with your license?
Thank you in advance
I am currently integrating official support for 3Dconnexion devices in Freecad, including 3D navigation and commands export.
The integration is done using the official 3Dconnexion SDK v. 4.0. It will improve the user experience in Windows and MacOS by offering advanced 3D navigation. It is not needed to statically include proprietary libraries into the project, as they can be dynamically loaded and available to customers that have the 3Dconnexion driver installed.
This new integration can be disabled in CMake if not desired. For the Linux systems, the current 3D mouse support of FreeCAD will be kept.
Would this approach be compliant with your license?
Thank you in advance
Re: Add official 3DMouse support
Woah. Sounds awesome. Bumping this for the devs to see
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Add official 3DMouse support
CC @wmayerwmayer wrote:ping
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Add official 3DMouse support
That's mainly up to 3Dconnexion if they allow it. I think it's best to ask them directly for clarification.Would this approach be compliant with your license?
For more details:
https://forum.freecadweb.org/viewtopic. ... 29#p500329
Here some information about the new SDKs from 2012 on:
https://forum.3dconnexion.com/viewtopic.php?f=19&t=4898
So, if your solution has a dependency to a library of the SDK that the FreeCAD installer has to deploy then it's obviously disallowed.SDK license no longer allows redistribution of DLL binary files (these are always included in the driver user installation).
Btw, when looking at some open-source projects like Blender, VTK, ... that supports 3Dconnexion devices then none of them use the official SDK.
Re: Add official 3DMouse support
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Add official 3DMouse support
May be all of you know that, but just in case, I would like to say that I have an (very) old 3D connexion spacemouse plus, which works with Freecad 0.19 + windows10, both "stock".
Moves are currently too fast (I did'nt spend time to try to adjust that), and some functionalities could be added in freecad, like trackball around a selected object, but it already works.
I did'nt configure anything, just plugged the usb 3D mouse, and it worked. Then I installed old spacemouse configuration utilities, and I just verified that parameters selected with the 3d connexion utilities are used in all the 3d softwares used on the laptop (including ie Cad assistant), as it would be for a basic 2d mouse.
Moves are currently too fast (I did'nt spend time to try to adjust that), and some functionalities could be added in freecad, like trackball around a selected object, but it already works.
I did'nt configure anything, just plugged the usb 3D mouse, and it worked. Then I installed old spacemouse configuration utilities, and I just verified that parameters selected with the 3d connexion utilities are used in all the 3d softwares used on the laptop (including ie Cad assistant), as it would be for a basic 2d mouse.
Re: Add official 3DMouse support
Previous versions of the official SDK required to ship some closed-source libraries together with the application, making impossible to consider an integration in an open-source project. Since a few years, those libraries are distributed together with the 3Dconnexion driver, and they are already present on the PC of a customer using a 3D mouse.
The solution I want to propose makes use of a dynamic linking against the libraries already installed by the 3Dconnexion driver, so no need to consider to deploy them with the FreeCAD installer. The same approach has been recently used and accepted in KiCAD:
merge request 845
If someone wants to exclude this feature, a CMake option will be available for that.
The solution I want to propose makes use of a dynamic linking against the libraries already installed by the 3Dconnexion driver, so no need to consider to deploy them with the FreeCAD installer. The same approach has been recently used and accepted in KiCAD:
merge request 845
If someone wants to exclude this feature, a CMake option will be available for that.
Re: Add official 3DMouse support
user5889 wrote: ↑Fri Apr 22, 2022 2:38 pm The solution I want to propose makes use of a dynamic linking against the libraries already installed by the 3Dconnexion driver, so no need to consider to deploy them with the FreeCAD installer. The same approach has been recently used and accepted in KiCAD:
wmayer wrote:ping
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Add official 3DMouse support
@wmayer do you have any comment concerning my last answer?
Thank you
Thank you
Re: Add official 3DMouse support
wmayer wrote: pinged by pinger macro
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs