Nearly every cordless tool system mounts its 18 V battery on a slide foot of its own, and a wall holder is a copy of that foot without the terminal block. The spring latch belongs to the battery, so the printed holder needs no spring at all: the right rails and a pocket for the latch tooth are enough. Holders, docks and covers are in scope; cross-brand adapters, chargers and anything that touches the terminals are not (the reason is in "Why not to print adapters").
KapyCAD is not affiliated with Makita, Milwaukee, DeWalt, Bosch, Ryobi, Einhell, Lidl (Parkside) or Metabo; the brands are named only to state compatibility.
Which system you have
| System | Nominal voltage | Foot type | Who uses that foot |
|---|---|---|---|
| Makita LXT | 18 V | slide | LXT only; 40 Vmax XGT batteries have a different foot and do not fit LXT tools |
| Milwaukee M18 | 18 V | slide | M18 only; M12 packs are stick batteries that go inside the handle and need a different holder |
| DeWalt 18 V XR / 20 V MAX | 18 V | slide | the same battery in Europe and the US; 54 V FLEXVOLT packs also fit this foot, but they are taller and heavier |
| Bosch Professional 18 V (AMPShare) | 18 V | slide | the brands in the AMPShare alliance, more than 25 since its launch in 2023 (current list on the AMPShare website) |
| Bosch 18 V Power for All | 18 V | slide | the home and garden alliance (Gardena, Husqvarna and others); do not assume it is interchangeable with AMPShare |
| Ryobi ONE+ | 18 V | tower | ONE+ only; the battery goes into a socket, not onto rails |
| Einhell Power X-Change | 18 V | slide | Power X-Change tools |
| Parkside X20V Team | 18 V | slide | X20V Team tools |
| Metabo CAS | 18 V | slide | the brands in the CAS alliance |
"18 V" and "20 V MAX" describe the same battery: five lithium cells in series. That is 5 × 3.6 V = 18 V nominal and 5 × 4.2 V = 21 V fully charged; "20 V MAX" is the US label for that peak. They share cells, not a foot: an M18 pack will never fit a 20 V MAX tool.
The alliances (AMPShare, Power for All, CAS) let one holder take batteries from several brands. So look at the foot, not the logo. Bosch Professional and Power for All are sold as separate ranges: do not take a holder as good for both until you have measured A–F on the battery you are going to hang.
For the load, the mass is what counts. The two extremes: an LXT 5.0 Ah battery (BL1850B) weighs about 0.60–0.66 kg depending on the seller, and an M18 HIGH OUTPUT 12.0 Ah (M18HB12, already discontinued in some markets) 1.6–1.7 kg depending on each country's datasheet.
How a battery is held
No manufacturer publishes a drawing of its foot, but every slide foot shares the same anatomy:
- The battery has two rails running along its top face.
- The tool's foot has two lips that slide under those rails, so a pull cannot separate the battery from the foot.
- There is a stop at the end of the travel.
- The battery has a spring-loaded tooth that drops into a pocket in the foot when the battery reaches the stop. Pressing the release button pulls the tooth down.
- Between the rails, the tool's terminal block slides into the battery's terminal slot.
Two things follow from this. First, the holder provides the pocket and the battery provides the spring. With no pocket, only friction holds the battery; with the pocket in the wrong place, it never clicks in. A printed spring latch is redundant and would be the first part to wear out.
Second, the space the terminal block used to fill stays empty, or is filled with a solid plastic block that keeps swarf and screws out. Never metal, and never anything that could bridge two terminals.
Ryobi ONE+ works the same way with a different shape: the tower goes into a socket, and two side latches on the battery catch on two ledges inside it. The holder is that socket.
What to measure
MakerWorld and Printables have holders for every common system, each with its own dimensions. Do not treat any of them as the standard: measure your own. The method (several readings, the mean, measuring the molded part and never a printed copy) is in Measuring an undocumented standard.
Take each dimension from the part that holds it at true size. Take the rail profile from the battery, which is the male part and comes out of the mold to size. Copy the shape and the positions (the stop, the pocket) from the foot of a tool or the charger, which is the female part you are reproducing.
Take these measurements, in this order:
- A, on the battery: width over the rails.
- B, on the battery: width under the rails, where the edges of the lips sit.
- C, on the battery: rail thickness, which sets the gap between the lip and the holder's plate.
- D (calculated): engagement depth, how far the lip reaches under the rail: (A − B) / 2.
- E, on the foot: slide length, from the mouth to the stop.
- F, on the foot: distance from the stop to the pocket's retaining face (or, on the battery, from the front that meets the stop to the front of the tooth).
- The tooth, on the battery: its width and height.
Because A, B and C come from the male part, all the clearance goes into the holder. Enlarge A, B and the C gap by the sliding-fit clearance: 0.20 mm per side on a modern bedslinger, 0.15 on an enclosed CoreXY and 0.25–0.30 on a legacy bedslinger. The figure is per side: on A it adds 0.40 mm. The reasoning is in Real printed clearances. If you copied the dimensions from a tool's foot, they would already include the manufacturer's clearance and you would add nothing: that is the double-clearance mistake.
Make the latch pocket 0.5 mm wider than the tooth on each side and 0.5 mm taller. The tooth must rise fully without rubbing, and a generous pocket costs nothing. The retaining face, the one nearest the mouth, is square to the slide axis, so the battery only comes out with the button. A face at 80–90° holds permanently, and one at 30–45° lets go with a tug (Snap-fit catches).
At the mouth, a 0.5–1 mm lead-in chamfer at 45° on the rails guides the battery and absorbs elephant's foot if you print with the mouth on the bed.
Worked example: a wall holder for a 1.7 kg battery
Decide the slide direction first: mount the holder so the battery goes in downwards. Gravity then seats it against the stop, and the latch only guards against a knock. If it goes in upwards, the whole weight hangs permanently from the tooth and the printed edge of the pocket, and that edge is what gives way to creep.
The dimensions below are examples; swap in your own holder's.
Load. A 1.7 kg battery (the M18HB12, the heavy extreme): weight ≈ 17 N, with g ≈ 10 N/kg. Center of mass at e = 50 mm from the wall. Lips engaged over L = 60 mm. Because the weight sits away from the wall, it creates a moment: the stop takes the 17 N downwards and the top of the lips takes a pull away from the wall: F = m·g·e / L = 17 × 50 / 60 ≈ 14 N, about 7 N per lip.
Lip. That pull is not spread evenly along the 60 mm: it concentrates at the top of the engagement. Assume, to be safe, that each lip's 7 N falls on its top 10 mm. A lip 3 mm deep (D) and 2.5 mm thick. Moment at the root: M = 7 × 3 = 21 N·mm. Section modulus: W = b·h² / 6 = 10 × 2.5² / 6 ≈ 10 mm³. Stress: σ = M / W ≈ 2 MPa. PLA takes about 35 MPa in the layer plane (Estimating whether a part will hold); even printed in the worst orientation (× 0.5, about 17.5 MPa), the margin is an order of magnitude. The weight does not break a holder. The fit, the print orientation, heat and the screws do.
Screws. A 90 mm tall holder with two screws, one above the other, 70 mm apart. The top one works in tension with about m·g·e / 70 = 17 × 50 / 70 ≈ 12 N per battery. A rack of six holders on the same pair of screws: about 73 N of tension in the top one and about 100 N of shear (6 × 17) shared between the two. Add to that the pull of a hand drawing a battery out at an angle, which can exceed the battery's weight. For sustained load the safety factor is 4 (Estimating whether a part will hold): choose wall plugs rated for about 300 N in tension. With more holders on the rack, use more screws, or hang it from a French cleat (French cleat).
Put the top screw level with the top end of the lips, where the pull starts, and give the back plate at least 4–5 mm: it carries the moment from the lips to the screw. Use a pan-head screw with a washer; a countersunk one wedges into printed plastic and can split the plate over time. If you countersink, do not tighten it all the way.
Material. With this margin, PLA is fine indoors. In a van, a sunny garage or next to a radiator, the holder spends the day at 40–60 °C and the pocket edge and the lips slowly give way. Under load, design 15–20 °C below the HDT at 0.45 MPa, because these plastics are amorphous: PLA about 40 °C, PETG 50, ASA 80 (Heat, cold, sunlight and chemicals). For those places, print it in ASA.
How to print it
The walls that carry the lips are beams, and a beam's length must lie in the layer plane (Layer orientation for mechanisms). With the back on the bed, those walls stand upright in Z, and the pull F tries to peel them off the back plate along a layer at the root: that is stance C. Stood on one end, with the slide axis vertical, the rail profile lies in the layer plane: walls and lips bend in XY (stance B), and the lips, chamfers and pocket come out to size with no supports.
In that orientation, the stop and the back plate are loaded across the layers: the stop takes the weight and the knock of sliding the battery in, and the plate carries the moment to the screw. That is why the stop is a full wall across the channel, not a pair of nubs, and the plate keeps the 4–5 mm thickness given above.
Print it with the mouth on the bed. The pocket's retaining face comes out as a floor, flat and square, and the lead-in chamfer takes care of elephant's foot. The stop ends up at the top, closing the channel: print it as a bridge or give it a 45° chamfer underneath.
For a light battery you can also print it with the back on the bed, as a second choice. Fillet the root of the walls with a radius r ≈ 0.5 t (t being the wall thickness). The lip is an overhang of only D ≈ 3 mm inwards and prints without support, but it droops a little: the C gap lies in Z, so round it to a whole number of layers and check it with the coupon.
Stood on end, the screw holes are horizontal. A Ø4.5 mm hole for M4 (ISO 273 medium clearance) comes out clean: below 6 mm, a horizontal hole needs no support. Diameter compensation is covered in Why holes print small.
Use 3–4 walls so the lips are solid plastic, not infill (Walls, perimeters and infill).
Why not to print adapters
A drill or an angle grinder draws tens of amps through two terminals. The improvised contacts of a printed adapter have more contact resistance and concentrate heat, and the plastic holding them is the first thing to give: PLA softens around 55–60 °C (HDT 57) and PETG around 70 °C. On top of that, each brand splits the protection between battery and tool differently: some cut out on low voltage or temperature in the tool, others in the battery, others through a data contact the adapter does not have. A cross-brand adapter can discharge a battery past the point where its own system would stop it. A damaged lithium battery does more than stop working: it heats up and can catch fire. And manufacturers' warranties exclude damage caused by third-party batteries or adapters.
What you can print stays well away from the terminals: holders, docks, a dust cover (a solid block for the terminal slot) for a battery stored loose in a box, belt or ladder clips, labels. A dock can hold the charger, as long as it does not replace the charger's contacts.
When it fails
| Symptom | Cause | Fix |
|---|---|---|
| The battery will not go in | Mouth closed by elephant's foot, or A, B and C with no clearance (at nominal size) | Lead-in chamfer; enlarge A, B and C by the sliding-fit clearance; check your Dimensional calibration |
| It goes in and rattles | Clearance applied twice (on dimensions taken from the foot, or per side and again on the width), or a legacy bedslinger's figure used on a modern machine | Measure A–C on the battery and go back to 0.20 per side |
| It reaches the stop but does not click | Pocket at the wrong F, too shallow or with a sagging roof | Re-measure F from the stop to the retaining face, make it 0.5 mm deeper and print with the mouth on the bed |
| It clicks in but pulls out with a tug | Retaining face ramped or rounded | Square face, 80–90° |
| After a summer the battery sits lower or the rack tilts | PLA creep in the heat, or a battery that slides in upwards and hangs from the latch | Slide in downwards, ASA, more screws |
| The walls crack along a layer at the root | Printed with the back on the bed and no fillet | Print it stood on one end, or fillet with r ≈ 0.5 t |
| The plate splits next to the screw | Countersunk head fully tightened, or plate too thin | Pan head with a washer, 4–5 mm plate |
How to test it
Before the full holder, print two coupons (Test coupons). First, a 10 mm length of the rail profile (A–D and the C gap): the battery must slide through without rattling. Then a short holder with the stop and pocket, to check E and F: the battery must reach the stop and click in.
See also
- Designing for an ecosystem: the general rules for printing against someone else's system.
- Modular tool cases: modular cases and inserts for storing the tools themselves.
- Battery holders: loose cells, from AA to 21700, with their spring contacts.
