Presets
Playback
Gear
Number of teeth, profile shift x (how far the cutter is moved away from the blank, in modules) and the module that scales the millimetre readouts.
Cutter
The standard cutter: 20 degrees, tip depth 1.25 m, tip radius 0.38 m. Change it to see where the numbers 17 and 1.0 come from.
Motion and experiments
Run the motion, cut the whole blank at once, or lower the shift until undercut starts.
Layers
Model checks
The science
Generating a gear with a rack
A rack cutter (a hob unrolled, or a shaper cutter) has straight flanks inclined at the pressure angle a (20 degrees in the modern standard). The blank turns and the cutter slides so that the cutter's datum line rolls without slipping on the blank's pitch circle: the cutter moves r * theta while the blank turns theta, with pitch radius r = m z / 2. In the frame of the blank every cutter flank is a straight line that rotates as it moves, and the finished tooth flank is the envelope of all those lines. The envelope of a line rolling on a circle is an involute of the base circle r_b = r cos a, which is why the straight-sided rack and the involute are conjugate. The cutter is moved away from the blank by x m (the profile shift x), which makes the tooth thickness on the pitch circle s = m (pi/2 + 2 x tan a).
Why undercut happens
The cutter touches the flank at a point that slides along the line of action, a line through the pitch point P perpendicular to the cutter flank. It touches the base circle at N, a distance r sin a from P. A point on the cutter flank at depth d below its datum line generates the point of the gear at distance q = (d - x m) / sin a from P, at radius sqrt(r_b^2 + (q - r sin a)^2). That radius has a minimum, r_b, exactly at q = r sin a, i.e. at N. If the straight part of the cutter flank reaches deeper than N, the cutter keeps cutting on the far side of N: it digs below the base circle and removes material from the root of the tooth, leaving a thinner neck (undercut). The straight flank of a standard cutter ends at h_s = h_c - rho (1 - sin a) (tip depth h_c = 1.25 m, tip radius rho = 0.38 m gives h_s = 1.00 m), so there is no undercut when x >= x_min = h_s - z sin^2 a / 2, or z >= 2 (h_s - x) / sin^2 a. With x = 0 and h_s = 1 this is the textbook z >= 2 / sin^2 a = 17.1 teeth at 20 degrees (31.9 at 14.5 degrees, 11.2 at 25 degrees). A sharp-cornered cutter (rho = 0, h_s = 1.25) needs 21.4 teeth.
What profile shift buys and costs
A positive shift moves the cutter out, so the cutter's flank reaches N later and the root of the tooth gets thicker and stronger. The price is a narrower tip. The tip circle is r_a = m (z/2 + 1 + x) and the thickness on it is s_a = 2 r_a [ (pi/2 + 2 x tan a)/z + inv a - inv a_a ] with cos a_a = r_b / r_a and inv a = tan a - a. It reaches zero (pointed tooth) at a certain shift, and a common rule of thumb asks for at least 0.25 m. Between the red region (undercut) and the amber region (pointed) of the design map lies the range of sound shifts; the gap closes as z gets small.
Numerical checks on this page
(1) The involute formula for the tooth half-angle is compared with a brute-force swept outline: for each radius a bisection finds the widest angle that any position of the rolling cutter (stepped finely in roll angle, with the real tip arc) sweeps. (2) The smallest shift without undercut from the closed form x_min is compared with a brute-force search of the swept outline for a neck thinner than the tooth above it (threshold by bisection, extrapolated to zero because the undercut depth grows with the square of the shortfall). (3) The tip thickness and the shift at which the tip turns pointed from the closed form are compared with the swept outline. The 2D page adds (4) a Monte Carlo estimate of the swept area of a half gap against the ring-by-ring outline integral.
Honest simplifications
The model covers the geometry of generation only: a rigid straight-flanked rack with a circular tip arc rolling exactly on the pitch circle. It ignores hob helix and gashes, shaper stroke and cutting forces, index and runout errors, tool wear, heat-treatment growth, backlash allowance, tip relief and the tip shortening that is used when two shifted gears are paired. The tip circle is fixed at m (z/2 + 1 + x). Cutter undercut here is a statement about how the gear is made; whether two gears interfere when they mesh follows the same formula with the mating rack's addendum line (1.0 m) in place of the cutter flank end. Numbers quoted from memory: 17 teeth is the usual textbook limit at 20 degrees full-depth (Shigley and others), and the standard cutter tip radius is about 0.38 m. The brute-force undercut onset agrees with the closed form to within about 0.03 module, not exactly, because the onset is a very shallow cusp.
What to try
- Load 12 teeth, no shift: undercut. The red part of the flank is where the cutter has dug below the base circle. Then load 12 teeth, shifted +0.40 and watch the neck fill out.
- Load Textbook limit: 17 teeth: it sits within 0.01 module of the edge, so it is just sound. Drag z to 16 and then to 14 and watch the point on the design map cross the white line.
- Raise x to +0.9 at 12 teeth: the tip becomes a point and the state changes to POINTED TIP. Shift buys root strength and costs tip thickness.
- Switch the pressure angle to 14.5 degrees: the undercut limit jumps to about 32 teeth. At 25 degrees even 12 teeth are fine.
- Set the cutter tip radius to 0: the straight flank now reaches 1.25 m deep and the limit rises to about 21 teeth.
- Run Experiment: lower the shift: x falls in steps of 0.01 until the first undercut is visible; compare with the closed form x_min in the readout.