3D Printing Generator
DeutschEnglish

Fan duct generator: adapters for 40–140 mm fans

What the fan duct generator does

A fan blows in every direction, but most of the time you want the air in one particular place: through a hose to a hotend, onto a circuit board, out of an enclosure, or as a flat stream across a surface. For that you need a fan duct: a part that bolts to the fan with a square flange and guides the round airflow into a spigot or a nozzle.

This generator builds exactly that part. You choose the fan size from 40 to 140 mm, the shape of the outlet (round or rectangular), a bend from 0° to 90° and the wall thickness. It works out the rest: the hole spacing, the smooth transition from the fan circle to the outlet, the press-fit ribs on the spigot and, for sharp bends, the split into two pieces. Ready-made designs are in the fan duct examples; the 120 mm fan to a 50 mm hose is a good starting point.

The model is computed in your browser. Nothing is uploaded, and your whole design is stored in the link you copy with “Share”. At the end you download an STL or 3MF file and print without supports.

Fan sizes and hole spacings

PC fans are standardized: the size is the edge length of the square frame, and the four screw holes sit near the corners. The generator knows six sizes and calculates the hole spacing (center to center) for you:

Fan sizeHole spacingScrews with “Auto”
40 mm32 mmM3
60 mm50 mmM3
80 mm71.5 mmM4
92 mm82.5 mmM4
120 mm105 mmM4
140 mm124.5 mmM4

The “Fan size” field shows the matching spacing for every size. Under “Screw holes” you pick “Auto”, M3, M4 or “None”. “Auto” uses M3 for the small fans and M4 above that. The holes are clearance holes with some play, so the screws that came with your fan work too.

The plate that sits on the fan is the flange. Set its thickness with “Flange thickness” (2–8 mm, default 4 mm) and the rounding of its corners with “Corner radius” (0–20 mm, default 5 mm). The radius is limited automatically so the screw holes keep enough material around them.

The outlet: round or rectangular

“Outlet” decides what sits at the end of the duct.

Round for hoses and pipes

A round outlet suits dust extraction hoses, ventilation hoses and pipes. “Outlet diameter” ranges from 8 to 150 mm (default 50 mm). Whether that value is measured outside or inside is set by “Fit”:

  • Outside: the size is the outer diameter of the spigot, and a hose slides over it. With 50 mm outside and a 2 mm wall, the air passage inside is 46 mm.
  • Inside: the size is the inner diameter. A pipe goes into the spigot, as in the example 80 mm fan with a socket for a 40 mm pipe. Its opening is 40.4 mm so the pipe fits with a little play.

Below the field the generator shows both sizes (“Outlet inside … mm, outside … mm”) so you don’t have to calculate. Measure the inner diameter of your hose with calipers and enter roughly that value; the ribs provide the grip.

Rectangular for slot nozzles and flat ducts

For a rectangular outlet you set “Outlet width” (10–160 mm), “Outlet height” (5–140 mm) and “Outlet corner radius” (0–30 mm). With that you build flat nozzles that lay a wide stream of air across a part, like the 100 × 15 mm slot on a 120 mm fan, or the small 40 mm fan with a 30 × 6 mm slot for targeted cooling in tight spots.

Transition, spigot and press-fit ribs

Between the round fan opening and the outlet lies the transition. “Transition length” (0–100 mm, default 60 mm) sets how gently the shape changes. Long transitions guide the air better, short ones save space and material. The generator lengthens the transition by itself when a wall would otherwise lean more than 40°. You then get a warning with the new length, and you can adopt that value.

“Spigot length” (0–80 mm, default 25 mm) is the straight end after the transition, the part you push the hose onto. It carries the “Press-fit ribs” (0–6, default 3) with a “Rib height” of 0.2–1.2 mm (default 0.6 mm). The ribs bite into the hose and hold it without a clamp. Use 0.4 mm for rigid pipes and thin hoses and about 0.8 mm for soft silicone hose. If the spigot is too short for the number of ribs you asked for, the generator places fewer and tells you.

“Wall thickness” (1.2–4 mm, default 2 mm) applies to the whole duct. Two millimeters are five lines with a 0.4 mm nozzle, which is sturdy and airtight for air ducts. Small fans do fine with 1.2–1.6 mm, as in the 60 mm fan with a 25 mm hose.

The bend and the split above 45°

With “Bend angle” (0–90°) the duct turns sideways. “Bend radius” (2–60 mm, default 10 mm) is the inner radius of the curve: the larger it is, the less turbulence you get. “Bend towards” chooses whether the duct points at a side or at a corner of the fan square. The corner helps when the space beside the fan is already taken, as in the example with 30° towards a corner and a 60 mm hose.

Up to 45° the duct prints in one piece: the flange lies on the bed and the duct grows upward without leaning far enough to need supports. Beyond that the curve would hang in the air. So the generator splits the duct into two pieces:

  • Base: flange, transition and a straight 8 mm spigot.
  • Outlet piece: it starts with a socket that fits over the spigot and contains the bend and the hose spigot. It is printed with the socket on the bed, so no wall leans more than 45°.

The socket has 0.25 mm of play per side. Slide the pieces together and glue them with a little cyanoacrylate or plastic cement if the duct is meant to stay; for a test the friction is often enough. Examples are the 120 mm fan deflector at 90° and the 80 mm fan with a 90° elbow to a 40 mm hose. The 140 mm deflector at 45° sits exactly at the limit and still needs no split.

“Pieces” lets you pick “Both”, “Base” or “Outlet”. If both pieces do not fit side by side on a 180 mm bed, a warning says so, and you download the pieces one after the other. Each piece lies flat on the bed; the outlet piece stands on its socket.

Automatic shortening and warnings

The generator keeps every piece within 180 × 180 × 180 mm so it fits common print beds. If a duct is too big, it shortens it in this order until it fits:

  1. The spigot is shortened first. Warning: the duct did not fit a 180 mm bed, so the spigot was shortened.
  2. The bend radius is reduced, down to a minimum of 2 mm.
  3. The transition shrinks, but never below the length needed for the 40° lean.
  4. Last, the outlet is scaled down in small steps, and the warning tells you to what percentage.

Other warnings: not all “Press-fit ribs” fit on the spigot; a screw head sits under the duct (put the screws in from the fan side or use a longer screwdriver); or a part could not be built cleanly, in which case change the size or wall thickness a little. After a little trial and error you quickly find a design without warnings.

Print numbers from real slices

All examples were sliced with PrusaSlicer for a Prusa MINI with input shaper (0.20 mm SPEED, Prusament PLA) and need no supports. The default duct, the 120 mm fan to a 50 mm hose, weighs 60.6 g and prints in about 2 hours 7 minutes. The examples range from 5.8 g to 108 g:

ExampleWeightPrint time
40 mm fan, 30 × 6 mm slot5.8 g40 min
40 mm fan, 45° bend to a 20 mm hose7.4 g48 min
60 mm fan to a 25 mm hose13.9 g1 h 4 min
80 mm fan, socket for a 40 mm pipe34.9 g1 h 32 min
120 mm fan to a 50 mm hose60.6 g2 h 7 min
140 mm fan to a 100 mm hose80.7 g2 h 12 min
120 mm deflector 90° (two pieces)107.4 g3 h 12 min

Times depend heavily on your printer, so slice it with your own profile to be sure.

Printing tips

  • Material: PLA is fine for hoses and enclosures at room temperature. Near a hotend or power supply use PETG or ASA, because PLA softens at around 55 °C.
  • Orientation: the flange lies flat on the bed. The slicer needs no supports, and with a bed that holds well no brim either.
  • Walls: print at least three perimeters, then the duct is airtight and the ribs are sturdy.
  • Layer height: 0.2 mm works for every example. At 0.12 mm the transitions get smoother, but the time rises a lot.
  • Fan side: put a thin rubber or foam gasket between flange and fan so no air escapes sideways. It also dampens vibration noise.
  • Mounting: the duct belongs on the exhaust side of the fan. An arrow on the fan frame shows the airflow direction.

Origin and credits

The idea of a printed fan deflector comes from the model 120/140mm fan deflector STL/OpenSCAD by BarsMonster (Printables, CC-BY-4.0). It served as inspiration only. The geometry, transition, split and press-fit ribs of this generator are an own design; no code or mesh was taken over. The sources are listed on the licenses page.

Open the fan duct generator, browse the examples, or look at the 18650 battery holder if you are building an electronics project.

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
Fan and flange
Flange thickness4 mm2 – 8 mmThickness of the square plate that sits on the fan.
Corner radius5 mm0 – 20 mmRounding of the flange corners, 0 = square. Limited so the screw holes keep enough material.
Outlet
Outlet diameter50 mm8 – 150 mmDiameter of the round outlet (outer or inner, see Fit).
Outlet width100 mm10 – 160 mmWidth of the rectangular outlet, across the bend.
Outlet height25 mm5 – 140 mmHeight of the rectangular outlet, in the plane of the bend.
Outlet corner radius3 mm0 – 30 mmRounding of the outlet corners.
Spigot length25 mm0 – 80 mmStraight end of the outlet that the hose or pipe slides onto.
Shape and bend
Transition length60 mm0 – 100 mmLength of the smooth change from the fan circle to the outlet shape. It is made longer when needed so no wall leans more than 40°.
Bend angle0 °0 – 90 °0° = straight. Up to 45° prints in one piece; above it the duct is split into two pieces that slide together.
Bend radius10 mm2 – 60 mmInner radius of the bend; larger radii guide the air more gently.
Wall thickness2 mm1.2 – 4 mmThickness of the duct wall; 2 mm is five 0.4 mm lines.
Press fit
Press-fit ribs30 – 6Number of ribs on the spigot that grip the hose or pipe, 0 = smooth.
Rib height0.6 mm0.2 – 1.2 mmHow far the ribs stand out; 0.4–0.8 mm suits most hoses.

Frequently asked questions

What hole spacing do the fans have?

The generator knows the usual values: 32 mm for 40 mm fans, 50 mm for 60 mm, 71.5 mm for 80 mm, 82.5 mm for 92 mm, 105 mm for 120 mm and 124.5 mm for 140 mm. You only pick the fan size.

Do I need supports?

No. The transition is lengthened when needed so no wall leans more than 40°, and a split duct is printed so that each piece lies flat on the bed.

Why is the duct split above 45°?

A sharper bend cannot be printed in one piece without supports. So you get a base and an outlet piece that slide together on an 8 mm spigot and socket and can be glued.

What do “Outside” and “Inside” mean for the fit?

With “Outside” the size is the outer diameter of the spigot and a hose slides over it. With “Inside” it is the inner diameter and a pipe slides into it.

What happens if the duct does not fit on the bed?

The generator shortens it automatically: first the spigot, then the bend radius, then the transition and finally it scales down the outlet. Each step shows a warning.

Is anything uploaded?

No. The generator runs entirely in your browser, and your design lives only in the link you copy with “Share”.

Origin & license