
10.6 Helical and herringbone gears
Code
set_matplotlib_formats('retina') # a shaded surface is lighter as a bitmap
P = gear_profile_points(N_teeth=20, module=1)[::2, :2]
z = np.linspace(-h, h, 41)
fig = plt.figure(figsize=(6.4, 2.2))
# eq-hb-theta: the section turned in proportion to z, counterclockwise (right hand);
# the herringbone mirrors it at the mid-plane
turns = (('right-hand helical gear', 2 * (z + h) * np.tan(beta) / (m * N)),
('herringbone gear', 2 * np.abs(z) * np.tan(beta) / (m * N)))
for k, (title, theta) in enumerate(turns):
X = np.cos(theta)[:, None] * P[:, 0] - np.sin(theta)[:, None] * P[:, 1]
Y = np.sin(theta)[:, None] * P[:, 0] + np.cos(theta)[:, None] * P[:, 1]
Z = np.repeat(z[:, None], len(P), axis=1)
ax = fig.add_subplot(1, 2, k + 1, projection='3d')
ax.plot_surface(X, Y, Z, color='#bcd4e3', edgecolor='none', shade=True,
rstride=1, cstride=1, antialiased=False)
ax.add_collection3d(Poly3DCollection([np.column_stack([X[-1], Y[-1], Z[-1]])],
facecolor='#bcd4e3', edgecolor='#236b8e', lw=0.6))
ax.set_box_aspect((1, 1, b / (m * (N + 2))), zoom=1.5)
ax.view_init(elev=25, azim=-60)
ax.set_axis_off()
ax.set_title(title, fontsize=10)
plt.subplots_adjust(wspace=0, left=0, right=1, top=0.95, bottom=0)
plt.show()
set_matplotlib_formats('svg')A helical gear has teeth that wind round it as helices, inclined at the helix angle \(\beta\) to the axis. It runs more quietly than a spur gear, since its teeth come into mesh gradually across the face, but it pushes its shaft axially with \(F_a = F_t\tan\beta\) [1]. A herringbone gear, or double helical gear, is two helical gears of opposite hand joined at the mid-plane (Figure 10.6.1). The two halves push in opposite directions, and the forces cancel inside the gear.
For a printed drive the herringbone is the gear to use. With the thrust cancelled no thrust bearing is needed, and the V of one gear locates the other axially. Printed with its axis vertical, every flank leans at \(\beta\) from the vertical, so for \(\beta\) below \(45°\) the gear needs no support material.
We build both from the parametric spur gear: a twisted sweep of the spur profile is the helical gear, and half of that sweep mirrored is the herringbone. The SolidWorks steps do this by hand, and the configurator returns either gear as a STEP file.
The twist
Unrolling the pitch cylinder onto a plane turns every tooth of a helical gear into a straight band inclined at \(\beta\) to the axis, as in Figure 10.6.2. Moving a distance \(z\) along the axis shifts the tooth by \(z\tan\beta\) along the pitch circle and so turns the transverse section through
\[ \theta(z) = \frac{z\tan\beta}{r_p} = \frac{2z\tan\beta}{d} \tag{10.6.1}\]
where \(d = mN\) is the pitch diameter. The rotation is linear in \(z\), so the tooth trace is a helix, and one full turn takes the axial distance \(L = \pi d/\tan\beta\), the lead. A helical gear of face width \(b\) turns its section through \(2b\tan\beta/d\) from one end face to the other. A herringbone gear consists of two halves of width \(b/2\), and each turns its section through
\[ \theta_h = \frac{b\tan\beta}{d} \tag{10.6.2}\]
between the mid-plane and its end face, the two halves in opposite senses. The twist depends on \(b\) and \(d\) as well as on \(\beta\), so in CAD it has to follow the model’s equations, or the helix angle changes as soon as \(N\), \(m\) or the face width does. A CAD helix is set by its lead, and a helix of lead \(L\) turns through \(\theta(z) = 2\pi z/L\) at every radius, which is 10.6.1 again.
The twisted section also gives the exact flank. Every transverse section of the gear is the transverse profile turned through \(\theta(z)\), so the flank is swept by a planar involute rotating at a constant rate as it advances along the axis. That surface is the involute helicoid, the flank of every involute helical gear [2], and its sections perpendicular to the axis are true involutes of the base circle. A twisted sweep of the spur profile is therefore not an approximation of the helical flank but the flank itself. The sections that are not involutes are those taken normal to the tooth.
Code
p = np.pi * m # circular pitch: one tooth and one space
halo = [pe.withStroke(linewidth=3, foreground='white')]
fig, ax = plt.subplots(figsize=(7, 4.2))
z = np.array([-h, 0, h])
shift = np.abs(z) * np.tan(beta) # pitch-circle arc length the tooth has moved, per eq-hb-theta
for k in range(0, 5):
left = k * p - p / 4 + shift
right = k * p + p / 4 + shift
ax.fill(np.r_[left, right[::-1]], np.r_[z, z[::-1]],
facecolor='#bcd4e3', edgecolor='#236b8e', lw=1)
ax.axhline(0, color='0.35', lw=0.8, ls='--')
ax.plot([0, 0], [0, h], color='0.35', lw=0.8)
ax.plot([0, h * np.tan(beta)], [0, h], color='0.35', lw=0.8, ls='--') # tooth centreline
# helix angle between the axis direction and the tooth centreline
arc = np.linspace(np.pi / 2 - beta, np.pi / 2, 30)
ax.plot(0.6 * h * np.cos(arc), 0.6 * h * np.sin(arc), color='0.35', lw=0.8)
ax.text(0.17 * h, 0.66 * h, r'$\beta$', fontsize=13, path_effects=halo)
# the arc length the section turns through over one half
ax.annotate('', xy=(h * np.tan(beta), h + 0.6), xytext=(0, h + 0.6),
arrowprops=dict(arrowstyle='<->', color='0.35', lw=0.8))
ax.text(h * np.tan(beta) / 2, h + 0.9, r'$r_p\theta_h = \frac{b}{2}\tan\beta$',
ha='center', fontsize=12, path_effects=halo)
ax.annotate('', xy=(-1.4, h), xytext=(-1.4, 0),
arrowprops=dict(arrowstyle='<->', color='0.35', lw=0.8))
ax.text(-1.6, h / 2, r'$b/2$', ha='right', va='center', fontsize=12, path_effects=halo)
ax.text(-1.6, -0.6, 'mid-plane', ha='right', va='center', fontsize=10, color='0.35')
ax.set_xlim(-4.5, 5 * p)
ax.set_ylim(-h - 0.5, h + 2)
ax.set_aspect('equal')
ax.axis('off')
plt.show()The helix also sets how many teeth share the load: the overlap ratio \(\varepsilon_\beta\) is the face width measured in axial pitches \(\pi m/\tan\beta\). For the gear of Figure 10.6.1, with \(N = 20\), \(m = 1\) mm, \(b = 10\) mm and \(\beta = 30°\), 10.6.2, the lead and the overlap ratio are
Code
m_, N_, b_, beta_ = 1, 20, 10, sp.rad(30)
d_ = m_ * N_ # pitch diameter
theta_h = b_ * sp.tan(beta_) / d_ # twist of each half, @eq-hb-twist
L_ = sp.pi * d_ / sp.tan(beta_) # lead: axial length of one full turn of the helix
eps_beta = b_ * sp.tan(beta_) / (sp.pi * m_) # face width in axial pitches\[ \theta_h =16.54^\circ,\quad L =108.8~\text{mm},\quad \varepsilon_\beta =1.84 \]
so the twist each half needs is modest, a little under one angular pitch of \(18°\), and nearly two teeth overlap across the face.
Transverse and normal module
The profile we sweep is the transverse one, so the module \(m\) and pressure angle \(\varphi\) of the spur model become the transverse module and transverse pressure angle of the helical gear. Two gears built from the model mesh at the spur centre distance \(a = m(N_1 + N_2)/2\), and for a printed pair that is all we need.
A hob cuts in the plane normal to the tooth, so a bought helical gear is specified by its normal module \(m_n\) and normal pressure angle \(\varphi_n\). The transverse values follow as
\[ m = \frac{m_n}{\cos\beta}, \qquad \tan\varphi = \frac{\tan\varphi_n}{\cos\beta} \tag{10.6.3}\]
[1], while the addendum and dedendum stay at \(m_n\) and \(1.25\,m_n\). At \(\beta = 30°\) and \(\varphi_n = 20°\) this gives \(m = 1.155\,m_n\) and \(\varphi = 22.80°\). To mesh with such a gear we enter these two values for m and PressureAngle and write TipRadius and RootRadius in terms of \(m_n\).
Building the gears in SolidWorks
We start from the finished part of Modelling spur gears in SolidWorks, Steps 1 to 6 (SpurDefinitive.SLDPRT). Its solid supplies the transverse profile. Steps 1 to 5 make a helical gear, and Step 6 turns it into a herringbone. The example is that of Figure 10.6.1: \(N = 20\), \(m = 1\) mm, \(b = 10\) mm, \(\beta = 30°\). The finished parts are HelicalGear.SLDPRT and HerringboneGear.SLDPRT.
Step 1: Global variables
Tools, Equations. Set FaceWidth to 10 and add four global variables.
Lead is \(L = \pi d/\tan\beta\), the pitch of the helix in Step 4. Twist is the turn of 10.6.1 over the sweep length, in degrees, 10.6.2 for each half of a herringbone; it drives no feature, and Step 8 checks the model against it. SolidWorks lists it as 16.54mm, a unit carried over from SweepLength; the number is in degrees.
| Variable | Expression | Example |
|---|---|---|
HelixAngle |
30 |
\(\beta\), degrees |
SweepLength |
"FaceWidth" for a helical gear, "FaceWidth" / 2 for a herringbone |
10 mm, 5 mm |
Lead |
pi * "m" * "N" / tan ( "HelixAngle" ) |
108.83 mm |
Twist |
"SweepLength" / "Lead" * 360 |
33.08°, 16.54° |
Step 2: The profile, Sketch3
If the part has Chamfer1, as the downloaded one does, suppress it first, since the chamfer shrinks the face we convert. Sketch on the Front Plane, select the face of the spur part that lies in the Front Plane and use Convert Entities. The sketch, Sketch3 in the downloaded part, holds the closed outline of the gear, flanks, root fillets and tip arcs, and follows the solid through every change of \(N\) (Figure 10.6.3). It refers to a face of the model, so it is the first thing to check when a rebuild fails. The sketch numbers in the steps below are those of the downloaded part; in a part of your own they count on from its last sketch.
Step 3: The path, Sketch4
Sketch on the Right Plane, which contains the gear axis. Draw a line from the origin along the axis, into the spur part, of length = "SweepLength" (Figure 10.6.4). The profile moves along the path, so the path must start at the origin and run along the axis. End the line in empty space: an end snapped to an edge or a vertex of the spur part gets a relation to it, which can dangle when \(N\) changes and take the sweep with it.
Step 4: The helix, Helix/Spiral1
On the Front Plane, sketch a circle about the origin of diameter = "RootRadius"; this is Sketch5. The helix turns through \(2\pi z/L\) at any radius, so its size has no effect on the gear, and this diameter puts it on half the root circle, inside the solid and clear of the outline at every \(N\). With the helix on the pitch circle, where it crosses the flanks, SolidWorks 2026 failed to rebuild the sweep at \(N = 8\) to \(14\).
With Sketch5 selected, Insert, Curve, Helix/Spiral, set as in Table 10.6.2.
| Field | Entry |
|---|---|
| Defined by | Height and Pitch |
| Parameters | Constant pitch |
| Height | any positive value, linked below |
| Pitch | any positive value, linked below |
| Reverse direction | as needed, so that the helix runs into the spur part like Sketch4 |
| Start angle | 0° |
| Counterclockwise / Clockwise | Counterclockwise for a right-hand gear |
The fields of this dialog take numbers only and refuse = "SweepLength". Height and pitch are dimensions of the helix all the same, D3 and D4, so we link them in Tools, Equations, under Equations (Table 10.6.3). Figure 10.6.6 shows the dialog once the links are in place, and Figure 10.6.7 the Equations dialog of the finished part.
| Name | Value / Equation |
|---|---|
"D3@Helix/Spiral1" |
= "SweepLength" |
"D4@Helix/Spiral1" |
= "Lead" |
Lead, height SweepLength. Over the 10 mm face it turns through \(33.08°\).
SweepLength and P = 108.83 mm is Lead. The helix (yellow) runs from the Front Plane into the gear, and its 5 mm take 0.046 of a turn. Its diameter, 8.75 mm, is the value of RootRadius.
Step 5: Sweep: the helical gear
- Insert, Boss/Base, Sweep, set as in Table 10.6.4.
- Insert, Features, Delete/Keep Body: keep the sweep. Sketch3 still resolves, since it comes before the deletion in the feature tree.
| Field | Entry |
|---|---|
| Profile | Sketch3 |
| Path | Sketch4 |
| Guide Curves | Helix/Spiral1 |
| Profile orientation | Follow Path |
| Profile Twist | Follow Path and 1st Guide Curve |
| Merge result | off: the sweep becomes a body of its own beside the spur solid |
With Follow Path and 1st Guide Curve the profile keeps its angle to the guide curve as it moves along the path, so it turns with the helix through \(\theta(z)\) of 10.6.1. The guide need not touch the profile. The Profile Twist list also offers Specify Twist Value, a turn typed in degrees, but that value is a setting of the feature, not a dimension, so no equation can reach it: the helix angle would be right only for the \(N\), \(m\) and \(b\) it was typed for.
SweepLength = "FaceWidth" this is the finished helical gear, here right-handed.
The direction of the helix sets the hand. Stand the gear with its axis vertical: the teeth of a right-hand gear rise to the right on the side facing us, like the thread of an ordinary screw. A counterclockwise helix gives a right-hand gear and a clockwise one a left-hand gear.
Step 6: Mirror: the herringbone gear
- Set
SweepLengthto"FaceWidth" / 2. The path and the helix shorten, and the sweep becomes one half of the herringbone. - Insert, Pattern/Mirror, Mirror: Mirror Face/Plane the Front Plane, Sweep1 under Bodies to Mirror, Merge solids checked. The result is Mirror2 (Figure 10.6.9).
A reflection in a plane perpendicular to the axis reverses the hand of a helix, so the mirrored half twists the other way, and the two halves meet in the V at the Front Plane, the mid-plane of the gear. Both come from one sweep, so they agree by construction.
Step 7: The mating gear
Save a copy of the part with its own N and the opposite hand, Clockwise ticked in Helix/Spiral1: two meshing helical or herringbone gears have opposite hands. In an assembly, place the axes at the centre distance \(a = m(N_1 + N_2)/2\) with the Front Planes coincident, turn one gear until its teeth sit in the other’s spaces, and add a Gear mate with the ratio \(N_1 : N_2\) (Figure 10.6.10).
Step 8: Check the model
- Evaluate, Mass Properties. A twist turns every section without changing it, so the gear has the volume of the spur part at the same
FaceWidth, \(3087.7\) mm³ in the example, helical or herringbone. SolidWorks stores the swept flanks as spline surfaces and reports \(3088.1\) mm³ for the helical gear and \(3088.0\) mm³ for the herringbone, \(0.01\) % more. - Rebuild at \(N = 12\) and \(N = 50\) as for the spur gear, which also exercises the face reference of Sketch3. The parts rebuild up to \(N = 90\) at \(m = 1\) mm. At \(N = 100\) the root fillet
R_filletof the spur part is only \(0.034\) mm, and the sweep fails on the tiny arcs it leaves in Sketch3, although the spur part itself still rebuilds. - In a sketch on the end face, draw one line from the origin to the midpoint of a tip arc and a second to the midpoint of the same tooth’s tip arc in Sketch3. The angle between them is
Twist.
A loft between the end profile and a turned copy of it joins corresponding points with straight chords. Halfway along, a chord between two points at radius \(r\) turned through \(\theta_h\) passes \(r(1 - \cos(\theta_h/2))\) inside the helix: \(0.10\) mm at the pitch circle of our example, half a \(0.2\) mm printed layer. The sweep along the helix generates the helicoid itself.
A configurator
The configurator builds a helical or a herringbone gear by Steps 1 to 6 for any module, tooth count, pressure angle, face width, helix angle and hand, with no hub, a bore or a bore with a DIN 6885 keyway as in the spur gear. The module and the pressure angle are the transverse ones of the profile (10.6.3 gives the normal values, shown below the inputs). The view is built in the browser. The STEP file is built on the book’s server in 2 to 10 s, with the flanks as exact helicoids, and its axis runs along \(z\) from \(0\) to \(b\).