# Replacement Part

> Bottle caps, jar lids and knobs from caliper measurements.

- Page: https://3dprintkit.tools/tools/replacement-part/
- Category: Make
- Opens: no file needed (you enter measurements or settings)
- Cost and privacy: Free. Runs in your browser; files are never uploaded. No account.

## When you need it
- A jar, bottle or tube has lost or cracked its lid, and the shop no longer sells it.
- A lab or drinks bottle has a multi-start thread and nothing off the shelf fits.
- A knob is missing from an amplifier, guitar pedal, lamp dimmer or appliance with a D-shaft or round shaft.
- A jig, clamp or enclosure needs a hand knob on a bolt.

## How to use it
1. Under **Make a**, choose **Screw cap or jar lid** or **Knob**.
2. For a cap, measure the neck as the diagram shows: **A · Over the threads**, **B · Pitch** and **C · Thread depth**. Set **Thread starts** (most jars and bottles have 1).
3. Under **Cap**, set **Thread length** (how far it screws on), **Wall**, **Top**, **Room for a seal** and **Gap each side**.
4. For a knob, choose what it **Fits on**: **D-shaft**, **Round shaft** or **Bolt** (M3 to M8). Enter the shaft sizes, then the knob's **Diameter**, **Height** and **Grip**: Knurled, Fluted or Smooth. **Pointer line on the face** is on by default.
5. Under **Download**, turn on **Print a test ring first** for a cap, pick **STL** or **3MF**, and download.

## What you get
One model per download, named `Screw cap 28 mm`, `Thread test 28 mm` or `Knob 25 mm` with the size you entered, as `.stl` or `.3mf`. The STL opens in every slicer, including Cura; the 3MF opens in Bambu Studio, OrcaSlicer and PrusaSlicer.

Caps are laid out top down, closed end on the bed, with shallow grip scallops round the outside and a chamfer at the mouth so the thread finds its start. Knobs are laid out face down. Both print without supports.

## Good to know
- Threads are right-hand only, with a plain 45° profile. There is no left-hand option and no named bottle standard built in, so the test ring matters.
- The thread depth can't exceed 0.42 × the pitch. If you enter more, the tool says so and uses the smaller depth.
- The test ring is a short open ring with the same thread. Screw it on, adjust, then print the cap.
- **Room for a seal** leaves space for a rubber or foam disc above the thread. The tool doesn't make the seal.
- Round-shaft knobs get a side hole for an M3 grub screw. Bolt knobs get a pocket for the hex nut, so the knob turns the bolt.
- It makes caps with an inside thread, not a replacement neck, nut or bolt.
- PETG suits caps that see liquids. Check your filament is food safe before using a cap on food or drink.

## Questions

### How do I 3D print a replacement jar lid or bottle cap?

Measure the neck with calipers: the diameter over the threads, the pitch and the thread depth. Enter them in the 3dprintkit Replacement Part tool, print the short test ring to check the fit, then download the cap as an STL or 3MF.

### How do I measure thread pitch without a thread gauge?

Measure across 5 thread crests with calipers and divide by 4. If you know the threads per inch, the pitch in millimetres is 25.4 divided by that number. The Replacement Part tool takes the pitch in mm.

### What clearance should a 3D printed screw cap have?

Start with 0.3 mm each side, the default gap in the Replacement Part tool, which turns freely on most printers. Print its test ring first and raise or lower the gap if the thread binds or wobbles.

### Can I 3D print a knob for a D-shaft potentiometer?

Yes. The Replacement Part tool makes knobs for D-shafts, round shafts and M3 to M8 bolts, as STL or 3MF. Pots and encoders often use a 6 mm shaft with a 4.5 mm flat; measure yours and use a 0.1 mm gap for a push fit.

## More in Make

- [OpenSCAD Customizer](https://3dprintkit.tools/tools/openscad-customizer.md): Open a .scad file, change its settings and download STL or 3MF.
- [Batch Personaliser](https://3dprintkit.tools/tools/batch-personaliser.md): A keychain, tag or sign for every name on a list, packed onto plates.
- [Keychain & Sign](https://3dprintkit.tools/tools/keychain-sign.md): Multi-colour name tags and signs in a bundled font or your own.
- [Drawing → Toy](https://3dprintkit.tools/tools/drawing-to-toy.md): Turn a drawing into a printable figure, keychain or magnet.
- [Cookie Cutter](https://3dprintkit.tools/tools/cookie-cutter.md): Cookie cutters from a drawing or SVG.
- [Fit Test](https://3dprintkit.tools/tools/fit-test.md): Small test prints for magnets, heat-set inserts, bearings and peg fits.
- [Gridfinity Bin](https://3dprintkit.tools/tools/gridfinity-bin.md): Gridfinity bins from 1×1 to 8×8 cells, with dividers and a label shelf.
- [Gridfinity Baseplate](https://3dprintkit.tools/tools/gridfinity-baseplate.md): Baseplates sized to your drawer and split to fit your bed.
- [Box with Lid](https://3dprintkit.tools/tools/box-with-lid.md): Boxes with snap, slide or hinged lids.
- [Lithophane](https://3dprintkit.tools/tools/lithophane.md): Flat, curved and lamp lithophanes from a photo.
