3D Printing Generator
DeutschEnglish

Spacers and washers: print them to size

Spacers, standoffs and washers in minutes

Sooner or later every project needs one: a spacer that holds a circuit board a few millimeters off the case, a washer that is missing from the drawer, a ring that keeps a wheel away from its frame. They are cheap to buy, but never in the size you need right now. This generator makes spacers, standoffs and washers for M2 to M12 screws or any hole you like, round, hex or square, and prints as many as you need in one go.

A small spacer prints in a few minutes: the 10 mm M3 spacer takes about 4 minutes and 0.4 g of PLA on a Prusa MINI. Browse the examples to see what else is possible, from standoffs for single-board computers to ISO 7089 washers.

How the generator works

The spacer generator runs entirely in your browser. Nothing is uploaded and you need no account. Pick the screw, the shape and the size; the preview updates as you type, and the facts panel shows the hole diameter and the thinnest wall. When it looks right, download the parts as STL or 3MF. Your settings are part of the link, so “Share” gives you an address you can bookmark or pass on.

The quickest way to start is with the presets at the top:

  • PCB: a hex standoff for M2.5 or M3, 10 mm long, like the standoffs for circuit boards and single-board computers.
  • Furniture: a long, rounded spacer from M5 up (M6 for smaller screws), 25 mm long.
  • Washer: a flat washer with the dimensions of ISO 7089 for the chosen screw.
  • Fender washer: a large ISO 7093 washer that spreads the load on soft wood or plastic.
  • Plain disc: a freely sized ring with a 5 mm hole, 18 mm outside and 2 mm thick.

A preset only fills in the values. You can change every one of them afterwards.

Screw and hole

Under “Screw” you choose a metric size from M2 to M12, or “Custom hole” for axles, shafts and anything that is not a screw. “Hole” decides what the screw does in the spacer:

  • Clearance: the screw passes through. The hole size follows ISO 273, and “Fit” chooses close, normal or loose.
  • Tap hole: the hole is the size of a tap drill, so the screw cuts its own thread into the plastic. That works well in PLA and PETG for screws you don’t open often.
  • Insert: holes for heat-set inserts, the small brass sleeves with a female thread that you melt in with a soldering iron. “Insert at both ends” adds one at the bottom as well, which turns the spacer into a standoff with a thread on each side, like the M3 standoff with heat-set inserts. Inserts exist here up to M8.

The clearance holes for the most common sizes:

ScrewCloseNormalLooseTap hole
M2.52.7 mm2.9 mm3.1 mm2.05 mm
M33.2 mm3.4 mm3.6 mm2.5 mm
M44.3 mm4.5 mm4.8 mm3.3 mm
M55.3 mm5.5 mm5.8 mm4.2 mm
M66.4 mm6.6 mm7.0 mm5.0 mm
M88.4 mm9.0 mm10.0 mm6.75 mm

Printed holes tend to come out a little smaller than modeled. If your screws bind, raise “Clearance” in steps of 0.1 mm; the value is added to every hole kind. With the screw hole test you can print a small plate of test holes and read off the right value for your printer once and for all.

“Hole chamfer” adds a 45° chamfer at both ends of the hole. The screw finds its way in more easily, and the first layer, which is always squeezed a bit wider, no longer narrows the hole at the bottom.

Size, shape and edges

“Outer size” is the diameter of a round spacer or the width across flats of a hex or square one. “Height” is the length of the spacer or the thickness of the washer, from 0.4 to 150 mm. If the hole leaves no wall, the generator makes the outside larger by itself and tells you so; if the wall is thinner than about two printed lines, you get a notice as well.

Under “Shape” you choose round, hex or square. A hex spacer is easy to grip and to hold with a wrench while you tighten the screw, as with the 5 mm hex spacer. Square spacers sit flat against slats and posts, like the square M8 spacer for fences and pergolas.

“Edges” sets the outer edges: sharp, chamfer, rounded or fully round, and “Chamfer / rounding” sets their size. A rounding at the bottom edge turns into a 45° slope, so the spacer still prints without supports. Rounded edges feel nicer on furniture and are less likely to chip.

Counterbore, countersink and nut trap

Under “Top” the spacer can get a recess for the screw head: a countersink for flat-head screws or a counterbore for socket head cap screws, so the head sits flush inside the spacer. The M4 spacer with a counterbore is an example.

“Nut trap at the bottom” adds a hex pocket for an ISO 4032 nut. The nut can’t spin in it, so all you need to tighten the screw is a screwdriver, as with the M3 spacer with a nut trap. If the recess or the nut does not fit into the spacer, the generator leaves it out and tells you which value to change. With heat-set inserts there is neither a recess nor a nut trap, since the insert takes their place.

Washers, shims and spacer rings

With a small height, the spacer becomes a washer. The “Washer” and “Fender washer” presets use the dimensions of ISO 7089 and ISO 7093; an M5 washer, for example, is 5.3 × 10 × 1 mm. Printed washers are useful as spares, as insulating washers between metal parts or as soft washers on painted surfaces.

With “Custom hole”, any ring is possible: thin shim washers that take up play on wheels and hinges, or a spacer ring for an 8 mm shaft that keeps two 608 bearings apart and rests only on their inner race. For washers below 1 mm the first layer has to be well dialed in; the generator shows a notice, and the presets never go below 0.6 mm, three layers at 0.2 mm.

Printing many at once

“Pieces” puts up to 50 identical parts on the plate, and “Gap” sets the space between them. The generator lays them out in rows on an 18 × 18 cm plate; if not all of them fit, it tells you how many did. Ten M5 washers take under 4 minutes and 0.7 g together, four M2.5 standoffs about 7 minutes.

Printing tips

Spacers print upright with the hole pointing up, so the hole stays round and needs no supports. A few settings make a difference:

  • Perimeters: small spacers consist almost entirely of walls anyway. For spacers that carry load, set four or more perimeters or 100 % infill. The 30 mm furniture spacer for M6 takes about 32 minutes and 3.5 g with the standard profile, a little more with extra walls.
  • Layer height: 0.2 mm is fine; 0.1–0.15 mm makes thin washers and small holes more accurate.
  • Material: PLA for indoor use, PETG or ASA outdoors, near heat or where a little flex is welcome. TPU makes soft, vibration-damping washers.
  • Many small parts: print several at once rather than one by one, so each layer has time to cool.

Credits and licenses

The edge profiles come from smooth-prim by Ryan A. Colyer (CC0). The screw data (ISO 273 holes, tap drills, nuts, heat-set inserts) comes from catchnhole by Maciej Małecki (MIT) and the tables of BOSL2 by Revar Desmera (BSD-2-Clause). The idea of the freely sized washer goes back to Parametric Washer/Spacer by radfahrer (CC-BY 4.0). All license texts are on the licenses page.

Open the spacer generator and make the part you are missing. If you need the screw itself as well, the bolt and nut generator prints matching bolts and nuts.

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.

ParameterDefaultRangeMeaning
Screw and hole
Hole Ø5 mm1 – 60 mmDiameter of the custom hole, e.g. for an axle or shaft.
Clearance0 mm-0.5 – 1.5 mmAdded to the hole. If your printer makes holes too tight, raise it in small steps.
Hole chamfer0.3 mm0 – 3 mm45° chamfer at both hole ends: the screw finds its way in, and the first layer doesn’t squeeze into the hole.
Size and shape
Outer size7 mm3 – 120 mmOuter diameter; for hex and square the width across flats.
Height10 mm0.4 – 150 mmLength of the spacer or thickness of the washer.
Chamfer / rounding0.5 mm0 – 10 mmSize of the chamfer or rounding on the outer edges.
Pieces
Pieces11 – 50How many identical parts go on the print plate.
Gap3 mm1 – 20 mmSpace between the parts on the plate.

Frequently asked questions

Do spacers and washers need supports?

No. They print upright on the bed with the hole pointing up. Bottom edges get a 45° slope instead of an overhang, and counterbores and nut traps are open toward the top or sit on the bed.

How strong is a printed spacer?

Strong enough for circuit boards, enclosures, shelves and garden fittings. For spacers that take real load, print with four or more perimeters or 100 % infill and choose PETG; a metal spacer is still the better choice for structural joints.

My screw doesn’t fit through the hole. What now?

Switch “Fit” to “Loose” or raise “Clearance” by 0.1–0.2 mm. Printed holes usually come out slightly smaller than modeled; the screw hole test generator helps you find the right value for your printer.

Can I screw straight into the spacer?

Yes: choose “Tap hole” under “Hole”, and the screw cuts its own thread into the plastic. For connections you open often, use “Insert” and melt in a heat-set brass insert.

How thin can a washer be?

From 0.4 mm, but the presets never go below 0.6 mm, which is three layers at 0.2 mm. Below 1 mm the first layer has to be well dialed in, and the generator shows a notice.

Is anything uploaded?

No. Everything is calculated in your browser, and your design is stored only in the link (“Share”).

Origin & license

  • smooth-prim by Ryan A. Colyer · CC0 1.0 · helper code ported – Edge profiles SmoothCylinder, HollowCylinder, ChamferHole and SmoothHole, ported to core/geometry/smooth.ts
  • catchnhole by Maciej Małecki · MIT · helper code ported – Screw heads and nut traps (core/mech/screws.ts)
  • BOSL2 by Revar Desmera · BSD-2-Clause · helper code ported – Dimension tables for screws, nuts and holes (core/mech/screws.ts)
  • Parametric Washer/Spacer by radfahrer · CC BY 4.0 · idea – Idea of the freely sized washer (inner and outer diameter, thickness) and example dimensions