---
title: "18650 Battery Holder Generator — Cell Spacers for DIY Packs (STL / STEP) | Forgent3D"
description: "Generate 18650, 21700 or 26650 cell holders for spot-welded packs: square or staggered, nickel-strip channels, balance-wire holes, top and bottom plates. Free STL / STEP."
url: https://www.forgent3d.com/en/generators/18650-battery-holder-generator
---

[Home](https://www.forgent3d.com/en) [3D print generators](https://www.forgent3d.com/en/generators) 18650 Battery Holder Generator

# 18650 battery holder generator: cell spacers for building packs

Pick the cell and the grid — 3 × 5 18650 cells by default — and get the pair of plates a pack is built in: each cell sits in a bore with a lip on the outside, the lip leaves a window for the nickel strip and an 8 mm channel guides the strip across the plate. The bottom plate is laid out so it lines up when you turn it over onto the cells.

[Open the generator →](https://app.forgent3d.com/g/battery-holder?lang=en) [Edit with AI](https://app.forgent3d.com/g/battery-holder?lang=en&intent=edit)

## Use it right here

The real generator runs in your browser: set the parameters, then download STEP or STL. Nothing to install, no sign-up.

![18650 Battery Holder Generator](https://app.forgent3d.com/g/battery-holder/thumb)

The first open downloads the CAD engine (about 20 MB).

- 18650, 21700 and 26650 cells, square grid or staggered (honeycomb) rows
- 20.2 mm pitch by default, the common bracket and pre-punched strip pitch, never under 1 mm between cells
- Channels for 7–8 mm nickel strip, optional balance-wire holes, open for welding or closed for storage
- Plates tile on the pitch for packs bigger than one plate

## Parameters you can tune

Each parameter below rebuilds real geometry on every change — this is parametric CAD, not a scaled mesh.

| Parameter | Default | Range | What it does |
| --- | --- | --- | --- |
| Cell CELL | 18650 | 18650 / 21700 / 26650 | 18.4 / 21.5 / 26.4 mm nominal diameter. |
| Bore clearance CLEARANCE | 0.3 mm | 0 – 0.6 | Added to the cell diameter: 18.7 mm bores for 18650. |
| Layout LAYOUT | square | square / staggered | Square grid, or staggered (honeycomb) rows shifted half a pitch. |
| Rows ROWS | 3 | 1 – 3 | Up to 3 per plate; print several plates for bigger packs. |
| Columns COLS | 5 | 1 – 5 | Up to 5 per plate. |
| Wall between cells WALL | 1.5 mm | 1 – 3 | 1.5 gives the common 20.2 mm pitch for 18650. |
| Balance-wire holes WIRE\_HOLES | off | on / off | Ø3 holes between cells for BMS leads. |
| Holder height HEIGHT | 10 mm | 5 – 40 | How deep each cell sits in the plate. |
| Outer frame FRAME | 0 mm | 0 – 3 | 0 lets plates butt together on the pitch. |
| End END | open | open / closed | Open with a lip for spot welding, or a closed floor for storage. |
| Lip overlap LIP | 3 mm | 1.5 – 4 | How far the lip laps over the cell end; the rest is the strip window. |
| Strip channel width STRIP\_WIDTH | 8 mm | 0 – 10 | 0.8 mm deep channels for 7–8 mm nickel strip; 0 for a flat face. |

Every parameter can go in the page's link, so one link opens exactly the part you want. Example (21700 cells, staggered (honeycomb)):<https://www.forgent3d.com/en/generators/18650-battery-holder-generator?CELL=21700&LAYOUT=staggered>

## Cell formats

Bore = cell diameter + 0.3 mm clearance; pitch = bore + 1.5 mm wall, both at the defaults. Each row opens the generator for that cell.

| Cell | Cell Ø | Bore Ø | Pitch |  |
| --- | --- | --- | --- | --- |
| 18650 | 18.4 | 18.7 | 20.2 | [Open →](?CELL=18650#use-here) |
| 21700 | 21.5 | 21.8 | 23.3 | [Open →](?CELL=21700#use-here) |
| 26650 | 26.4 | 26.7 | 28.2 | [Open →](?CELL=26650#use-here) |

Cells vary by maker: 18650s run 18.4–18.6 mm at most, protected cells wider. Raise the clearance if yours don't go in.

## What's in the STEP file

- Each 3 × 5 plate exports as one exact solid of 188 faces — 158 planes and 30 true cylinders (the 15 cell bores and the 15 strip windows) — so pitch, bore and window read directly in CAD when you lay out the pack around it.

STEP AP214 in millimetres, exact B-rep — it opens directly in SolidWorks, Fusion, FreeCAD, Onshape or Inventor, and goes straight into a CNC quote form. STL for the slicer is one click too.

## How it compares

|  | This generator | Typical online STL generator | Vendor CAD library |
| --- | --- | --- | --- |
| Any size within the range | Yes | Yes | Catalog sizes only |
| STEP with exact surfaces | Yes | Usually an STL mesh only | Yes |
| Changes the sliders don't cover | “AI edit” on the page | No | No |
| Account needed to download | No | Usually no | Often |

## Let AI change it

### Put the numbers in the link

Every parameter is a link parameter; the link below opens the example part. ChatGPT, Claude or any assistant can write one like it from the parameter list (names, units, ranges) at: [parameter list (JSON)](https://app.forgent3d.com/api/generators/battery-holder)

Example: <https://www.forgent3d.com/en/generators/18650-battery-holder-generator?CELL=21700&LAYOUT=staggered>

### Edit with AI on the page

Press “AI edit” in the generator and say what to change — a keyway, holes, a different shape. The AI edits the part's model.py and it rebuilds in your browser, with undo. A few edits a day are free without signing in; to keep the result or go further, copy it into your models and continue with the AI agent.

[Edit with AI →](https://app.forgent3d.com/g/battery-holder?lang=en&intent=edit)

### Keep going in your workspace

For bigger changes, several rounds, or a part you want to keep: copy it into your models (free account). The Forgent3D AI agent reads the model.py, edits it, rebuilds it and checks the result itself.

[Copy and continue with the AI agent →](https://app.forgent3d.com/g/battery-holder?lang=en&intent=ai)

## How it works

1.  1.Open the generator — the model builds right in your browser, nothing to install.
2.  2.Tune dimensions and options in the parameter panel; the geometry rebuilds live in 3D.
3.  3.Export STL / STEP for printing — or ask the AI agent for features beyond the sliders.

## FAQ

### Which filament should I print it in?

PETG, ASA or ABS. Cells are allowed to discharge at up to 60 °C ambient with the can reaching 75 °C, and printed PLA starts to give at about 60 °C — fine for storage, not inside a working pack.

### Why can't I set the 19 mm pitch some staggered holders use?

Samsung's cell datasheets ask for more than 1 mm between cells, and a 19 mm pitch leaves about half that. The smallest wall here (1 mm plus the bore clearance) keeps that spacing; the default 20.2 mm also matches the pre-punched nickel strip sold for that pitch.

### How do the two plates go together?

Press the cells into one plate, lip side out, then turn the second plate over onto the other ends: it is generated as the mirror image, so the bores line up even for staggered layouts with an even number of rows.

### How do I print cell holders for a 3S5P 18650 pack?

Open https://www.forgent3d.com/en/generators/18650-battery-holder-generator?ROWS=3&COLS=5 — a top and a bottom plate for 15 cells on the common 20.2 mm pitch, Ø18.7 bores and 8 mm channels for the nickel strip. Print both, press the cells into one and turn the other over onto them.

### My pack is bigger than 3 × 5. Can I make one plate for 13S4P?

One plate holds at most 3 × 5 cells; print several. With FRAME=0 the plates end exactly half a pitch past the outer cells, so they butt together on the same pitch: https://www.forgent3d.com/en/generators/18650-battery-holder-generator?ROWS=3&COLS=5&FRAME=0

### Can I sell prints made with these generators?

Yes. Models you generate and the STL / STEP files you export are yours: print them, sell the prints, or use them in a product. No attribution to Forgent3D is required.

## More generators

[Fan Grill Generator](https://www.forgent3d.com/en/generators/fan-grill-generator) [Raspberry Pi & Arduino Case Generator](https://www.forgent3d.com/en/generators/raspberry-pi-case-generator) [ESP32 Case Generator](https://www.forgent3d.com/en/generators/esp32-case-generator) [Washer & Spacer Generator](https://www.forgent3d.com/en/generators/washer-spacer-generator) [3D print generators →](https://www.forgent3d.com/en/generators)

Already have your own .scad file? [Convert OpenSCAD to STEP →](https://www.forgent3d.com/en/openscad-to-step) · [Preview it in the browser →](https://www.forgent3d.com/en/openscad-viewer) · [Have an STL? Convert it to STEP →](https://www.forgent3d.com/en/stl-to-step)
