3D Printing Generator
DeutschEnglish

Thread adapter: connect bottles, jars, pipes and bolts

A thread adapter for any two threads

A thread adapter joins two parts that were never meant to fit: a soda bottle to a pump dispenser, a mason jar to a bottle cap, a garden hose to a PET bottle, an M16 bolt to an M12 nut. This generator builds that adapter for you. You choose a thread for each end, decide whether it is female (screws onto a bottle neck or a bolt) or male (screws into a cap or a nut), and download a printable STL. Browse the examples to see what is possible, or open the generator and start from the default: a soda bottle to soda bottle coupler.

Everything runs in your browser. Nothing is uploaded, and the whole design is stored in the link you can share.

How the generator works

The adapter is a stack of three sections: end A at the bottom, a straight middle section, and end B at the top. Each end has its own set of controls under “End A (bottom)” and “End B (top)”.

  1. Pick “Female” or “Male” under “Thread” for the end.
  2. Pick a “Thread family” (soda bottle, bottle neck, mason jar, pipe thread G, metric M, or custom size) and then a “Size”.
  3. Adjust “Outer diameter”, “Pitch” and “Thread length” if you need something that is not in the tables.
  4. Set “Clearance”, “Wall thickness”, “Bore”, “Middle section” and “Grip” for the body.
  5. Download the STL.

The part is built as one solid. When the two ends have very different diameters, the generator adds a conical transition and, if needed, lengthens the middle section so that the transition prints without supports. You get a hint in that case.

Thread families and sizes

FamilyWhat it is forExamples
Soda bottle (PCO)Carbonated drink bottlesPCO 1881, PCO 1810
Bottle neck (SPI)Cosmetic, pump and spray bottlesSPI 24-410, SPI 28-400, SPI 28-410, SPI 38-400
Mason jarCanning jarsMason 70-400 (regular), Mason 86-400 (wide mouth)
Pipe thread GTaps, garden hoses, fittingsG1/2, G3/4, G1
Metric (M)Bolts, nuts, cable glandsM12, M16, M20
Custom sizeEverything elseby diameter and pitch

For a female end the size describes the male thread it fits on. For a male end it describes the thread of the matching nut or cap. The generator shows a summary line per end, for example the diameter, the pitch, the threads per inch and the length.

Custom sizes

With “Custom size” you enter the “Outer diameter” (from 6 to 140 mm, measured over the crests of the male thread), the “Pitch” (0.5 to 8 mm) and the “Thread length” (up to 40 mm; 0 picks a usual length). For inch threads divide 25.4 by the threads per inch: 8 TPI is 3.175 mm, 20 TPI is 1.27 mm. Two examples show this: the lotion bottle refill joins a 1 inch × 8 TPI thread to a 1.175 inch × 7 TPI thread, and the tripod adapter converts a 3/8 inch tripod thread to the 1/4 inch camera thread.

Fit, flanks and clearance

A printed thread needs a little air between the two parts. “Clearance” is the gap per side, default 0.2 mm, adjustable from 0 to 0.8 mm. A well-tuned printer is fine with the default. If the parts bind, raise the value by 0.05 to 0.1 mm; if they wobble, lower it.

“Flanks” changes the thread profile:

  • Print-friendly (default): the downward-facing flanks are steeper and slightly shallower than the standard, so the thread prints without supports and still screws onto the standard part. The profile is the largest shape that clears the standard thread.
  • Standard: the exact standard profile with the clearance applied. The slicer sees the flanks as overhangs and may add supports in the thread zones.

An honest note: the thread fit has not been test-printed yet. The geometry follows the thread tables and the clearance logic is checked in the tests, but a printer, a filament and a real bottle neck all add tolerances. Print a short ring with just the thread first (set “Middle section” and the other end small) and try it on the real part before you commit to a long print.

Body: wall, bore, middle section and grip

“Wall thickness” (1.2 to 6 mm, default 2 mm) is the wall around a female thread and the wall inside a male thread. “Bore” is the diameter of the channel through the adapter; 0 makes it as wide as both ends allow, and the generator reduces it with a hint if the walls would get too thin. “Middle section” (0 to 40 mm, default 3 mm) is the straight length between the ends.

“Grip” can be “Round” or “Hex”. The hex gives you flats to tighten the adapter with a wrench, which is useful for pipe threads and bolts. The reducer G3/4 to G1/2 and the double nipple G1 to G3/4 use it, and a longer middle section such as 6 mm leaves room for the wrench.

A male thread has a narrow channel because the thread itself takes up space. If the bore gets small, the warning “the wall inside the male thread is only … mm thick” appears. Then print with dense infill or choose a larger thread.

Print settings

The adapter stands on end A with its axis vertical, so the threads are ring-shaped layers and need no supports in the default setup. These numbers come from a real slice (PrusaSlicer, Prusa MINI, 0.20 mm SPEED profile, Prusament PLA, no automatic supports):

ExampleFilamentTime
Soda bottle to soda bottle6.2 g27 min
Soda bottle to pump bottle 24-4108.5 g38 min
Reducer G3/4 to G1/2 with hex11.5 g50 min
Cable gland M25 to M206.4 g33 min
Tripod 3/8 to 1/42.9 g26 min
Mason jar to bottle cap48.5 g1 h 50 min

Tips for good threads:

  • Use a 0.4 mm nozzle and a layer height of 0.2 mm or finer. Fine pitches such as 1.27 mm look better at 0.12 to 0.16 mm.
  • Print slowly on the outer walls and keep the cooling on. Thread crests are thin and curl when they stay hot.
  • Use three or more perimeters for the thread zone. The infill does not carry the load, the walls do.
  • If the first layer flares out (elephant’s foot), the bottom thread turns tight. Add a bit of clearance or enable elephant foot compensation in your slicer.
  • Keep the adapter below 180 mm in height. Extreme size differences with a hex grip can exceed that; the editor warns you.

Use cases

A printed adapter is not rated for pressure. Do not use it for gas, hot water, drinking-water supply lines or anything where a leak or a burst is dangerous. For food contact use a food-safe filament and remember that layer lines are hard to clean.

Similar tools

If you need a single bolt and a matching nut instead of an adapter, try the bolt and nut generator. For a plain tube connection see the funnel.

Origin and license

The idea and the layout of this generator, two threaded sections stacked on top of each other and sized by diameter and pitch, come from Customizable threaded connector/adapter by DTMakes (CC-BY-4.0). The threads themselves are rebuilt here with our own thread code and the standard tables for PCO, SPI, mason jar, G and metric threads, so the geometry is not a copy of the original. More on licenses on the license page.

Open the generator or browse the examples.

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
End A (bottom)
Outer diameter25.4 mm6 – 140 mmOuter diameter of the male thread this end fits on or into, measured over the thread crests. 1 inch = 25.4 mm.
Pitch3.18 mm0.5 – 8 mmDistance from one thread to the next. For inch threads: 25.4 divided by the threads per inch (8 TPI = 3.175 mm).
Thread length0 mm0 – 40 mmLength of the thread. 0 uses the usual length for this thread, such as the height of the bottle neck.
End B (top)
Outer diameter29.8 mm6 – 140 mmOuter diameter of the male thread this end fits on or into, measured over the thread crests. 1 inch = 25.4 mm.
Pitch3.63 mm0.5 – 8 mmDistance from one thread to the next. For inch threads: 25.4 divided by the threads per inch (8 TPI = 3.175 mm).
Thread length0 mm0 – 40 mmLength of the thread. 0 uses the usual length for this thread, such as the height of the bottle neck.
Fit
Clearance0.2 mm0 – 0.8 mmGap per side between the printed thread and the matching part. If it binds, raise it by 0.05 to 0.1 mm.
Body
Wall thickness2 mm1.2 – 6 mmWall around a female thread and inside a male thread.
Bore0 mm0 – 120 mmDiameter of the channel through the adapter. 0 makes it as wide as both ends allow.
Middle section3 mm0 – 40 mmStraight length between the ends. Transitions between different diameters are added automatically.

Frequently asked questions

Is the fit tested?

Not yet. The thread profiles follow the standards, but the adapter has not been test-printed on real parts. Print a short test piece first and raise the clearance by 0.05 to 0.1 mm if it binds.

Do I need supports?

No. With the default “Print-friendly” flanks the thread and the transitions between different diameters print without supports. With “Standard” flanks your slicer may add supports in the thread zones.

Will the adapter be watertight?

Not by itself. Printed threads leave small gaps. For liquids use a gasket or PTFE tape, print with enough walls and keep the adapter for low pressure only.

My thread is not in the list. What now?

Choose “Custom size” as the thread family and enter the outer diameter of the male thread and the pitch. That covers inch threads, camera threads and cable glands.

Which material should I use?

PETG or ASA for anything that touches water, cleaning agents or sun. PLA works fine for dry parts and for trying out the fit.

Origin & license