This is a magnet “spring” that only requires 3 5mm diameter by 5mm high magnets and a bit of filament.
The assembly is pretty straightforward, just be sure to check that the rotation is smooth before gluing the end of the filament.
The models are made to be printed as followed :
There are a few thin walls so I wouldn't recommend printing it with a nozzle wider than 0.4mm.
The author marked this model as their own original creation.