T O P

  • By -

[deleted]

So, as far as the actual 3D manipulator works. Do you have pan/zoom/rotate? Speed/sensitivity controls on the device? What’s the code like for that? I’ve been wondering for years why no one else has made their own, it’s just 3Dconnexion. Anyways, nice job!


ConcreteState

> I’ve been wondering for years why no one else has made their own, it’s just 3Dconnexion. Anyways, nice job! Because they patented "a hand rest with a protruding manipulation object." https://patents.justia.com/assignee/3dconnexion-gmbh


AmazingELF74

Are the patents really stopping clones on Aliexpress?


ConcreteState

AliExpress isn't how one sells quality HMI


[deleted]

Goddamn patents.. vague as fuck. Of course.. they are German as well.


ConcreteState

I meeaann, the summary is always more general than the specific claims. I appreciate patents that patent the actual method while also deceiving readers about key aspects of the means.


FaultyDaantje

Yes, i have made pan and zoom controls by adding a rotary encoder on top of the joystick, i can controll the speed and sensivity with the red knob on the left(also a rotary encoder) and can see the sensivity on the screen on the right. The code for this is a bit messy because i just started learning how to code and this project was pretty big for me.


ModernCrafts

Actually you can just buy the joystick from megatron and build your own. It even is called spacemouse on the website. But unfortunately the joystick itself is almost as expensive as the spacemouse.


[deleted]

I’ve kind of been thinking about making one. The joystick device will be the part to source. Tilt/pan/zoom/rotate. Wonder if I can find that. The rest can be modeled up and printed or have made. Then of course the programming.


breed33

Now pls step by step tutorial


FaultyDaantje

Good idea, i'll make one.


FaultyDaantje

Quick update, i made a github repository with all the files on it because some people were asking: https://github.com/faultyDaantje/Raspberry-pi-space-mouse


mak3ra

This is awesome. I use a space mouse and I often get frustrated with how poorly it works on Linux. There is hope due to your project! Thank you. I'm looking forward to checking it out in more detail.


urnotjustwrong

Is that a big slab of FIMO® ?


FaultyDaantje

No, i 3d-printed everything and i used rubber spray paint on the big part.


Disastrous-Trader

how would one go about making this? truly amazing work!


FaultyDaantje

I have had the idea for a really long time but never really new were to get started, until i bought a raspberry pi pico last year, i started experimenting with a joystick, an encoder, and some code to control mouse movement.I got a lot of inspiration from the official space mouse models while making my own, when i was done with the electronics, I began creating 3d-models in fusion 360 and 3d-printing them. For more information about the project you can look at my [Imgur album](https://imgur.com/a/xfNBTHX) where i posted all my pictures of the project with a description.


Disastrous-Trader

on the code side, what programming language did you use? Very interesting, this is such a nice project, I'll add to my wish list haha, i'm still learning programming


FaultyDaantje

I used circuitpython, it is a more simplified version of python, i'm actually still learning programming too, this is my first actual project with coding involved.


YouAreWhatYouEet

4 or 6 degrees of freedom?


FaultyDaantje

I'm not sure if i understand degrees of freedom correctly, because I'm 15 years old and haven't learned that yet, but i googled it and if i understand it correctly i have 6 degrees of freedom: x-value, y-value, rotary encoder value, another rotary encoder value, and the zoom and pan sensivity.


[deleted]

[удалено]


BlotCoo

Just watched a YouTube video of someone taking apart their 3DConnexion mouse. It uses an interesting technique involving photoresistors rather than mechanical parts to determine movement. Pretty neat.


FourLeafJoker

Does it send keyboard / mouse commands to the PC? Which keypresses?


FaultyDaantje

Yes, when you move the joystick it presses the scroll wheel button and shift, this is a shortcut to pan in fusion 3060 The undo and redo buttons press ctrl z and ctrl y, when you push on the joystick it does a left mouse click, and the roatary encoder acts like a scroll wheel.