Hey,
I just published my generator of ebike battery boxes - Framebox — 3D printed e-bike battery box generator | generator skrzynki e-bike
It is free, feel free to give me a feedback of feature requests.
First of all video how it works:
Generating battery box from photo
Generating battery box from photo (VIDEO)



How it works:
http://ebike.sobierski.com/
I just published my generator of ebike battery boxes - Framebox — 3D printed e-bike battery box generator | generator skrzynki e-bike
It is free, feel free to give me a feedback of feature requests.
First of all video how it works:
Generating battery box from photo
Generating battery box from photo (VIDEO)



How it works:
Module 1 - custom frame box
- Upload a side photo of the frame, avoiding wide-angle distortion.
- Calibrate scale by marking a known length and entering its value in mm.
- Trace the frame triangle; adjust points as needed. The app creates a closed, smoothed outline for a hollow box.
- Add M5 bottle-bolt mounts; the backend snaps them to the wall and prevents collisions.
- Add Ø3/Ø4 mm through-holes, with automatic even spacing for 3+ holes.
- Set wall thickness, box depth, test heights, and an optional gasket groove.
- Generate two test fits: a 3 mm outline/boss test and a 14 mm M5 test with real holes, screw-head pockets, and groove. A 1:1 PDF paper template is also included.
- Export the full model as STL, STEP, FCStd, PDF, and report in one ZIP, with a live Three.js preview.
Module 2 - battery pack builder
After defining the outline, you can create the cell layout:- Choose 18650 or 21700 cells and set the series/parallel configuration, such as 2S10P.
- The optimizer finds a compact honeycomb layout that fits the real box outline.
- Series groups are built as physically connected clusters of exactly P cells, making the busbars practical to weld.
- Live stats show maximum fit, required and selected cells, voltage, Ah, and Wh.
- Cells can be swapped manually, and export is blocked when the pack does not physically fit.
- Generates two adjustable honeycomb holder trays and thin insulating end flanges that leave terminals exposed for welding.
- The 3D preview shows the box, trays, and all cells together.
Extras
- Real generation queue with live FreeCAD stage, progress, and ETA.
- Entire project saves to one .framebox.json file.
- PL/EN interface, tablet-friendly layout, and on-screen guidance.
http://ebike.sobierski.com/