How CAD Gear Plugins Calculate Involute Tooth Profiles

Gear generator plugins in Computer-Aided Design (CAD) automate the creation of functional gears by translating mathematical kinematic theory into precise 2D sketches and 3D solids. Instead of requiring manual drafting, these tools use user-defined parameters—such as tooth count, module, and pressure angle—to calculate the exact involute curve of each tooth using parametric equations. By sampling discrete points along this mathematical curve, interpolating them into native CAD splines, and accounting for root trochoids and tooth thickness, the plugins generate accurate profiles capable of smooth, conjugate motion.

Core Mathematical Parameters

To begin the calculation, the plugin requires basic standard inputs: the number of teeth (\(z\)), the module (\(m\)) or diametral pitch (\(P\)), and the pressure angle (\(\alpha\), typically \(14.5^\circ\) or \(20^\circ\)). From these inputs, the algorithm derives the fundamental reference circles:

  • Pitch Diameter (\(d\)): \(d = z \cdot m\)
  • Base Diameter (\(d_b\)): \(d_b = d \cdot \cos(\alpha)\)
  • Addendum Diameter (\(d_a\)): \(d_a = d + 2m\)
  • Dedendum Diameter (\(d_f\)): \(d_f = d - 2.5m\) (standard clearance)

The base circle is the foundation of the calculation. An involute curve is geometrically defined as the path traced by a point on a taut string unwinding from this base cylinder.

Parametric Involute Equations

CAD kernels (such as Parasolid or ACIS) cannot always generate purely analytical functions natively, so plugins rely on parametric equations. The involute curve is expressed as a function of the roll angle parameter \(t\) (in radians):

\[x(t) = r_b \cdot (\cos(t) + t \cdot \sin(t))\] \[y(t) = r_b \cdot (\sin(t) - t \cdot \cos(t))\]

Where \(r_b\) is the radius of the base circle (\(d_b / 2\)). The plugin calculates the parameter range for \(t\). The curve begins at \(t = 0\) on the base circle and terminates when the radius equals the addendum radius (\(r_a = d_a / 2\)), calculated by:

\[t_{max} = \sqrt{\left(\frac{r_a}{r_b}\right)^2 - 1}\]

Discrete Sampling and NURBS Interpolation

Because modern CAD software constructs freeform geometry using Non-Uniform Rational B-Splines (NURBS), the plugin must convert the continuous mathematical equation into a digital curve.

  1. Point Generation: The plugin evaluates the parametric equations over a set of discrete steps between \(t = 0\) and \(t_{max}\). High-precision plugins dynamically adjust step density based on curve curvature to optimize performance without sacrificing dimensional accuracy.
  2. Spline Fitting: The generated coordinate array is passed to the CAD API to fit an interpolated B-spline through the points within a tight geometric tolerance (typically within \(0.001\text{ mm}\) or smaller).

Root Fillet and Undercut Calculation

An involute curve cannot exist below the base circle. When the dedendum circle is smaller than the base circle, the plugin must model the non-involute flank and root fillet to prevent mechanical interference with mating teeth.

To achieve this, advanced plugins simulate the kinematics of a virtual rack cutter. As the virtual cutter rolls against the gear blank, the trajectory of the cutter's rounded corner creates an epitrochoid (or trochoid) curve between the base circle and the dedendum circle. Simpler plugins approximate this region by dropping a radial line from the base circle to the root diameter and applying a standard tangent fillet arc.

Tooth Symmetry and Patterning

Once a single involute flank is established, the plugin constructs the full gear tooth:

  1. Tooth Thickness and Rotation: The plugin calculates the angular tooth thickness at the pitch circle, which equals \(\pi / (2z)\) radians for standard gears.
  2. Mirroring: The flank curve is mirrored across the central radial axis of the tooth to form the opposing flank.
  3. Boundary Trimming: The upper ends of the curves are closed using an arc along the addendum circle, while the base transitions into the dedendum arc and fillet.
  4. Circular Pattern: The closed 2D profile of the single tooth is patterned circularly by \(z\) instances around the gear center.
  5. Boolean Unification: The software merges all tooth profiles with the central gear hub, extruding the sketch to the specified face width to produce the final, watertight 3D CAD solid.