USB cable holder: design and print your own
What is the cable storage generator?
This generator makes a USB cable holder: a strip or block with slots in which the plugs of your charging cables stay upright, so the cables no longer fall behind the desk or tangle in the drawer. You decide what kind of plug it holds, how many slots there are, how they are arranged and how the holder is fixed. The result downloads as an STL or 3MF file for any slicer.
It fits a very common problem. Every household has a handful of USB-A, USB-C, Micro-USB and Mini-USB cables plus a power adapter or two, and each of them wants a fixed place. A holder on the wall next to the desk, a block in a drawer or a strip on the side of a shelf does that for a few grams of filament. If you want inspiration first, browse the example gallery or open the wall strip for eight USB-A cables.
How it works
You change the values in the editor and the 3D preview follows. Everything runs in your browser; no model is uploaded. The design lives in the share link, which stores only the values that differ from the defaults, so you can send a holder to a friend by sending the link. Download the file when you are happy, and slice it as usual.
The holder is one part in one color. The default is a seven-slot strip for USB-A plugs, 13 mm high, with snap hooks and one screw hole in each slot floor. A holder printed from the defaults is a good first test: measure how your plugs sit, then adjust.
Choosing the plug
The “Plug” setting sets the slot size. These presets are built in:
| Plug | Slot (long × short) |
|---|---|
| USB-A | 12.3 × 5 mm |
| USB-C | 9 × 3.2 mm |
| Micro-USB | 7.6 × 2.6 mm |
| Mini-USB | 7.6 × 3.8 mm |
| Barrel (5.5 mm) | round, Ø 6.2 mm |
The numbers are the slot size before the fit adjustment. The USB-A size comes from the original design; the others are the plug shells plus a little clearance. Plugs with molded rubber collars are often thicker than the metal shell, so measure yours with calipers.
For anything else choose “Own size”. Then “Slot length” (3–40 mm) and “Slot width” (1.5–20 mm) become active. Measure the shell of the plug, add about 0.3 mm to 0.5 mm, and enter the values. The example holder for five wide plugs, 14.5 × 5 mm shows how this looks.
The “Fit” setting (−0.4 to 1 mm) is added to both sides of the slot. Use it to fine-tune the grip once you have printed a first test strip. If your printer runs a little oversized, go negative; for a loose, easy fit go positive.
Slots, rows and spacing
“Slots per row” sets how many plugs sit side by side (1–16). The strip never exceeds the 180 mm bed; if you ask for more than fits, the generator reduces the count and shows a warning with the maximum.
“Rows” (1–4) adds parallel rows, which turns the strip into a block. This is the right shape for a drawer or a desk, where a long strip would be in the way. “Row gap” (3–30 mm) is the wall between two rows. The drawer block for twelve USB-A cables uses three rows of four, and the desk block for twelve USB-C cables uses two rows of six.
“Spacing” (2–30 mm) is the wall between two slots in a row. Ten millimeters is a comfortable default. If your plugs have fat housings, go wider; if you want a compact strip, go down to 4 mm, as in the compact strip for ten USB-A plugs. “Border” (3–15 mm) is the solid wall around the outer slots.
Body shape
“Height” (6–40 mm) is the total height of the holder, and the slot depth is the height minus the “Floor” (1.2–4 mm). A deep holder carries the plug further, which helps with heavy cables or flash drives; the deep strip for six flash drives is 20 mm high. A low holder only catches the tip of the plug and is better for light cables.
“Corner radius” (0–10 mm) rounds the outline. “Entry chamfer” (0–2 mm) is a 45° bevel at the top edge of each slot that guides the plug in; the default of 0.6 mm makes it easy to find the slot with one hand. Set it to 0 for a sharp edge.
Snap hooks for USB-A
With “Snap hooks” switched on, each slot gets two small hooks. They click into the two holes in the shell of a USB-A plug and hold it, so the plug does not slide out when you pull the cable sideways. Behind the hooks the generator leaves a thin flex gap, which lets the wall give way a little when you push the plug in. The underside of the hooks is steepened to roughly 53°, so they print without supports.
The hooks need depth: under the chamfer the slot must be at least 10.6 mm deep. If your holder is too low, the generator leaves the hooks out and tells you with a warning. The hooks are for USB-A only; with other plug types the setting has no effect.
Mounting
“Mounting” offers three options.
- In the slots: a countersunk screw hole in the floor of each slot, so the holder sits flat on the wall. If the slots are too narrow for a screw head, the generator skips the holes and suggests the tabs.
- Tabs at the ends: two tabs with screw holes extend the strip at both ends. They are the better choice for narrow slots such as Micro-USB, as in the strip for eight Micro-USB cables.
- None (tape): no holes; the underside is flat for double-sided tape. The tape-on strip for five USB-A cables uses a slightly thicker floor of 2 mm.
“Screw size” (2–5 mm) is the diameter of the hole; the countersink is about twice as wide. Pick it to match your screws; the examples use 2 mm in the slots and 3 mm on the tabs.
Printing tips
Print the holder as it is displayed, with the underside on the bed. No supports and no brim are needed. We sliced all twelve examples in PrusaSlicer with the Prusa MINI profile, 0.20 mm SPEED, Prusament PLA; automatic supports found nothing to support in any of them.
| Example | Filament | Time |
|---|---|---|
| Wall strip, 8 USB-A slots | 19.9 g | 54 min |
| Wall strip, 4 USB-A slots | 10.5 g | 30 min |
| Wall strip, 6 USB-C slots | 12.3 g | 32 min |
| Strip, 8 Micro-USB slots | 13.0 g | 33 min |
| Drawer block, 12 USB-A slots | 30.8 g | 1 h 19 min |
PLA is fine for indoor use. If the holder sits in a sunny window or above a radiator, PETG is the safer choice. A 0.4 mm nozzle and 0.2 mm layers are a good fit; finer layers give no benefit here. Two or three perimeters are plenty, and 15 % infill is enough because most of the body is thin walls.
Print a short test strip first, with two or three slots, before you commit to a long one. It takes ten minutes and tells you whether your plugs fit. Adjust “Fit” in steps of 0.1 mm until the plug slides in with light resistance.
Credits and license
This generator is a port of the OpenSCAD model OpenSCAD USB cable storage for wall mount by kamkalian, published on Printables under the license CC BY 4.0. The strip, the USB-A slot with snap hooks and flex gap, the spacing and the countersunk hole in the slot floor come from that model and were translated into TypeScript. Our geometry matches the original in volume within 0.1 % for the cases we compared.
We added the other plug presets, rows, end tabs, the entry chamfer, the fit adjustment and the steeper hook underside that prints without supports. Details are on the licenses page.
Ready to go? Open the cable storage generator, look at the examples, or sort the cables themselves with the cable clip generator.
All parameters
The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Slots | |||
| Slot length | 12 mm | 3 – 40 mm | Long side of the slot (round plugs: diameter). Measure the plug and add about 0.3 mm. |
| Slot width | 4 mm | 1.5 – 20 mm | Short side of the slot. Measure the plug shell and add about 0.3–0.5 mm. |
| Fit | 0 mm | -0.4 – 1 mm | Added to both slot sides: more for a looser fit, less for a tighter one. |
| Entry chamfer | 0.6 mm | 0 – 2 mm | A 45° bevel at the top of each slot that guides the plug in, 0 = sharp edge. |
| Layout | |||
| Slots per row | 7 | 1 – 16 | How many plugs sit side by side along the strip. |
| Rows | 1 | 1 – 4 | Parallel rows of slots, for a holder that lies in a drawer or on the desk. |
| Spacing | 10 mm | 2 – 30 mm | Wall between two slots in a row. Wider gives room for thick plug housings. |
| Row gap | 8 mm | 3 – 30 mm | Wall between two rows of slots. |
| Body | |||
| Height | 13 mm | 6 – 40 mm | Total height of the holder; the slot depth is this minus the floor. |
| Floor | 1.5 mm | 1.2 – 4 mm | Solid floor under the slots. |
| Border | 6.25 mm | 3 – 15 mm | Solid wall around the outer slots. |
| Corner radius | 2.5 mm | 0 – 10 mm | Rounding of the outline, 0 = square. |
| Mounting | |||
| Screw size | 2 mm | 2 – 5 mm | Diameter of the screw holes; the countersink is about twice as wide. |
Frequently asked questions
Do I need supports?
No. The holder lies flat on the bed, the slots point up and the snap hooks are shaped so that they print without supports. Our test slices of all twelve examples needed none.
Why do the snap hooks only work for USB-A?
A USB-A plug has two small holes in its metal shell, and the hooks click into them. Other plug types have no such holes, so they sit in the slot by friction and the entry chamfer.
How do I mount the holder?
Choose “In the slots” for screws through the slot floors, “Tabs at the ends” for two tabs with screw holes, or “None (tape)” for a flat underside that takes double-sided tape or a command strip.
The plug is too tight or too loose. What now?
Change “Fit”. Positive values widen the slot on both sides, negative values tighten it. Steps of 0.1 mm are enough; different printers and filaments differ by about 0.2 mm.
Is my data uploaded anywhere?
No. The holder is calculated in your browser, and the design lives only in the share link. Nothing is sent to a server.
Origin & license
- OpenSCAD USB cable storage for wall mount by kamkalian · CC BY 4.0 · code ported – Strip, USB-A slot with snap hooks and flex gap, spacing and countersunk floor hole ported from usb_cable_storage.scad