SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.23k stars 853 forks source link

3Dconnecxion devices support on Linux #5204

Open buzzhuzz opened 6 months ago

buzzhuzz commented 6 months ago

Is there an existing issue for this feature request?

Is your feature request related to a problem?

OrcaSlicer has support for 3Dconnexion devices on Mac and Window, but not on Linux.

This feature was requested by @discip

Which printers will be beneficial to this feature?

All

Describe the solution you'd like

3DConnextion device could be used with OrcaSlicer on Linux.

Describe alternatives you've considered

No response

Additional context

No response

buzzhuzz commented 6 months ago

I got my hands on 3DConnection SpaceNavigator Wireless and found that all the code needed already there.

The only thing is need to be done is libspnav-dev added to build dependencies in order to have 3Dconnection code enabled.

Steps I've done in order to get it working:

  1. Add libspnav-dev to the bulid dependecies and rebuilt the OrcaSlicer
  2. Install spacenavd on the host system

Things need to be considered while enabling this feature:

  1. spacenavd is really optional. Applications built with `libspnav-dev would run fine with no daemon present in the system.
  2. libspnav`` either shall be bundled into AppImage/flatpak or linked statically. Current cmake scripts linklibspnav``` dynamically
buzzhuzz commented 6 months ago

Test build available here https://github.com/buzzhuzz/OrcaSlicer/actions/runs/8892413761

I still need either https://github.com/SoftFever/OrcaSlicer/pull/5203 or https://github.com/SoftFever/OrcaSlicer/pull/4175 integrated before making PR per this task.

discip commented 6 months ago

@buzzhuzz Unfortunately I'm not able to run the AppImage you provided.

ARDev1161 commented 4 months ago

@buzzhuzz What about PR? =) Did you make it?

github-actions[bot] commented 1 month ago

Orca bot: this issue is stale because it has been open for 90 days with no activity.

discip commented 1 month ago

@buzzhuzz Any news so far?

AMstuff commented 2 weeks ago

@buzzhuzz Are you still on to this? I have just built a flatpak with libspnav support (commit) and it works flawlessly for me.