How to 3D print a drag chain: sizes, joints, covers, brackets
A drag chain from your 3D printer
A drag chain, also called a cable chain or energy chain, guides cables and hoses along a moving axis. It does not kink the cables or drag them over an edge. It lays them in a loop that travels with the carriage. On a 3D printer these are the heated bed and print head cables, on a small CNC router the spindle and motor cables, on an engraving laser the laser cable and the air hose. Ready-made chains are cheap, but rarely in the exact size your cable bundle needs. That is where this generator comes in: you enter the cable space, the bend radius and the length, and you get matching links, covers and end brackets to print.
Everything runs in your browser. Nothing is uploaded, and your settings live in the share link, which you can pass on or reopen later. A selection of ready chains for typical machines is in the example gallery, the generator itself is in the editor.
How the generator works
In the editor you set the cable space first. Under “Common sizes” you find presets from 10 × 10 mm to 25 × 30 mm; one click sets the inner width and inner height. Then you choose the joint, the top and the bend radius, and the chain appears in 3D. The “Calculator” box works out what your settings mean for the machine: how many links the length needs, how far each link bends, how high the loop gets and how far the travel reaches. At the bottom you download the plate as STL or 3MF.
The links print upright. That way the layers run across the bending forces at the joints and not along the pins, which is the main reason printed chains hold up at all. Because the geometry needs no supports, the plate needs no rework beyond removing the brim, if you use one.
Cable space and sizes
The cable space is the area left for cables, measured between the side walls and above the floor bars. You set it with two values:
- “Inner width” from 8 to 60 mm, default 15 mm;
- “Inner height” from 8 to 40 mm, default 15 mm.
Measure your cable bundle at its thickest point, where plugs or ring terminals sit, and add about 20 percent of air so the cables can shift in the loop. An overfull chain gets stiff and chafes.
Common sizes at a glance, each with an example from the gallery:
| Cable space | Typical use | Example |
|---|---|---|
| 8 × 8 mm | endstops, sensors, camera cables | Mini chain |
| 10 × 10 mm | hotend cables, heater cartridge, thermistor | Hotend chain |
| 15 × 15 mm | heated bed and axis cables on a 3D printer | Standard chain |
| 20 × 15 mm | laser cable and air hose | Diode laser |
| 20 × 20 mm | spindle and motor cables on a router | Chain with covers |
| 25 × 30 mm | thick bundles on large machines | Large chain |
| 40 × 10 mm | ribbon cables side by side | Flat chain |
The wall thickness comes next. “Wall layer” is the thickness of one layer; every side wall has two layers (outer and inner) plus a gap in which the joints work. The default of 2 mm is a good compromise. For very small chains you can go down to 1.6 mm, for large ones up to 2.4 mm or more, as in the chain with pins. The “Floor” is the bar the cables rest on, also from 1.6 mm.
Bend radius, pitch and bend stops
The “Bend radius” is the smallest inner radius of the loop, measured to the floor. It decides how tightly the chain turns the corner, and it must suit your cables: thin, flexible silicone cables tolerate 20–25 mm, thick bundles or hoses need 50 mm and more. The default is 40 mm, adjustable from 10 to 300 mm.
The “Pitch” is the distance between the pivots of one link. At 0 the generator picks it. Shorter links bend more smoothly and run quieter, but need more links and so more print time. If you pick it too short, there is no room for joints and stops. The generator then raises the value and shows a message.
Every link has bend stops, shaped as 60° flanks on its end faces. They limit the angle between two links so that exactly the chosen bend radius results. Two consequences matter:
- The chain never bends further than you set, so the cables are never kinked tighter than planned.
- The chain cannot sag. On the straight run the stops butt against each other, so the chain carries itself when it lies free.
At most 40° per link is possible. If a very small bend radius asks for more, the generator raises the radius and tells you. The calculator shows the actual angle per link and the inner radius that results.
Joint: snap pin or pins
Under “Joint” you choose how the links connect.
Snap: each link carries a pin that clicks into the next link. You need no further parts, and you push the chain together by hand. The underside of the pin is shaped as a flat wedge so that it prints without supports. For small and medium chains this is the easiest choice.
Pin: the links get bores, and you print the pins as separate parts. This is sturdier for large and heavy chains, and a broken pin can be replaced on its own. The large 25 × 30 mm chain uses this joint.
In both cases the “Clearance” makes the joint move. It is the gap between moving faces and in the pin holes. 0.3 mm suits most printers; if the chain is stiff, raise it, and if it wobbles, lower it to 0.25 mm. The range is 0.15 to 0.6 mm. Start with the test print of two links: it takes 6.65 g of filament and about 26 minutes and shows you clearance, joint and bend stop before you invest many hours of print time.
Top: open or with covers
Under “Top” there are two variants. Open means U-shaped links, and you lay the cables in from above. This is the simplest and fastest way, and it is enough for almost all cables on a 3D printer.
Cover closes the chain. Every link gets slots into which a snap-on cover with forked legs clicks. The forked legs flex when you insert the cover and then hold. Covers pay off where chips, dust or coolant occur, on a router for example, or when cables must not jump out of the loop. The covers print flat, again without supports. If you see a message that open links have no covers, you chose covers under “Parts” without switching the top.
End brackets with screw holes
A chain needs two mounts: one on the fixed frame and one on the moving carriage. That is what the two end brackets are for, each with a flange and two counterbored holes for socket head screws. Under “Screws” you choose M3, M4 or M5. The counterbore takes the screw head, so nothing protrudes and nothing snags the chain. The brackets match the cable space, wall and joint of the chain you set, so you enter the same values for them as for the links. Two examples: brackets with M3 for the small chain and brackets with M5 for the large one, for T-nuts in aluminum extrusion, for example.
Parts on the plate
“Parts” decides what gets printed: “Links”, “Covers”, “End brackets” or a “Set” of everything. The generator packs the parts onto a plate 175 mm wide, which suits beds from 180 mm. If the covers have a color of their own, the plate is 160 mm so that the color change has room as well. “Links on the plate” sets how many links (and covers) you print at once. At 0 as many as fit go on the plate, but never more than the chain needs. If not everything fits, the calculator shows how many plates the whole chain needs, and a message points you to a second run.
Calculator: links, angle, loop height, travel
The calculator in the editor answers the questions you would otherwise settle with a ruler and a pocket calculator:
- how many links the “Chain length” needs;
- how many degrees each link bends and which inner bend radius follows;
- how high the loop gets, so you know whether the chain fits under a cover;
- how far the travel reaches that the chain covers;
- how many links fit on the current plate and how many plates the whole chain needs.
The chain length ranges from 200 to 2000 mm. Allow a little more than your travel requires, because the loop and the end brackets need length too.
Printing: material, settings and time
Material: print the chain in PETG or nylon. PLA turns brittle, and pins and forked legs break after a few hundred bends. PETG is the best start: easy to print, tough enough and unfazed by the inside of a machine. Nylon lasts longer but is tricky to dry and print.
Orientation: the links stand upright, the covers and end brackets lie flat, and you rotate nothing. All 13 examples slice in PrusaSlicer without automatic supports.
Numbers from real slices (PrusaSlicer, Prusa MINI, 0.20 mm SPEED, Prusament PLA):
| Example | Filament | Print time |
|---|---|---|
| Test print with two links | 6.65 g | 25 min |
| End brackets M3 | 6.59 g | 28 min |
| End brackets M5 | 18.37 g | 1 h 3 min |
| Mini chain 8 × 8 mm | 22.21 g | 1 h 40 min |
| Two-color set | 36.31 g | 2 h 20 min |
| Complete kit for 200 mm | 39.66 g | 2 h 9 min |
| Hotend chain 10 × 10 mm | 44.02 g | 2 h 45 min |
| Covers 20 × 20 mm | 46.74 g | 2 h 7 min |
| Flat chain 40 × 10 mm | 48.59 g | 2 h 36 min |
| Laser chain 20 × 15 mm | 70.03 g | 3 h 39 min |
| Chain 20 × 20 mm with covers | 78.59 g | 3 h 55 min |
| Standard chain 15 × 15 mm | 79.53 g | 4 h 13 min |
| Large chain with pins | 89.96 g | 4 h 25 min |
The values are for PLA and the respective plate; with PETG and other settings they differ somewhat. A standard plate takes a little over four hours, an evening project, and depending on the chain length you need several plates.
Assembly: remove any brim remnants, push the links together one after another and move each joint through once. With pins you push the pins through the holes. Only then do you lay in the cables and, if you have them, put on the covers. Last, screw the end brackets to frame and carriage and secure the cables there with a zip tie.
How long does a printed chain last?
Honestly: a printed drag chain is a good substitute for light cables and slow machines, not for hard continuous use. On a 3D printer, an engraving laser or a small router at moderate speeds it lasts a long time. With high accelerations, heavy hoses or very many cycles a day, the material fatigues at pins and stops. Then choose pins instead of snap pins, more wall thickness and PETG or nylon, and keep a few spare links ready. This applies to printed joints in general; there is no guarantee for a particular lifetime.
Lay the cables loosely in the chain and check the joints for fine cracks from time to time.
Credits and origin
The idea of a parametric printable drag chain comes from the model “Fully Parametric Drag Chain” by Gasol1n on Printables, published under CC-BY-SA-4.0. We name it here as inspiration. The geometry, joints, bend stops, covers and end brackets of this generator are an own design; neither code nor geometry was taken.
The generator itself is under the license of the repository, like the whole project. More about licenses and sources is on the licenses page. To the generator and the examples it is one click.
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 |
|---|---|---|---|
| Cable space | |||
| Inner width | 15 mm | 8 – 60 mm | Width of the cable space between the side walls. |
| Inner height | 15 mm | 8 – 40 mm | Height of the cable space above the floor bars. |
| Wall layer | 2 mm | 1.6 – 3.5 mm | Thickness of one wall layer; every side wall has two (outer and inner) plus the gap. |
| Floor | 2 mm | 1.6 – 4 mm | Thickness of the floor bar the cables rest on. |
| Chain | |||
| Pitch | 0 mm | 0 – 60 mm | Distance between the pivots of one link, 0 = automatic. Shorter links bend more smoothly. |
| Bend radius | 40 mm | 10 – 300 mm | Smallest inner radius of the loop (to the floor). The bend stops limit each link to this; at most 40° per link. |
| Chain length | 500 mm | 200 – 2000 mm | Length the chain should have; the number of links follows from it. |
| Clearance | 0.3 mm | 0.15 – 0.6 mm | Gap between moving faces and in the pin holes. 0.3 mm suits most printers; raise it if the links are stiff. |
| Links on the plate | 0 | 0 – 60 | How many links (and covers) to print at once, 0 = as many as fit, at most the chain needs. |
Frequently asked questions
Which material should I use for the drag chain?
PETG or nylon. Both are tough and survive many bends. PLA is brittle, and the snap pins and forked cover legs break quickly. Print two links as a test before you start the whole chain.
Do I need supports?
No. The links stand upright on the bed, the underside of the snap pin is shaped as a flat wedge, and the covers print flat. All 13 examples slice in PrusaSlicer without automatic supports.
How many links do I need for my travel?
Enter the chain length and the calculator shows the number of links, the angle per link, the loop height and the travel. A long chain needs several plates, because only as many links as fit are printed at once.
The links are stiff or wobbly. What can I do?
Adjust the clearance. The default of 0.3 mm suits most printers. If the links are tight, raise it to 0.35–0.4 mm; if they wobble a lot, try 0.25 mm. The two-link test print shows this in under half an hour.
Does a printed drag chain last?
For light cables on 3D printers, lasers and small routers, yes. For heavy cables, high speeds or daily industrial use, an injection-molded chain is the better choice. Expect to replace a printed link now and then; the file is quickly printed again.
Can I print the covers in another color?
Yes. Set Top to “Cover” and give the covers a color of their own in the color panel. They then become a separate part that you assign to another filament in PrusaSlicer or Bambu Studio.
Origin & license
- Fully Parametric Drag Chain by Gasol1n · CC BY-SA 4.0 · idea – Idea of a parametric printable drag chain; geometry, joints, bend stops, covers and end brackets are an own design (no code taken).