There are two versions, the inline "chain" version and an alternate "8-pack" version for a more compact solution.
The sizes are based off the AmazonBasics™ rechargeable batteries I have but you should be able to scale the model in your slicing software to suit your batteries.
If you want a simple way to ensure it'll hold your batteries then scale the model down a bit and cut each loop with some wire cutters, this will allow them to flex open and grip the batteries.
AAA_Battery_Chain.stl | 220.6KB | |
AAA_Battery_Chain_Alternate.stl | 298.9KB | |
AA_Battery_Chain.stl | 228.4KB | |
AA_Battery_Chain_Alternate.stl | 312.2KB |