I designed this for a guy at work who needed a mount for a 9VDC battery and a panel mount toggle switch (7mm thru-hole). It is sized to perfectly fit an energizer battery. The battery installs upside down to keep all of the wiring to the switch and terminals on the bottom. In my application it was mounted to a surface on its side.
batteryholder.stl | 181.8KB |