The wired compact Spacemouse I got didn't come with a carry case, so here we are.
But wait, there's more! I also use mine as a really tall wrist rest while using my Spacemouse—I like to have my hand fairly high.
I've included two tiny nubs to help keep the lid on and they work, but it's not intended to be a "secure snap fit”. The mouse should fit very snugly into the case and should not rattle around—depending on how your filament shrinkage is setup, you may need to scale the model every so slightly in X and Y. If you do this, be sure to scale both the lid and the case at the same time!
There are no special printing considerations.