How to 3D print an articulated ball joint arm
An arm made of lockable ball joints
An articulated arm holds things exactly where you need them: the webcam above your monitor, the magnifier over a circuit board, the phone over a cookbook or a small LED light over the workbench. This generator builds such an arm from lockable ball joints, as a complete kit with a stand, extensions, adapters and a tip, laid out on the print bed and ready to slice. Ready-made combinations are in the examples, for instance the basic kit with 12 mm balls or the soldering helping hand.
Every joint has three parts:
- Ball part: ball, neck and a tapered peg.
- Base: a cup for the ball with an outer thread, a knurled body and a tapered bore underneath.
- Cap nut: it goes over the neck and screws onto the base; its lip reaches over the ball and presses it into the cup. A slot in its side lets the neck swing down to 90°.
Loosen the nut and the ball turns freely; tighten it and the joint locks. The peg of a ball part plugs into the base of the next joint, so you can chain as many joints as you like. In the basic kit two ball centers are 20 mm apart.
How the generator works
The generator runs entirely in your browser; nothing is uploaded, and your design lives in the link you get from “Share”. In the “Kit” section you choose how many “Joints” you need and whether a “Stand”, “Extensions”, adapters or a “Tip” belong to it. The generator places every part in its print orientation on a 180 × 180 mm plate, which fits a Prusa MINI. If a kit gets too big, it is split over several plates, and “Print plate” picks the one you download.
Downloads are STL or 3MF. Ball parts, bases, stand and adapters use the color “Joints and stand”, cap nuts and tips the color “Cap nuts and tip”. With two colors the 3MF file already assigns both groups to two filaments, or you print them one after the other.
Ball size, length and clearance
Under “Joint” one click sets the ball size: 8, 12, 16 or 20 mm like the original, or “Classic 8 mm”, the older variant with a two-start thread and 1.3 mm lead. You can also set the “Ball diameter” freely between 6 and 24 mm.
| Ball | Use | Basic kit (3 joints + stand) |
|---|---|---|
| 8 mm | magnifier, cable, light sensors | tiny, prints fast |
| 12 mm | phone, soldering clips, LED light | 8.7 g, 47 min |
| 16 mm | webcam, small light | sturdier, more reach |
| 20 mm | light camera, long arms | 2 joints + stand + stud: 18.6 g |
“Clearance” (0.05–0.5 mm, default 0.2 mm) sets the play in the cup and in the nut thread. If the nut binds, add 0.05 mm; if a tightened joint still wobbles, take some away. The “Taper angle” (default 2°) makes the pegs hold in their bores by friction.
The “Cable channel” switch bores through every part so a cable can run inside down to the stand, handy for an LED lamp arm. Since the nut then has no slot, a joint bends only about 30°.
Fine tuning
For the details, “Fine tuning” holds the sizes of the original: “Base length” and “Ball part length” (0 = ball diameter), “Wall”, “Neck length”, “Neck diameter”, “Peg diameter”, “Bore distance” and “Nut overlap”. How far the nut reaches over the ball center is a trade-off: more overlap holds tighter, less lets the joint bend further. A value of 0 always means “automatic” with the formulas of the original.
Thread and knurl
The thread between base and nut is set under “Thread · Knurl”: “Thread diameter”, “Thread depth” (default 0.6 mm), “Lead” (1 mm) and “Thread starts”. With two starts and a larger lead the nut locks in fewer turns. The flanks are cut at 45° so base and nut print without supports; that limits the tooth depth to 0.45 of the tooth spacing, 0.45 mm by default. “Base knurl” and “Nut knurl” set the wavelength of the knurl; 0 makes the base smooth.
Stands, extensions and adapters
There are four kinds of stand under “Stand type”:
- Socket: takes the peg of a ball part. A screw hole with room for the head lets you screw the stand down as well.
- Peg: carries a peg for the bore of a base.
- Socket + M4 and Peg + M4: with a pilot hole in which an M4 screw cuts its own thread, to mount the arm on a lamp base, a shelf or an enclosure, like the joint with an M4 thread.
“Legs” sets the number of legs (0 = a square plate), “Stand size” their span from 25 to 170 mm. From four legs on, “Forked legs” are available. “Magnet diameter” and “Magnet height” add a pocket for a neodymium magnet to the underside, see the magnetic base. “Brick stud socket” puts a 2 × 2 socket under the stand that fits standard building-brick studs, great for stop-motion rigs.
“Extensions” are rods with a peg at the bottom and a socket at the top. “Extension length” is the nominal length of the original; the hint below it shows how much reach each extension really adds. The female-female and male-male adapters flip the direction or let an arm branch.
The “Tip” is either a 1/4"-20 stud for cameras, webcams and phone clamps (4–12 mm long) or a clip holder with a bore, a slit and a hole for an M3 set screw, into which you push an alligator clip.
Printing and assembly
Every part already lies in its print orientation: ball parts peg down, bases and nuts upright, the stand flat. You need no supports: overhangs are 45° at most, bores end in 45° points, and a small 45° collar sits under the ball. Only the roofs of the magnet pocket and of the stud socket are flat bridges, so turn automatic supports off for those stands.
- Material: PLA or PETG. PETG is more forgiving when you tighten the nuts.
- Layer height: 0.2 mm is fine; 8 mm joints look nicer at 0.15 mm.
- Print time: the basic kit of three 12 mm joints and a stand takes 47 minutes and 8.7 g on a Prusa MINI with the “0.20mm SPEED” profile and Prusament PLA. The small 8 mm variant with four joints takes 43 minutes and 7.0 g, the camera arm with 20 mm balls 1 hour 23 minutes and 18.6 g.
To assemble a joint, slide the nut lip first over the peg of a ball part, put the ball into the cup of a base and screw the nut on loosely. Then press the peg into the bore of the next base or into the stand; press hard, the taper holds it. Pose the arm and tighten the nuts by hand.
Use cases
- Phone or camera arm: 16 or 20 mm joints with a 1/4" stud and a phone clamp.
- Webcam mount: two joints on a forked stand, as in the webcam example.
- Magnifier and lamp arm: many 12 mm joints and an extension, with a cable channel if you like.
- Helping hands: alligator clips on slim arms that hold boards and wires while you solder.
The knurled nuts are easy to grip; if you just need a single knob, try the knob generator.
Origin and license
This generator is a port of the Articulated Arm by Jack (Ulrich Bär), published under CC0. Ball, base, cap nut, stands, extension and adapters follow the file 22-112Balljoint.scad; the “Classic 8 mm” variant takes the sizes of 21-305Balljoint.scad. The helper shapes come from UB.scad (also CC0, Ulrich Bär), the threads from threads-scad by Ryan A. Colyer (CC0).
Differences from the original: the threads have 45° flanks, the ball has a 45° collar at its neck, bores end in 45° points and stands lie flat on the bed without roundings, all so that every part prints without supports. The M4 stands get a pilot hole instead of a printed thread, big magnets no longer thicken the walls, and the tips and the stud socket are new. All sources are listed on the licenses page.
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 |
|---|---|---|---|
| Kit | |||
| Joints | 3 | 0 – 12 | Sets of ball part, base and cap nut. Each set is one lockable joint. |
| Extensions | 0 | 0 – 4 | Rods with a peg at the bottom and a socket at the top, for more reach between two joints. |
| Extension length | 50 mm | 20 – 170 mm | Nominal length as in the original; the printed rod is shorter (see the hint). |
| Female-female adapters | 0 | 0 – 4 | Two sockets back to back: joins two pegs. |
| Male-male adapters | 0 | 0 – 4 | Two pegs back to back: joins two sockets, e.g. to branch an arm. |
| Gap between parts | 3 mm | 1 – 10 mm | Space between the parts on the print bed. |
| Print plate | 1 | 1 – 20 | Big kits are split over several 180 × 180 mm plates; pick the one to download. |
| Joint | |||
| Ball diameter | 12 mm | 6 – 24 mm | Size of the joint. The original offers 8, 12, 16 and 20 mm. |
| Base length | 0 mm | 0 – 60 mm | From the ball center to the end of the base’s taper bore. 0 = ball diameter. |
| Ball part length | 0 mm | 0 – 60 mm | From the ball center to the end of the peg. 0 = ball diameter. |
| Wall | 1 mm | 0.5 – 2.5 mm | Wall and rim thickness of all parts. Must stay below the neck length. |
| Neck length | 2 mm | 1 – 5 mm | Length of the neck between ball and peg. |
| Neck diameter | 0 mm | 0 – 12 mm | 0 = ball diameter / 2.25. |
| Peg diameter | 0 mm | 0 – 14 mm | Diameter of the tapered peg at the neck. 0 = neck + 1.5 mm. |
| Taper angle | 2 ° | 0 – 5 ° | Half angle of the friction taper of pegs and bores. 0 = straight peg. |
| Clearance | 0.2 mm | 0.05 – 0.5 mm | Play of ball cup and nut thread. Raise it if the nut binds, lower it if the joint wobbles. |
| Bore distance | 0 mm | 0 – 30 mm | From the ball center to the top of the base’s taper bore. 0 = d / 2 + 1 mm. |
| Nut overlap | 0 mm | 0 – 8 mm | How far the nut’s lip reaches over the ball center: more holds tighter, less lets the joint bend further. 0 = d / 5. |
| Knurl | |||
| Base knurl | 1.5 mm | 0 – 3 mm | Wavelength of the knurl on the base. 0 = smooth. |
| Nut knurl | 1.25 mm | 0.75 – 3 mm | Wavelength of the knurl on the cap nut. |
| Thread | |||
| Thread diameter | 0 mm | 0 – 30 mm | Core diameter of the base thread. 0 = ball diameter. |
| Thread depth | 0.6 mm | 0.3 – 1.2 mm | Depth of the thread teeth. With 45° flanks (printable without supports) at most 0.45 × lead / starts. |
| Lead | 1 mm | 0.6 – 3 mm | How far the nut moves per turn. |
| Thread starts | 1 | 1 – 3 | 1 = single thread, 2 = double thread (with a larger lead the nut locks in fewer turns). |
| Nut thread length | 0 mm | 0 – 20 mm | 0 = d / 2, at least 5 mm. |
| Stand | |||
| Legs | 5 | 0 – 8 | Number of legs. 0 = a square plate (socket and peg stands). |
| Stand size | 50 mm | 25 – 170 mm | Span of the legs or side of the plate. |
| Magnet diameter | 0 mm | 0 – 30 mm | Pocket for a round magnet in the underside. 0 = none. |
| Magnet height | 0 mm | 0 – 10 mm | Depth of the magnet pocket. |
| Tip | |||
| Stud length | 8 mm | 4 – 12 mm | Length of the 1/4"-20 thread. Camera bases need about 5–7 mm. |
| Clip bore | 3.2 mm | 2 – 6 mm | Diameter of the bore for the alligator clip’s tail. |
Frequently asked questions
How does the joint lock?
The knurled cap nut presses the ball into the cup of the base. Loosen it to adjust, tighten it by hand to lock; don’t use pliers or the thread will strip.
How do the parts connect?
The tapered peg of the ball part is pressed into the tapered bore of the next base. The 2° taper holds by friction; add a drop of glue for permanent arms.
Which ball size should I choose?
8 mm for light things like a magnifier or a cable, 12 mm for phones and soldering clips, 16–20 mm for cameras and longer arms.
What if the nut is too tight or too loose?
Change the “Clearance” (default 0.2 mm) in 0.05 mm steps or print with finer layers. The thread is shallow and needs clean edges, so don’t print the outer walls too fast.
Can I route a cable through the arm?
Yes, “Cable channel” gives every part a bore. The nut then has no slot, so a joint bends only about 30°.
Will a camera fit on the arm?
With the 1/4"-20 stud, yes, for light cameras, webcams and phone clamps. A printed thread is not meant for heavy cameras.
Origin & license
- Articulated Arm by Jack (Ulrich Bär) · CC0 1.0 · code ported – ball, base, knurled cap nut, stands, extension and adapters (22-112Balljoint.scad, sizes of the 21-305Balljoint.scad variant)
- UB.scad by Ulrich Bär (UBaer21) · CC0 1.0 · helper code ported – helper shapes Pille, Anschluss/SBogen, Kehle, VarioFill, Zylinder (knurl)
- threads-scad by Ryan A. Colyer · CC0 1.0 · helper code ported – threads of base, nut, M4 and the 1/4-inch stud (core/geometry/threads.ts)