kapy academy

Print-in-place gearbox

20 min readUpdated Nov 2026

A herringbone planetary can come off the bed assembled and turning: the V of the teeth holds the planets in Z, so it needs no carrier or end caps, and every gap lies between vertical faces. The price is backlash more than three times that of an assembled pair, and a set that transmits no torque without a carrier: it is a bearing. The worked example sizes a module 1.5 planetary. It builds on Print-in-place clearances, Planetary reducers and Helical and herringbone gears.

The herringbone replaces the carrier

An assembled spur planetary needs something to hold the planets in Z: a carrier with pins and a cap. Print it in place and each of those parts leaves a horizontal face over air. Each needs a Z gap of one layer plus 0.2 mm (0.4 mm with 0.20 mm layers), and brings a bridge that sags and a vertical pin that snaps along a layer. Print-in-place clearances and Print-in-place pins and hinges cover the details.

With spur teeth, the planet slides out of the top. With a single helical, nothing holds it in Z: the thrusts Fa = Ft·tan β from the sun and the ring cancel, but they act on opposite sides of the planet and form a couple that makes it tilt, and as it turns it walks along the helix until it comes out (Helical and herringbone gears). The herringbone V locks it both ways: if the planet tries to rise, the upper half closes the gap on one flank and the lower half on the other, and it is trapped.

In a herringbone planetary without a carrier, every gap lies between vertical faces (flanks, tips and roots) and every body starts on the bed. It is the easy case of print-in-place: not a single bridge, and no horizontal face facing another.

There is still some axial play: moving the planet up or down by z shifts each flank tangentially by z·tan β, so the planet can move at most ± (jt/2)/tan β. With the 0.64 mm backlash from the next section that gives an estimated ± 0.55 mm at 30° and ± 0.38 mm at 40°. The larger β is, the more firmly it is held.

Orient the set with the axis vertical and the profile in XY, like any gear (Layer orientation for mechanisms). The tip and root of the tooth are vertical cylinders and do not overhang. What overhangs is the flank, and it does so at a constant lean from the axis, the base helix angle: tan βb = tan β·cos α. With β = 30° that is about 28°, below β and well short of the roughly 45° limit without supports (Designing out supports).

The center plane of the V is a joint between layers that works in tension in one of the two directions of rotation; the analysis is in Helical and herringbone gears and Layer adhesion and anisotropy.

BedZ gapBridgeSlides outPlanetCarrierCapSunRingSpur teethBedCenter planeβssLockedSunPlanetRingHerringbone
With spur teeth, the planet needs a carrier and a cap, and each part brings a Z gap over air and a bridge. With herringbone teeth, the V traps it in Z: all three bodies sit on the bed and every gap is vertical.

How much gap to leave between teeth

Flanks. The print-in-place gap applies to the flanks unchanged: 0.3 mm per face in PLA on a modern machine (0.25 to 0.4), 0.4–0.5 on a legacy bedslinger and 0.35–0.4 in PETG and ABS/ASA. It is measured normal to the flank, with the planet centered, and it goes on both sides of the tooth.

The total circumferential backlash of each mesh, measured at the pitch circle, is jt = 2s/cos α = 2·0.3/cos 20° ≈ 0.64 mm. An assembled pair runs with jt = 0.2 mm (Spur gears), more than three times less. That backlash is the price of not assembling it, and a print-in-place planetary will never be precise.

Tip against root. The standard root clearance is 0.25·m. At module 1 that is 0.25 mm, less than the 0.3 gap: the tip fuses to the root. The rule is 0.25·m ≥ s, which with s = 0.3 gives m ≥ 1.2; the next standard module is 1.25. Below that, you need a deeper root or a shorter tip. Thinning the planets also moves the tip away from the root, and that extra margin helps.

First layer. Two facing flanks that start on the bed suffer elephant's foot, and the gap closes at the base. Put a 0.5 mm × 45° chamfer on the tooth ends of all three parts (sun, planets and ring), on the edge that touches the bed, and leave the slicer's elephant's foot compensation at its default. The reasons are in Print-in-place clearances and The face on the bed.

Gaps in a print-in-place mesh (PLA, modern machine)
Direction What to measure Value
Flank, normal s on each flank, planet centered 0.3 mm (0.25–0.4)
Circumferential backlash jt = 2s / cos α ≈ 0.64 mm (assembled: 0.2)
Tip against root 0.25·m ≥ s m ≥ 1.2 (1.25 standard) with s = 0.3
Bed edge chamfer on the tooth ends 0.5 mm × 45°

Pressure angle. The gear bearing Emmett Lalish published on Thingiverse in 2013 (thing 53451), a sun, five planets and a ring, all herringbone, is where these designs come from. According to its code, it uses 45° and half-height teeth. Lalish does not say why, but the numbers bear it out. At 45° the tooth is short and thick at the root, and the minimum tooth count without undercut, zmin = 2/sin² α, drops to 4 at full depth (17 at 20°), and lower still at half height. That is how so many small planets fit. In exchange, the radial force is Fr = Ft·tan α = Ft, nearly three times what it is at 20° (0.36·Ft): it spreads the ring's rim and raises friction. Fine for a bearing or a toy, not for a reducer under load.

A coupon before the part. Make the one from Print-in-place clearances with the gear itself: three slices of the planetary 6–8 mm tall (one full V) with s = 0.25, 0.30 and 0.35. Your number is the tightest one that turns by hand once freed. Add 0.05 if the set is tall or has many planets, because every extra flank is one more chance to fuse.

Pitch circlejt = 2s / cos α ≈ 0.64Assembled: jt 0.2sRoot clearance 0.25·m ≥ sRingPlanet toothChamfer 0.5 × 45°sBed
The gap s is normal to the flank and goes on both sides of the tooth. At the pitch circle it adds up to a backlash jt = 2s/cos α, more than three times that of an assembled pair. Between tip and root, the standard clearance 0.25·m must be at least s, and the chamfer on the bed edge absorbs elephant's foot.

Assembly conditions: the usual ones, minus one

The conditions from Planetary reducers and Internal ring gears still hold:

  • Coaxiality: zr = zs + 2·zp.
  • Equal spacing: (zs + zr)/N a whole number.
  • Neighbors: (zs + zp)·sin(π/N) > zp + 2.
  • Ring interference: zr − zp ≥ 12 at 20°.

The neighbor condition gets stricter. In an assembled planetary it is enough that the tips of two neighboring planets do not touch. Printed in place, the gap between those tips has to be at least s: 2·a·sin(π/N) − da_p ≥ s.

What goes away is the need to split a part. An assembled herringbone ring needs a difference of about 18 teeth to get the planet in radially, and even with that the sun will not go in afterwards: the V blocks its axis. That is why an assembled herringbone planetary has a split ring or split planets (Internal ring gears). Here nothing is assembled.

When you model it, the usual mistake is the phase of the planets. Start with the first one: on the line of centers it must present a tooth to a gap in the sun and a gap to a tooth in the ring. Whether that works out depends on how many teeth each gear has and where the generator puts the first one. Check it before you repeat it; if it interferes, turn it half a pitch, 360°/(2·zp). After that, repeating it around the center is not enough: copy k must also turn about its own axis by k·(360°/N)·(zs/zp), in the same direction as the pattern. That is the formula Lalish's code uses, and it is the same as rolling the planet round a fixed sun. If zs/N is a whole number, that turn is a whole number of teeth and you can skip it. If the spacing condition fails, no rotation will fix the ring.

Without a carrier, each planet settles on its own between sun and ring and the load shares out on its own. With a printed carrier, the gap at the pin lets the planet float (Planetary reducers explains why).

Getting torque out of a planetary without a carrier

Without a carrier, the sun and the ring are not tied together. Each planet has two degrees of freedom, its own spin and its orbit, and the two meshes give only two equations for four rotations: the planet's two, the sun's and the ring's. Two are left over, so sun and ring turn freely relative to each other. The gear bearing is exactly that: a cageless roller bearing whose rollers keep their own spacing, not a reducer. Use it as a wheel hub, a turntable or a toy (Printed bearings and turntables).

There are three ways to get a gear ratio.

1. A print-in-place carrier. A disc with pins that go into the planets. With the ring fixed and the sun as input, i = 1 + zr/zs. The horizontal faces come back: between the disc and the planets you need a Z gap of one layer plus 0.2 mm, and a 45° conical pin works better than a cylindrical one (Print-in-place pins and hinges). The herringbone still holds the planets in, so the disc only drives: it can sit on top, with no cap underneath.

2. A split ring without a carrier (Wolfrom). The lower half of the planet meshes with a fixed ring and the upper half with an output ring that has Δ more teeth. The fixed ring sets the orbit and the output follows: i = (1 + zr1/zs)·zr2/(zr2 − zr1). On top of that, (zs + zr1)/N must be a whole number and Δ a multiple of N. Each half of the planet has a helix of opposite hand, so it is still a herringbone, although each half is cut to mesh with its own ring. Between the two rings goes a Z gap of one layer plus 0.2 mm. It is the principle behind tmackay's well-known 1300:1 compound gearbox, printed in place and published in many variants; the author himself reckons 50–100:1 is the more practical range. The full sizing is in Split-ring compound planetaries.

3. Stacked stages printed together. One stage on top of another, the output of each driving the sun of the next. Every stage adds a horizontal joint to free.

With a carrier, the backlash at the output has two terms. The teeth contribute (jt_sp + jt_pr)/(2a) radians: with a = 22.5 mm and jt = 0.64 on each mesh, 1.28/45 = 0.028 rad, about 1.6°. The pin contributes 2·cr/a, where cr is the radial gap per side at the pin: it is how far the planet's center can move relative to the disc. A cylindrical pin with 0.3 mm per face adds 0.6/22.5 rad, about 1.5°. A 45° conical one with 0.3 mm normal has about 0.42 mm radial and adds about 2.1°. In total, about 3–4° at the output, against about 0.5° with assembled parts. At the input, the backlash is multiplied by i. That number decides whether it can position anything precisely: for a toy or a crank winch, yes; for a robot joint, no (Choosing a reducer).

Three identical herringbone planetaries: the first with no carrier, sun and ring both turning; the second with an orange carrier on top that makes a quarter turn; the third with an orange output ring over the fixed ring
The three ways out of the same herringbone planetary (sun 15, four planets of 15, ring 45); in all three the sun makes one turn. With no carrier, sun and ring turn freely: it is a bearing. A carrier printed on top, with a pin in each planet, gives i = 1 + zr/zs = 4 at the cost of a Z gap. A split ring gives a high ratio with no carrier: here the upper half of each planet, with 19 teeth, drives a 49-tooth output ring that moves 2 teeth per turn of the sun (i = −24.5), with a horizontal gap between the two rings.

Worked example: a module 1.5 herringbone planetary

The goal is a gear bearing that becomes a 4:1 with a carrier on top. PLA, modern machine, 0.20 mm layers and a 0.4 mm nozzle.

Teeth. Module 1.5, because 0.25·1.5 = 0.375 ≥ 0.3. zs = 15, zp = 15, zr = 45; coaxiality holds: 15 + 2·15 = 45. With the ring fixed and a carrier, i = 1 + 45/15 = 4. zr − zp = 30 ≥ 12. The 15-tooth sun has a slight, acceptable undercut: the practical minimum at 20° is 14.

Planets. N = 4. Spacing: (15 + 45)/4 = 15, a whole number. Neighbors: 30·sin 45° = 21.2 > 17. Center distance a = 1.5·30/2 = 22.5 mm. Gap between neighboring tips: 2·22.5·sin 45° − 25.5 = 6.3 mm, far above s. With N = 5 the spacing works (60/5 = 12) and the neighbor condition barely holds (17.6 > 17), but the tip gap drops to 26.45 − 25.5 ≈ 0.95 mm. It fits, but with little margin: stay with 4.

Example dimensions (transverse module 1.5)
Gear z d da df
Sun 15 22.5 25.5 18.75
Planet (×4) 15 22.5 25.5 18.75
Ring (internal) 45 67.5 64.5 71.25

With the 6 mm rim that Internal ring gears recommends for module 1.5, the outside diameter comes to about 83 mm.

Helix and width. β = 30° and b = 16 mm, 8 per half. The overlap of each half is εβ = 8·tan 30°/(π·1.5) ≈ 0.98, practically the full overlap that Helical and herringbone gears asks for (8.2 mm per half with mt = 1.5 and 30°). Estimated axial play of the planet: ± 0.55 mm. Flank lean: about 28°.

Clearances. s = 0.3 mm per flank, which gives jt ≈ 0.64 mm on each mesh. A 0.5 × 45° chamfer on the ends of every tooth. In the slicer, XY compensation for contours and holes at zero.

Phase. zs/N = 15/4 is not a whole number, so copy k turns k·90° about its own axis on top of the pattern. Since one tooth is 24°, that is the same as turning 18°, 12° and 6° for k = 1, 2 and 3. Before that, check the first planet; if it interferes, half a pitch is 12°.

Drive and grip. Cut a through hexagon in the sun for an Allen key: 6 mm across flats plus the sliding clearance, or the size of your key. If it goes in tight, see Why holes print small. On the ring, a knurl or two lugs. You need the hexagon and the knurl above all to free it.

Carrier. If you want the 4:1, cut a 45° conical hole in each planet for the pin and leave a 0.4 mm Z gap between the disc and the top face of the planets. Expect the 3–4° of output backlash from the previous section.

Strength. Printing it in place does not change it: work it out with Sizing a gear that holds and the helical version of Lewis (normal module and virtual tooth count) from Helical and herringbone gears.

Material. PLA for the first one. PETG stands up better to wear on parts that turn a lot, but it needs a 0.35–0.4 gap (Which plastic for which mechanism).

Printing it and freeing it

In the slicer, only what is specific to a gear (the general points are in Print-in-place clearances):

  • Separate bodies in a single 3MF, and no supports.
  • Turn on avoid crossing walls (OrcaSlicer, Bambu Studio) or avoid crossing perimeters (PrusaSlicer), the names as of late 2026. Each layer has several islands (six in the example) and the nozzle crosses gaps constantly; every crossing can leave a string.
  • Dry filament.
  • Check the preview layer by layer, watching the gaps.

Seam. A gear has no back face to hide it on: put it on the tip or the root of the tooth, never on the flank, and use the scarf seam if your slicer has it (Where the seam goes). A blob on a flank is a tight spot on every turn.

Cooling. The parts are small and the layers short, so minimum layer time matters. Printing two copies at once gives each layer more time to cool.

The worked example's herringbone planetary with the ring held: an Allen key in the sun's hexagon turns it and the four planets orbit; on the right, from the front with the ring cut away, the three gears' Vs nested on the bed
The worked example (module 1.5, sun 15, four planets of 15, ring 45, β = 30°, b = 16) as it comes off the bed. With the ring held, each turn of the sun carries the planets a quarter of an orbit: the 4:1 a carrier would take out. From the front, with the ring cut away, each planet's V sits nested in the sun's and the ring's, the vertex at the same height in all three.

Freeing it. Wait until it has cooled completely. Hold the ring, put the key in the sun, turn a few degrees back and forth and widen the travel little by little. Check that every planet moves. If one stays put, it is fused at the first layer: run a thin blade or a feeler gauge through that gap. If the design has a carrier, stacked rings or stages, free each horizontal joint first with a thin spatula or a steel wire between the parts, then turn; that is what tmackay advises for his split-ring gearbox. If it will not give with moderate force, stop and reprint with s + 0.05 mm.

Running in. A few dozen turns in both directions clean off the burrs. After that, a dry PTFE lubricant, or a silicone or PTFE grease that is safe on plastics (Friction and wear). Lubricating will not free a fused joint.

When it fails

Symptom, cause and fix
Symptom Cause Fix
Comes out as one block, nothing turns Bodies merged on export, or zero gap somewhere (planets without the offset, only the FIT_SLIDE backlash) Separate bodies in the 3MF; measure the gap
Turns after a crack, with a lip left at the bottom Elephant's foot on the first layer 0.5 × 45° chamfer on the tooth ends
One planet will not move and the rest do Fused at one point by a string or by the first layer Blade or feeler gauge through that gap; turn on avoid crossing walls
Tight spot once per turn of a planet Seam or blob on a flank Seam on the tip or the root, or a scarf seam
Rough rubbing all the way round, marks on the tooth root Root clearance smaller than the gap (module 1 with s = 0.3) m ≥ 1.25 (standard) or thin the planets more
One half of the V rubs and the other does not Apexes at different heights (planet lowered after the offset without widening it) Width + twice the offset, and lower the planet by the same amount
Jams in one position, planets will not go into the ring Wrong phase or spacing (zs + zr)/N a whole number, first planet in phase and a turn of k·(360°/N)·(zs/zp)
A planet slides out or wobbles Low β, or a single helical instead of a herringbone Herringbone with β of 30–40°
Skips teeth under load Large backlash and a thin ring rim that spreads Thicken the rim; do not drop the gap below what the coupon gave
Splits along the center plane of the V Tension between layers in one direction of rotation Layers splitting apart; more module or more width

How to test it

Before the part, print the slice coupon from the gaps section. Once it is freed, hold the ring and turn the sun by hand: the planets make one full orbit for every 4 turns of the sun, and there should be no tight spot anywhere along that travel. If one appears, count how many times it comes round per turn of the sun. In the example, a defect on the ring knocks once per turn, because all four planets pass over it. One on the sun knocks three times, because the sun turns 0.75 of a turn relative to the orbit and meets four planets. One on a planet knocks three times every two turns of the sun, because the planet turns 0.75 of a turn relative to the orbit and on each turn touches the sun and the ring.

If it has a carrier, hold the input, move the output by hand and measure the angle, or the movement at the tip of a 50 mm arm. With s = 0.3 mm expect about 3–4°, that is, 2.6 to 3.5 mm at the tip. If it comes out a good deal more, the gap at the pin is bigger than you drew.

If it is going to carry a load, put it through a cycling rig and inspect it after 48 h under load, as Testing a mechanism before you trust it explains.

See also

Design it in KapyCAD

Sketch the mechanism with these dimensions. Each one stays a value you can change after the first test print.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?