Planetary gear stage: sun, planets, ring, carrier.
The teeth are true involutes from spurGear and internalSpurGear (12-tooth sun, three 18-tooth planets, 48-tooth ring, module 1.5). planetaryToothCompatibility enforces Zr = Zs + 2·Zp, and the script also checks the equal-spacing condition. The ring is fused to a flanged housing with four mounting holes. An open three-arm carrier holds the planet pins (0.3 mm radial clearance in the planet bores) and the output shaft. This is a mechanism, not a picture: revolute mates join housing–sun, housing–carrier and carrier–each planet, and coupleMates ties the sun (5 × the carrier angle) and the planets (−8/3 × relative to the carrier) to the single carrierDeg degree of freedom, with gear-pair transmissions naming the drive path. MCP evaluate_script reports mechanism: "real": it turns the carrier through ±90° with the couplings applied, nudges each joint ±0.5° on its own, and finds no overlap between unmated parts beyond its 20 mm³ contact-noise allowance. At the rest pose, kernelcad interference finds no overlap at all (ε = 0.01 mm³), and kernelcad validate --include-interference is clean. Backlash is 0.45 mm per mesh, a printed-gearbox running clearance. It is also what lets each gear pass the individual ±0.5° nudge. Tooth contact dynamics and torque are not modelled. Params: carrierDeg, plus sunTeeth, planetTeeth and planetCount (choices). Source: planetary-gear-stage.kcad.ts.