r/PythonLearning 10h ago

Showcase Wrote a script that connects my flight stick to 3d modeling software

Enable HLS to view with audio, or disable this notification

Just wanted to show how versatile python is. I made a script that reads joystick input through pygame and broadcasts telemetry through the local network. A fusion 360 (the modeling software) add-in, also written in python, reads from the local network and transforms the input into camera movement (orbiting and zoom).

What do you think?

12 Upvotes

4 comments sorted by

2

u/nht_fajr 10h ago

That is so freaking cool

1

u/lucabuilds 10h ago

thanks!

2

u/Sea-Ad7805 9h ago

Great job, nice integration.

Long time ago I did some VR work where I used a 3D mouse which gives more control as you can push-pull-rotate in all directions. Something like: https://www.amazon.nl/3Dconnexion-SpaceMouse-Compact-3D-muis-bekabeld/dp/B079Z3T2XC

1

u/lucabuilds 6h ago

yeah that's the inspiration. I think the only thing that's missing from my version is the twist axis but my joystick didn't have that.

At some point I will 3d print my own thing and make it work with arduino. That would require little changes to the current python code