Bit ratchet: print a keychain ratchet for hex bits
A bit ratchet for your key ring
A bit ratchet is a small hand tool: you push a hex screwdriver bit into the rotor in the middle, turn the handle one way and the bit turns with it, turn it back and the pawl clicks over the teeth without moving the bit. Because the whole tool is only a few centimeters long, it fits on a key ring and is always at hand for a loose screw on a bike, a shelf or a laptop. This generator builds that ratchet for the bit size you own and prints it in one piece, with the moving parts already in place.
Browse the examples for ideas, for instance the keychain ratchet for 1/4 inch bits, the small one for 4 mm precision bits or the large one for 5/16 inch bits.
How the generator works
Everything runs in your browser. Nothing is uploaded, and the whole design lives in the link you get from “Share”. You pick the bit size, the number of teeth and the handle, watch the 3D preview update, and download an STL or a 3MF file. A ratchet needs no screws, glue or assembly: the rotor sits captured in a cavity of the handle, and a pawl cut free from the handle presses into the teeth.
The editor has four sections:
- Bit: “Bit size”, “Bore allowance” and “Bit grip”.
- Ratchet: “Teeth”, “Gap” and “Spring arm”.
- Handle: “Handle length”, “Thickness”, “Keyring hole” and “Direction arrow”.
- Text: the engraved text, its font, size and depth.
If a setting cannot work, the generator corrects it and says why, for example when a name does not fit on the handle.
How the ratchet works
The rotor is a disc with a hexagonal bore and a ring of sawtooth teeth around its rim. It is shaped like a double cone, so it is thick in the middle and the handle’s cavity holds it from both sides: it can spin, but it cannot fall out. The pawl is a short tongue of the handle that reaches into one tooth. A thin curved arm, rooted near the keyring hole, pushes it toward the rotor like a leaf spring.
When you turn the handle in the driving direction, the pawl rests against the steep flank of a tooth and carries the rotor along. In the other direction the pawl rides up the shallow flank, the spring arm flexes, and the pawl drops into the next tooth with a click. The “Direction arrow” cut through the handle shows which way drives the bit.
Choosing the bit size
“Bit size” is the distance across the flats of the bit’s shank, in millimeters. Three sizes cover nearly everything:
| Bit | “Bit size” | Typical use |
|---|---|---|
| 1/4 inch hex | 6.35 mm (default) | standard screwdriver bits |
| 5/16 inch hex | 7.94 mm | impact-driver and large sets |
| H4 | 4 mm | precision bits for electronics |
The range runs from 4 to 8 mm, so you can also type a value for an odd bit. Measure the shank across two opposite flats with calipers.
Two fields tune the fit. “Bore allowance” (0–0.8 mm, default 0.3 mm) is how much wider the hexagon is than the bit. “Bit grip” (0–0.4 mm, default 0.1 mm) makes the middle of the bore pinch the bit’s corners slightly, so the bit stays in the rotor when you swing the ratchet around. With 0 the bit slides in loosely. Printers differ, so print the smallest example once and adjust these two values before you print a final copy.
Teeth, gap and spring
“Teeth” (4–8, default 6) trades swing against strength. More teeth mean the handle needs to swing less between two clicks, which helps in tight spots. Fewer teeth are deeper and take more torque. The six-tooth default is a good balance. See eight fine teeth and four sturdy teeth for the extremes.
“Gap” (0.25–0.7 mm, default 0.4 mm) is the space between rotor, pawl and handle. It is what makes the ratchet print in place: if the gap is too small, the layers fuse and the rotor is stuck; if it is too large, the rotor rattles and the pawl engages shallowly. The generator warns when the pawl only reaches a very short distance over a tooth, because the ratchet would slip. Examples with a tight gap and a wide gap show the effect.
“Spring arm” (1.6–3 mm, default 2 mm) is the thickness of the arm behind the pawl. A thicker arm clicks harder and holds more torque, a thinner one turns back more easily and is gentler on the plastic. PLA is stiff and can crack at a thin arm that flexes a lot, so for frequent use choose PETG or a thicker arm.
Handle and text
“Handle length” (22–50 mm, default 25 mm) runs from the bit’s axis to the keyring hole. A longer handle gives more leverage and room for text, and it makes the tool comfortable in the hand. “Thickness” (10–16 mm, default 12 mm) applies to handle and rotor together and is stepped in multiples of the 0.2 mm layer height. The slim pocket version is 10 mm thick, the heavy-duty version is 16 mm. “Keyring hole” sets the diameter of the eyelet, and 0 leaves it out.
“Text” engraves a name or a label into the top face along the handle. Pick a “Font”, set “Text size” (0 means as large as fits) and “Engraving depth” (0.4–1.6 mm). On the default 25 mm handle only very short text fits, and it would be about 2.5 mm tall, which a 0.4 mm nozzle cannot engrave cleanly. The generator warns about that. For names, lengthen the handle to about 36 mm, as in the “MAX” example, or to 45 mm for the “SHOP” label.
Two colors
The rotor has its own color slot. If you choose a color for it, the 3MF contains the handle and the rotor as two separate parts. They touch, but they never overlap, so the model prints cleanly with a color changer. The yellow rotor in the two-color example makes the moving part stand out.
- PrusaSlicer (MMU3, XL, Core One): download “Multi-color 3MF (PrusaSlicer)”.
- Bambu Studio / OrcaSlicer (AMS): download “3MF (Bambu Studio / OrcaSlicer)”.
- Any other printer: “STL per color (ZIP)” gives one file per part.
The two parts stay separated by the gap and the colors meet only at the faces where the rotor sits in the handle, so a single-color print is also fine. If you leave the rotor color empty, both parts are merged into one color.
Printing tips
The ratchet prints lying flat on the bed, exactly as it appears in the preview, without supports. We sliced all 12 examples with PrusaSlicer for a Prusa MINI with input shaper, 0.20 mm SPEED profile and Prusament PLA, and none needed automatic supports.
| Example | Filament | Print time |
|---|---|---|
| Keychain for 1/4 inch bits (default) | 5.5 g | 20 min |
| Precision bits (4 mm), small | 3.7 g | 16 min |
| Name “MAX”, 36 mm | 6.5 g | 23 min |
| 5/16 inch bits, large | 7.6 g | 25 min |
| Heavy duty, 16 mm thick | 8.6 g | 27 min |
A few tips for a good result:
- Print the first copy at the defaults and check that the rotor turns freely after you remove it from the bed. If it is stuck, twist it a few times; a gentle twist breaks thin bridges between the layers.
- Turn on elephant-foot compensation or keep the first layer squash modest. A squashed first layer can close the gap on the bottom side.
- Use 0.2 mm layers and at least three perimeters. The pawl and spring arm are thin and benefit from solid walls.
- Print slowly if the gap is small, and keep the cooling on, so that the layers do not droop into the gap.
- PETG gives a more durable spring than PLA. ABS and ASA also work, but they warp more.
An honest note: the geometry, the sliced files and the tolerances of this generator are checked, but the click and the hold of the print-in-place spring arm have not yet been tried on a real printer. Treat the first print as a test, and tune “Gap”, “Spring arm” and “Teeth” until the ratchet clicks cleanly and holds a screw. Please keep the ratchet for light work: a printed ratchet is not meant for stubborn or rusted screws, where the pawl can slip or break.
Use cases
- A key ring tool for the bike, the camera tripod or the laptop screws.
- A gift with a name engraved, in the favorite color of the person.
- A shop label for a toolbox or a set of bits.
- A compact spare ratchet for electronics repair with 4 mm precision bits.
- A teaching model for how a pawl and a ratchet work, since the parts are visible and print in place.
Origin and license
The design follows the Printables model “Pendant ratchet for bits” by SHR3D.eu, published under CC-BY-4.0. The concept (a double-cone rotor with a hexagonal bore and sawtooth notches, a sprung pawl in the handle, printed in one piece) and the basic dimensions come from the original OpenSCAD file. This generator rebuilds it as a parametric design with its own geometry, and adds the bit sizes, the tooth count, the detent, the direction arrow, the engraved text and the second color. The original’s name label is replaced by free text on the top face. More about licenses is on the license page.
Open the Bit ratchet generator, browse the examples, or try the hex key handle generator for a grip that holds Allen keys and bits.
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.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Bit | |||
| Bit size | 6.35 mm | 4 – 8 mm | Across flats of the bit shank: 6.35 mm for 1/4" bits, 4 mm for precision bits (H4), 7.94 mm for 5/16". |
| Bore allowance | 0.3 mm | 0 – 0.8 mm | How much wider the hex bore is than the bit. Raise it if the bit does not go in, lower it if it wobbles. |
| Bit grip | 0.1 mm | 0 – 0.4 mm | The middle of the bore pinches the bit’s corners by this much so the bit stays in. 0 = loose fit. |
| Ratchet | |||
| Teeth | 6 | 4 – 8 | Ratchet teeth on the rotor. More teeth need less swing per click; fewer teeth engage deeper and take more torque. |
| Gap | 0.4 mm | 0.25 – 0.7 mm | Gap between rotor, pawl and handle so the print-in-place parts come off the bed free. 0.4 mm suits most printers. |
| Spring arm | 2 mm | 1.6 – 3 mm | Thickness of the arm that presses the pawl into the teeth: thicker clicks harder and holds more torque, thinner turns back easier. |
| Handle | |||
| Handle length | 25 mm | 22 – 50 mm | From the bit’s axis to the keyring hole. A longer handle gives more leverage and room for text. |
| Thickness | 12 mm | 10 – 16 mm | Thickness of handle and rotor (multiples of 0.2 mm, the layer height). |
| Keyring hole | 4 mm | 0 – 6 mm | Diameter of the hole for a key ring or lanyard, 0 = no hole. |
| Text | |||
| Text size | 0 mm | 0 – 10 mm | Height of the capital letters, 0 = as large as fits on the handle. |
| Engraving depth | 0.6 mm | 0.4 – 1.6 mm | How deep the text is cut into the top face. |
Frequently asked questions
Do I need supports?
No. The ratchet lies flat on the bed and all slopes are built in 0.2 mm steps. A PrusaSlicer check of all 12 examples found no need for automatic supports.
Which gap should I choose?
The default “Gap” of 0.4 mm suits most printers. Try 0.3 mm on a well-tuned machine and 0.5–0.55 mm if the parts fuse or the rotor sticks after printing.
The bit does not go in or it wobbles. What now?
Change “Bore allowance”. Raise it in 0.05 mm steps if the bit does not fit and lower it if the bit wobbles. “Bit grip” sets how firmly the middle of the bore pinches the bit’s corners.
Can I print it in two colors?
Yes. Choose a second color for the rotor and download the multi-color 3MF. Handle and rotor become separate parts that touch but never overlap, so a printer with a color changer prints them in one go.
Is the click tested on a real printer?
The geometry is checked by tests and slicer runs, but the print-in-place click and hold of the spring arm has not been tested on a printer yet. Print one example first and adjust gap and spring arm.
Origin & license
- Pendant ratchet for bits by SHR3D.eu · CC BY 4.0 · code ported – Layout and dimensions taken from racna.scad: double-cone rotor with hex bore and sawtooth notches, sprung pawl in the handle, printed in one piece.