I have this old mouse from 2007 that I'm still using every now and then. It’s battery cover has lost the clip that keeps it in place. I modeled a replacement part using Autodesk Fusion 360. It wasn't a perfect fit, but good enough. And it stays in place.
The author marked this model as their own original creation.