I saw this fidget design on AliExpress and decided to make one that could be 3Dprinted. Besides magnets, it doesn't use any hardware. You'll need 11 neodymium magnets (12 for 5x1 version) to make it work, and I made 3 versions:
If you'd like to use 6 mm magnets, scale the model to 118.5% in X and Y (More or less depends on how much clearance you want)
You'll probably need some glue for the magnets, as they like to jump out even if they sit snug in the hole.
The author marked this model as their own original creation.