I got a pair of electric spice grinders with a base that they like to fall off of. I needed a way for them to be held to the base until I want to use them. I decided putting neodymium magnets into the base might hold them well enough. Since I didn't want to modify the original base trying to add the magnets, I designed on up in SolidWorks with the pockets for the round magnets. I like how it looks so far and need to 3d print it. Here's a couple pics: