Configure a parametric battery holder and download it as an STL for 3D printing. Pick the battery type per row: AAA, AA, CR123A, 18650 or 9V block. Mix up to 8 rows, no spring contacts, rounded edges. Free, no CAD.
With druckteil.app you set the dimensions right in your browser and download the result as an STL — free, no CAD skills needed.