3D Printing Generator
DeutschEnglish

Cycloidal drive generator: print a 3D reduction gear

A cycloidal drive you can print and turn

A cycloidal drive is a compact reduction gear. Instead of meshing gear teeth it uses a wavy disc that rolls around a ring of round pins, and the slow motion it creates is taken off through a few more pins. This generator makes the printable version: a cycloidal drive with five parts, a ratio from 5:1 to 25:1, and the sizes and play you choose. The examples show demonstrators, gears with two or three discs and spare parts.

It is a model to look at, turn by hand and learn from, for classrooms, desk toys and experiments with a small robot joint. We have not test-printed it and make no claim about how much load it takes. Treat the sizes and the play as starting values and expect to tune them.

How the generator works

Everything runs in your browser. Nothing is uploaded, and the whole design is stored in the link, so you can bookmark or share it. Change a value, the preview updates, and the download button gives you an STL or 3MF file. The fields sit in four groups: “Parts”, “Gear”, “Pins” and “Sizes and play”.

The default is a 9:1 demonstrator. All five parts fit on one plate of 117.5 × 74.1 mm, the tallest part is 18 mm high, and the preview builds in well under a second. Larger or multi-disc designs may need a second plate; then the “Plate” field chooses which one is shown and exported.

How a cycloidal drive works

The input shaft carries an eccentric, a round cam that sits slightly off the shaft’s axis. A cycloid disc with “Disc lobes” lobes rides on it, and around the disc stands the pin cage with one pin more than the disc has lobes. When the input turns once, the disc rolls around inside the pins and moves back by one pin. After as many input turns as there are lobes, the disc has turned once. That is the ratio, lobes : 1, and the disc turns against the input.

The disc has a few holes. The pins of the output plate reach through them, and the holes are wider than the pins by the eccentricity and the play on every side, so the pins can circle in them while the disc wobbles. In this way only the slow rotation reaches the output.

With the defaults (9 lobes, 10 cage pins, module 7) the pin circle has a diameter of 35 mm, the eccentric throws 1.0 mm to each side and the housing ring is 37.7 mm in diameter.

The five parts

“Parts” prints all parts or only one, which is handy when a single part needs a reprint:

  • Disc(s): the cycloid disc with its output holes, one per disc;
  • Input with eccentric: the shaft with the eccentric for each disc; it is 15 mm plus the disc thickness times the number of discs long;
  • Pin cage: a plate with half pins along its wall, or the lobed ring instead;
  • Output with pins: the plate with the output pins and a bearing ring for the shaft;
  • Housing ring: it holds cage and output together.

The sizes are made to fit together. If a value cannot work with another one, the generator corrects it and tells you, for example when neighboring pins would touch or the disc would lose the material around its bore.

Designing the gear

Ratio and size

“Disc lobes (ratio)” sets the lobes of the disc (5–25, default 9); the cage gets one pin more. “Module (size)” scales the whole gear (4–12 mm, default 7): the pin circle is module × (lobes + 1) / 2. With 15 lobes at module 5 the pin circle is 40 mm (15:1 example); with 11 lobes at module 10 it is 60 mm, large enough to follow with your eyes in a classroom (11:1 model).

“Lobe contraction” (0.25–2.5 mm, default 0.75) flattens the lobes. The eccentricity is the module divided by four minus this value, and the generator keeps at least 0.3 mm of throw.

Cage and pins

“Cage” chooses round “Pins” or the “Lobed ring” of the original, a ring with teeth instead of loose pins (example). “Cage pin diameter” (2–10 mm, default 5) sets the fixed pins. “Output pins” (3–8, default 5) and “Output pin diameter” (2–8 mm, default 3) set the output side.

“Pin play” (0–0.5 mm, default 0.1) is the gap between disc and cage pins. The source model leaves about 0.04 mm there, which most printers cannot hold; with 0 you get the original again (original settings).

Sizes and play

“Input shaft diameter” (3–12 mm, default 5), “Disc thickness” (2–10 mm, default 3) and “Plate thickness” (1–4 mm, default 1) set the proportions. “Housing wall” (0.55–3 mm, default 1.2) is the wall of the housing ring; the original uses 0.55 mm. “Play” (0.1–0.5 mm, default 0.2) is the gap for everything that turns against something else: disc on eccentric, output pins in the holes and shaft in its holes. With a well-tuned printer you can try less (tight play).

Two or three discs

“Discs” (1–3) puts two or three discs on eccentrics that are offset around the shaft, by 180° or 120° (two discs, three discs at 12:1). The output holes of each disc are turned by a different angle so that the pins pass through all discs at once. The discs are therefore not identical: if the output pins do not drop through all holes during assembly, swap the discs.

One thing to know: the upper eccentrics of the input overhang the lower one by up to twice the eccentricity, over space that belongs to the lower disc. The input therefore needs supports at a few small spots, and the editor shows a note about it. Single-disc designs need none.

Colors and multi-material

There are two color slots: “Cage, input, output and housing” and “Discs”. With a color for the discs, they become a second part, so the multi-material formats assign them to their own extruder. Download “Multi-color 3MF (PrusaSlicer)” for PrusaSlicer, “3MF (Bambu Studio / OrcaSlicer)” for Bambu Studio and OrcaSlicer, or “STL per color (ZIP)” if your slicer prefers separate files. The parts keep their distance on the plate, and every multi-color plate of the examples is under 165 mm wide, which leaves room for the prime tower of a Bambu printer.

On a printer with one extruder, choose “Disc(s)” under “Parts” and print the discs in a contrasting filament. The body parts print in a second run with the other color.

Printing and assembling

  • Orientation: every part lies flat on the bed in its own orientation. The generator lays them out, you don’t need to rotate anything.
  • Layer height and nozzle: the numbers below use 0.20 mm layers. The finest structures are lobes and pins, so a 0.4 mm nozzle is a sensible choice.
  • Material: PLA is the easiest; for wearing parts, a smoother filament such as PETG may be worth a try. We have not compared them.
  • First layer: remove ridges from the first layer before assembly, particularly on the shaft, pin and housing holes.
  • Fit: dry-fit the parts before you use the gear. The shaft should turn freely in the cage and output plate, the disc on the eccentric and the output pins in the disc holes. Add play where it sticks.
  • Assembly: put the input through the cage, lay the disc on its eccentric so the lobes sit between the pins, set the output with its pins into the disc holes and put the housing ring around cage and output.

The editor’s warnings tell you when a size had to be corrected; you can also change it yourself.

What it prints like

The numbers come from PrusaSlicer on a Prusa MINI with the 0.20 mm SPEED profile and Prusament PLA. Plate size is the footprint of all parts together.

ExampleRatioPlate sizeFilamentTime
Demonstrator9 : 1117.5 × 74.1 mm4.73 g24 min
Original settings9 : 1116.2 × 73 mm4.18 g22 min
Lobed ring9 : 1141.5 × 86.6 mm7.05 g29 min
Two discs9 : 1117.5 × 74.1 mm7.61 g37 min
Three discs12 : 1149 × 94.3 mm16.22 g1 h 3 min
15 : 115 : 1132.5 × 84.3 mm5.99 g27 min
20 : 120 : 1141.9 × 133.4 mm15.46 g55 min
Compact6 : 1117.5 × 75 mm4.76 g22 min
Classroom model11 : 1136.6 × 127.4 mm15.54 g54 min

A spare disc takes 1.72 g and 7 minutes, a spare output 0.65 g and 4 minutes. A check with automatic supports found none needed for any single-disc example; the two and three disc inputs got the small supports described above.

Use cases

  • Teaching: show how a cycloidal drive reduces speed; the lobed ring variant makes the principle visible without separate pins.
  • Desk toy: a slow crank that turns a small knob or an indicator hand.
  • Robotics experiments: try a ratio and a play in a small joint of your own.
  • Comparison: print the same gear as a planetary gear or a pair of spur gears to feel the difference between the types.

Origin and license

The geometry is ported from Cycloidal Drive by Jack (Ulrich Bär) on Printables, released under CC0 1.0, and from his OpenSCAD library UB.scad (CC0 1.0). All five parts of the source were translated to TypeScript and checked against the OpenSCAD original for volume and bounding box on 11 cases.

A few things are adapted to fix defects of the source. The pin play can be set, because the source leaves only about 0.04 mm between disc and pins. In the lobed ring the source’s disc overlaps the ring by about 0.26 mm, so the disc is set back by that amount. With two or three discs the output holes of each disc are turned, because the source’s discs collide with the output pins, and the pins and housing are 0.5 mm taller because the top disc touched the output plate. New are the browser editor, the bed layout on 180 mm plates, the adjustable housing wall, the two color slots and the export. With “Pin play” 0 and “Housing wall” 0.55 mm you get the source back.

More details are on the license page. Ready to start? 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
Parts
Plate11 – 6When the parts need more than one bed, choose which plate to show and export.
Gear
Disc lobes (ratio)95 – 25Lobes of the cycloid disc. The cage has one pin more, and the output turns once for this many turns of the input (in the opposite direction).
Module (size)7 mm4 – 12 mmScales the gear: the pin circle diameter is module × (lobes + 1) / 2. Bigger values give larger, sturdier lobes.
Discs11 – 3One disc, or two or three discs on eccentrics offset around the shaft; more discs print more parts. The output holes of each disc are turned so the pins pass all of them.
Lobe contraction0.75 mm0.25 – 2.5 mmShrinks the lobes against the pins. The eccentricity is module / 4 minus this value, so a larger value gives flatter lobes and a smaller eccentric throw.
Pins
Cage pin diameter5 mm2 – 10 mmDiameter of the fixed pins in the cage (half pins along the cage wall). The disc outline is offset by half this value.
Pin play0.1 mm0 – 0.5 mmExtra gap between disc and cage pins. 0 keeps the original 0.05 mm pin offset, which is very tight for most printers.
Output pins53 – 8Number of output pins and matching holes in the disc.
Output pin diameter3 mm2 – 8 mmThe disc holes are this plus twice the eccentricity and the play, so the pins roll around inside them.
Sizes and play
Input shaft diameter5 mm3 – 12 mmDiameter of the input shaft; the cage and output plate get a hole with play for it.
Disc thickness3 mm2 – 10 mmThickness of each disc; pins, eccentric and housing grow with it.
Plate thickness1 mm1 – 4 mmThickness of the cage plate and the output plate.
Housing wall1.2 mm0.55 – 3 mmWall of the housing ring that holds cage and output together. The original uses 0.55 mm.
Play0.2 mm0.1 – 0.5 mmGap between parts that turn against each other: disc on the eccentric, output pins in the disc holes, shaft in its holes.

Frequently asked questions

Do I need supports?

Not with one disc. A PrusaSlicer check of the eleven examples with one disc, including the lobed ring and the spare parts, found no need for automatic supports. With two or three discs the input needs small supports at a few spots: the slicer added 0.05 g and 0.09 g for the two and three disc examples.

What is the ratio of my gear?

The ratio is the number of disc lobes, shown as “Disc lobes (ratio)”: 9 lobes give 9:1, so the input turns nine times for one turn of the output, in the opposite direction. The generator only computes this ratio. It makes no claim about torque or load.

The gear binds or runs rough. What should I change?

Raise “Pin play” (default 0.1 mm) first, then “Play” (default 0.2 mm), and check that the first layer has no ridges on the pin and shaft holes. Both values are starting points: we have not test-printed the drive, so tune them to your printer.

Can I print the discs in another color?

Yes. The “Discs” color slot makes them a second part, so the 3MF files for PrusaSlicer, Bambu Studio and OrcaSlicer assign them to their own extruder. On a single-extruder printer, choose “Disc(s)” under “Parts” and print the discs on their own.

Why would I use two or three discs?

Each disc sits on its own eccentric, offset by 180° or 120° around the shaft, and the output pins pass through the holes of all of them. It makes a more complex gear with more parts to print. The ratio stays the same as with one disc.

Origin & license

  • Cycloidal Drive by Jack (Ulrich Bär) · CC0 1.0 · code ported – All five parts translated from 23-023CycloidalGear.scad to TypeScript. Adapted to fix defects of the source: adjustable pin play (the source leaves about 0.04 mm), disc set back by its overlap with the lobed ring, with 2–3 discs the output holes of each disc turned, and 0.5 mm taller pins and housing. Also: parts packed on 180 mm plates and an adjustable housing wall
  • UB.scad by Ulrich Bär (UBaer21) · CC0 1.0 · helper code ported – Cycloid, Kreis, Ring, Rund, Roof and LinEx (core/geometry/ub and build/shapes.ts)