This Christmas seasons I put my printer to good use making unique presents for my family. Everyone with a workshop or a garage got a custom geared light switch cover.

Designing this toy definitely took a few tries to get the desired effect. While doing so I collected notes on perfecting printed gears and I thought it was interesting so I’ve shared it here. This article is intended as a general guide for designing & printing FDM 3D printed plastic gears.

Gray Wrench, Black Gear Black Wrench, Gray Gear

Geared Light Switch Cover: Device For Sale Here and Free Printable STL Files Here.

FDM Printing Specific Benefits & Examples of Gear Use:

So why choose to 3D print gears over alternative manufacturing methods, and what strengths does 3D printing offer?

Printed plastic gears are a cheap, quick, and customizable motion transfer solution compared to alternative ways to make gears. Complexity & 3D variations are free. The prototyping & creation process is quick & clean. Best of all, 3D Printers are common enough that a set of STL files can be shared with tons of people eager to use them online.

Of course printing gears using the commonly available plastics is a sacrifice in surface finish and durability compared to injection molded or machined plastic parts. But when designed correctly, printed gears can provide efficient and reasonably high load transfer and are an ideal solution for some applications.

The majority of functional applications take the form of a speed reducer, usually for a small electric motor or hand crank. Examples of this done well include:

.

FDM Printing Specific Challenges:

Printed gears usually require a little post processing prior to use. Expect to have to bore holes to the right size & clean up teeth with a blade.

Center hole shrinkage is a very common issue that occurs even on expensive printers. This is the result of multiple factors. Some to thermal contraction of cooling plastic and some is because the holes are modeled as polygons that have lots of segments cutting short around the perimeter of the hole. (Export gear STLs with higher segment counts to avoid this.)

Slicing software can also have an effect as different programs may choose different spots for the hole to actually start. If you consider the absolute innermost edge of the extruded plastic to be the inside edge of the hole and shoot to make that the desired hole size, then the hole diameter is easy to stretch out of tolerance when you press something inside. So a slicer designer may choose to intentionally make holes tighter.

Also, any misalignment between layers and any discrepancy between the actual and intended extrusion width can have a measurable hole tightening effect. To combat this it can help to oversize holes in the model by ~.005” across the diameter, or plan to ream them out.

Another common challenge is getting a solid infill can be difficult on small gear features. Gaps inside tiny teeth are common even when the slicer is set to 100% infill.

Some software is better than others at automatically fixing this, but one way to manually solve is to increase the layer overlap. Richrap did a great job documenting the problem and various solutions on his 3d printing blog here.

.

Why Involute is Important:

It’s really common to see gears improperly designed by the hobbyist community online because doing it the right way is hard. Tempting as it may be, poorly designed gears don’t mesh properly and suffer from excessive friction, stress, backlash, and jerky uneven rotational velocity.

The difference is subtle to the untrained eye, but doing it the right way will be more accurate and have better properties in the end.

Involute (spur) gear teeth are called such because the contour of gear teeth has a special curve inward. This is done in such a way that ensures the rotational speed and angle of contact of the gears stays constant throughout their rotation. A well designed set of gears should transfer motion almost exclusively through a rolling action, with very little sliding involved.

Modelling involute gear teeth from scratch is tedious as hell so before taking the time to do it, first check if you can get by with one of the gear design templates I link to at the end of this article.

.

Tooth Design Tips:

Think about this: If you wanted a 2:1 gear ratio for that linear actuator pictured earlier, how many teeth would you put on each gear? Are you better off with 30 & 60 teeth, 15 & 30, or 8 & 16?

Each of those ratios would have the same mechanical advantage but each would produce a very different set of gears if printed.

More teeth per gear increases the contact ratio (average number of teeth in contact at any time) and provides smoother rotary motion. But adding more teeth requires that each tooth get smaller to fit on the same diameter of gear. Tiny teeth are weaker and more difficult to print accurately.

3D printing a tiny gear is like trying to use a thick sharpie to color inside the lines of an itty bitty coloring book. (This is 100% a function of nozzle diameter and X-Y resolution of the printer. The Z-resolution has nothing to do with minimum feature size.)

If you want to test your printer’s ability to print tiny teeth, try this free 3d printable bevel gear model test. My printer makes it all the way to the top but the teeth start looking untrustworthy around 1/2″ diameter.

Alternatively, reducing the number of teeth on a gear gives you more space to have large strong teeth.

The trick is to keep the gear teeth as large as you can get away with, without crossing the low-tooth-count threshold or introducing undercut.

One more thing to consider before picking the tooth count: Prime numbers & factorization.

The 15 and 30 tooth gear pair are both divisible by 15 so the same teeth will meet up over and over again causing concentrated wear points.

A better solution is to make the pair have 15 & 31 teeth.

While this doesn’t produce exactly the same ratio, it will provide a consistent wear on the gear set. Grime and imperfections in the teeth will spread across the whole gear rather and distribute the wear.

Also, it’s a good rule of thumb to keep the tooth ratio between be between 0.2 and 5. If you need even more mechanical advantage it may be better to add an additional gear stack into the system, else you end up with a 1000 tooth monstrosity.

How few teeth is too few?

This is information that can be looked up in resources like the Machinery Handbook. 13 is the minimum recommended for gears with a 20 deg pressure angle, and 9 is the minimum recommended for gears with a 25 deg pressure angle.

Fewer teeth that that are not recommended because it would require undercut, which weakens the teeth and is tougher to 3D print without having meshing problems.

Pressure angle? What’s that best one?

This is the angle between the normal of the tooth face and the pitch diameter. Teeth with larger pressure angles (more triangular) are stronger but are also less efficient at transferring torque. They are also easier to print, but in use they create larger radial loads on the supporting shafts, are more noisy and prone to backlash and slippage.

For 3D printing a 25 deg angle is a good balance of chunkiness and efficient motion transfer on a palm sized gear.

How Else Can I Make Teeth Stronger?

Simply making the gear thicker will obviously strengthen the teeth as well. Doubling the width of the gear essentially doubles its strength. A good general rule is for the thickness to be at least three to five times the circular pitch of the gear.

The strength of gear teeth can be approximated by considering each tooth as a small cantilever beam. When viewed this way you can see that adding a solid wall over a face to reduce the unsupported area greatly increases the strength of gear teeth. Depending on the application, this technique can also be used to help reduce finger pinch points.

.

Shaft Mounting Methods:

Press Fit on Knurled Shaft: The easiest method to do but is not seen very often. Watch out for plastic creep which will reduce the torque capacity over time. Cannot be disassembled.

Set Screw on Shaft with Flat: A setscrew is driven through the gear to contact a flat spot machined on the shaft. The set screw is usually threaded into the plastic gear directly or through a nut that is trapped inside the gear via a square hole. Each method has its own risks.

Directly threading into the plastic runs the risk of stripping the delicate plastic threads. The nut trapping method solves this problem but if not done properly the hub breaks when you apply enough force to secure the shaft with the set screw. Make the hub Beefy!

Recessed Hex– a hexagonal well which traps a hexagonal nut or the head of a hex-head bolt. Make sure to print lots of solid layers around the hex so that a mounted bolt cant strip through the plastic. Ive successfukky used set screws to secure nuts in place to prevent spinout at high torques.

Key & Keyway– Not often seen in the hobby 3d printing world, but is the standard for metal sprockets.

Optimal Materials for Plastic Gears:

What is the best material? My short answer for the hobbyist 3D printing community from the perspective of finished gear quality:

Nylon > PLA > ABS > PETG

Nylon filament is an incredibly strong, durable, and versatile 3D printing material. It’s low friction coefficient, high inter-layer adhesion, and high melting temperature make it an excellent choice for 3D printed gears. The drawbacks of nylon are its propensity to absorb water and the difficulty of printing with it.

That leaves most folks with the choice between ABS & PLA. PLA has high rigidity and superior wear properties over ABS which make it a better choice when application temperatures allow.

PLA’s low heat distortion temperature makes ABS a better choice for applications involving temperatures above ~75C (ABS softens around 105C).

By the way, the biodegradability of PLA is an overhyped property. Yes, PLA is biodegradable. But not in a scale that is in any way noticeable for the end user. Do not equate biodegradability with water solubility. To biodegrade this plastic, you need a specialized composting facility with a controlled environment.

Edit: Added PETG after reviewing data on its material properties here and here I am putting it at the bottom of my tiny list. While it is a ductile material it is also softer, more flexible, and less scratch resistant than either ABS or PLA which makes it a worse choice for gears.

Special Tips by Gear Type:

*Helical & Herringbones (double helical): Usually seen on printer extruders, these are annoying to use, but have their merits. They are useful for their ability to increase contact ratio, self-center, and self-retain. (Self-retaining is the annoying property because it makes installation more work.) This type of gear also can’t be easily manufactured with conventional machining equipment like a gear hobbing machine. 3D printing is by far the easiest way to make them.

*Worm & Worm gear: These can be difficult to 3D model so its very tempting to use a ger template for these. My tip here is that the gear ratio between the worm gear and worm is the number of teeth on the gear divided by the number of flutes in the worm. (Count flutes by looking at the end of the worm and see how many spirals start. Most have 1 to 3 spirals.)

*Rack & Pinion: Converts rotary motion into linear motion & vice versa. Rather than rotations, the gear ratio determines the linear distance traveled by the rack with each rotation of the pinion. The tip here is that you can calculate the gear teeth per inch (tpi) of a rack all you do is multiple PI times the pitch diameter of the mating pinion gear. (Alternatively multiplying number of pinion teeth times circular pitch produces the same result.)

Non-circular gears like these nautilus gears have few practical uses outside of novelties.

.

Lubrication of FDM printed gears:

You can get away with operating plastic gears without lubrication in light-load low-speed low-frequency applications. Toys for instance. But if you have a higher stress environment, like a 3D printer extruder, you can increase the working life by lubricating the gears to reduce friction and wear.

For 3d printer extruder gears I recommend heavy grease. White lithium, PTFE, or silicone based are all great stuff for this. Apply the lube by wiping lightly with a clean paper towel or dust-free cloth applicator, and spread evenly by rotating gears multiple times.

Anything is better than no lube, but be sure to choose a lubricant that is chemically compatible with the plastic material. And never forget, WD-40 sucks.

.

Tools for Making Your Own Gears:

You can create great quality custom gears using only free software. I mean sure, paid programs exist for creating truly optimized gear meshes and tweaking very fine parameters to optimize performance.

But if you are using FDM 3d printed gears anyway, then good enough is good enough. Just be sure to design all your gears using the same tool to ensure that they mesh as intended. Gears are best designed in pairs.

*Option 1: Find existing gear models & modify or rescale them to suit your needs. Here is a list of databases to find models of off the shelf gears.

McMaster Carr: wide array of 3d models, go-to for hardware

GrabCAD: Huge database of user submitted models

3DContentCentral: Database of user submitted models

Misumi: 3d models of small mechanical parts

Stock Drive Products: 3d models of gears

.

*Option 2: Designing gears ‘from scratch’ using free online gear generating templates:

If you can’t get the right details you need by copying an existing model, the next best option is to use an involute gear generator template to make your own custom gear. Fortunately there are many cool tools out there to help.

I created a collection of useful gear models that can be customized on Thingiverse: http://www.thingiverse.com/MechEngineerMike/collections/gears-customizable

Matthias Wandel’s classic gear generator program: http://www.woodgears.ca/gear_cutting/template.html

Online STL File Creator, simple & direct: http://joostn.github.io/OpenJsCad/

Generate Spur Gear SVG Files: http://geargenerator.com/ (That file can then be converted to an importable DXF file type here: https://cloudconvert.com/svg-to-dxf)

STL File Editors:

The output of most gear template generators is an STL file, which can be annoying if you need to make features that aren’t in the generator. STL files are like the PDF file of the 3d world, they are notoriously difficult to edit but it can be done!

TinkerCAD: I love this silly browser based CAD because it is quick and easy, and one of the rare 3d modellers out there capable of modifying STL files. www.Tinkercad.com

MeshMixer: Good program for stretching out organic shapes. http://meshmixer.com/

.

That’s all the 3d printing gear design notes I’ve got for now. Do you have any more resources or gear templates to add to the list? Let me know in the comments!

UPDATE: Enhanced version of this article now on Instructables.com here.