snugfit

“The clip I printed is for 20 mm pipe. My pipe is 21.3.”

Pipe clamp STL generator for any pipe diameter

Fixing conduit, garden irrigation pipe, a broom handle, an aluminium tube or a cable bundle to a wall or board. Pipe is sold by nominal size, and the real outside diameter is often a millimetre or more away from the name.

Loading the model builder…First visit downloads a 3.5 MB engine. After that, models build in about a second.

What to measure first

  1. Measure the outside diameter of the pipe with calipers, in two directions at right angles. Pipe is often slightly oval; use the larger reading.
  2. Decide whether the pipe should be gripped or free to slide. For grip, set clearance to 0. For sliding, leave it at 0.25 mm or more.

Where the numbers come from

The inside radius of the strap is half the pipe diameter plus the clearance you set.

The pipe rests on the wall: the strap is open at the bottom, and the ears sit flat against the surface.

The two ear holes are the ISO 273 medium clearance for the screw: 4.5 mm for the default M4. A 14 mm ear leaves 4.75 mm per side before printer compensation. The default 0.2 mm offset widens the hole to 4.7 mm and leaves 4.65 mm per side in the STL.

The clamp prints with the pipe axis upright, so the ear holes run sideways and come out slightly flattened at the top. The printer offset, 0.2 mm by default, makes up for it; raise it by 0.1 mm if a screw binds.

Sliders and their ranges
SettingDefaultRange
Pipe outside diameter21.3 mm4 to 120 mm
Clearance per side0.25 mm0 to 1 mm
Strap thickness3 mm1.6 to 8 mm
Ear width14 mm8 to 40 mm
Length along the pipe16 mm6 to 80 mm
Screw size (M)42 to 8
Hole offset for your printer0.2 mm0 to 0.6 mm

How to print it

  • The clamp is modelled standing on one end, with the pipe axis upright, so every layer is a complete strap and the curve never has to hold across a layer line.
  • The length along the pipe is the print height in this orientation. Longer clamps spread the load and cost little time.

What this generator does not do

  • No load rating. A strap printed in PLA is fine for holding a pipe in place indoors; it is not a structural hanger.
  • For pipes carrying hot water, PLA will soften and let go. Use PETG, ABS or ASA.

Questions

How tight should the screws be?
Snug, then stop. The strap flexes to grip the pipe. Overtightening pulls the ears down and cracks them where they join the strap, usually along a layer line.
The pipe is loose in the clamp.
Set clearance to 0, or measure the pipe again. If it still slides, a turn of tape around the pipe is the quick fix.

How this page was checked

On 2 December 2026 this model was compiled 17 times across its slider ranges, and every build was a closed solid. At the defaults it measures 55.8 × 24.8 × 16 mm, about 4.16 cm³ if printed solid. Geometry only: strength is not tested. Method and limits.

References

  • ISO 273:1979, Fasteners — Clearance holes for bolts and screws. Source of the screw clearance hole diameters (medium series).

Related generators