10.3 Modelling spur gears in SolidWorks
We build a parametric spur gear from the module \(m\), the tooth count \(N\), the pressure angle \(\varphi\) and the face width \(b\). The flank is the involute of the spur gear chapter, drawn as one equation driven curve. We sketch half a tooth, extrude it, fillet its root, pattern it and mirror the pattern (Figure 10.3.1). The example is \(N = 20\), \(m = 1\) mm, \(\varphi = 20°\) and \(b = 4\) mm.
Code
N, m = 20, 1
r_p, r_b, r_a, r_f = gear_radii(N, m)
gear = Polygon(gear_profile_points(N, m)[:, :2]).buffer(0)
teeth = gear.difference(Point(0, 0).buffer(r_f, 256)) # everything outside the root cylinder
pitch = 2*np.pi/N # angular pitch; tooth k is centred at 90° + k pitch
def wedge(a0, a1, R=2*r_a):
"""A sector from the centre between the polar angles a0 and a1."""
a = np.linspace(a0, a1, 60)
return Polygon(np.vstack([[0, 0], R*np.column_stack([np.cos(a), np.sin(a)])]))
fig, ax = plt.subplots(figsize=(5.5, 5.5))
ax.fill(*Point(0, 0).buffer(r_f, 256).exterior.xy, color='0.85', ec='0.5', lw=0.8)
for k in range(N):
c = np.pi/2 + k*pitch
right = teeth.intersection(wedge(c - pitch/2, c)) # the half that is sketched and patterned
left = teeth.intersection(wedge(c, c + pitch/2)) # the half the mirror adds
for g, col in ((right, '#236b8e' if k == 0 else '#7fa7c2'), (left, '#d6e4ee')):
for poly in getattr(g, 'geoms', [g]):
if poly.geom_type == 'Polygon':
ax.fill(*poly.exterior.xy, color=col, ec='#236b8e', lw=0.6)
ax.annotate('seed half tooth', xy=(0.35, r_a - 0.4), xytext=(4.5, r_a + 2.2),
arrowprops=dict(arrowstyle='-', color='k', lw=0.8), path_effects=halo)
ax.annotate('circular pattern', xy=(r_p*np.cos(np.pi/2 - 3*pitch - 0.05),
r_p*np.sin(np.pi/2 - 3*pitch - 0.05)),
xytext=(8.5, 10.5), arrowprops=dict(arrowstyle='-', color='k', lw=0.8),
path_effects=halo)
ax.annotate('mirror', xy=(r_p*np.cos(np.pi/2 + 3*pitch + 0.05),
r_p*np.sin(np.pi/2 + 3*pitch + 0.05)),
xytext=(-12.5, 10.5), arrowprops=dict(arrowstyle='-', color='k', lw=0.8),
path_effects=halo)
ax.text(0, 0, 'root cylinder', ha='center', va='center', path_effects=halo)
ax.set_xlim(-r_a - 3, r_a + 3)
ax.set_ylim(-r_a - 1, r_a + 3.5)
ax.set_aspect('equal')
ax.axis('off')
plt.show()Why not a Toolbox gear?
SolidWorks ships spur, helical and bevel gears in its Toolbox library, sized from the module and the tooth count, and its help pages warn against using them for anything but a picture.
“Toolbox gears are representations for machine design purposes. They are not true involute gears that you can use for manufacturing.” [1]
The help does not say what the teeth are instead. Opened through the SolidWorks API, the Toolbox spur gear (spur gear_iso.sldprt) holds no spline and no equation driven curve: every flank is a circular arc of radius
\[ R = \frac{d}{5} = \frac{Nm}{5} \tag{10.3.1}\]
through the pitch point \(P\), centred on the base circle. The involute through \(P\) has the radius of curvature \(r_p\sin\varphi = 0.171\,d\) there, so the arc is 17 % flatter at the pitch circle for every tooth count. In the speed ratio test of Figure 10.2.1 a 20-tooth Toolbox pair swings between 0.94 and 1.06 within each tooth pitch, a small copy of the jerk of straight teeth (Figure 10.3.2).
Code
N, m = 20, 1
r_p, p = m*N/2, 2*np.pi/N
th = np.linspace(0, p, 121) # one angular pitch of the driver
shapes = {'involute': Polygon(gear_profile_points(N, m)[:, :2]).buffer(-0.05*m, 64),
'Toolbox arc': toolbox_gear(N, m).buffer(-0.05*m, 64)} # the play of @fig-sg-hook
fig, ax = plt.subplots(figsize=(6, 3.4))
for (k, g), col in zip(shapes.items(), (blue, orange)):
lag = follower_lag(g, N, r_p, th)
ax.plot(np.degrees(th), 1 + np.gradient(lag, th), color=col, lw=2, label=k)
ax.set_xlim(0, np.degrees(p))
ax.set_xlabel(r'$\theta_1$ (°)')
ax.set_ylabel(r'$\omega_2/\omega_1$')
ax.legend(frameon=False, loc='lower left')
plt.tight_layout()
plt.show()The Toolbox equation "Flank_rad@TooCutSke" = "Num_teeth@HoldingSke" / "Pitch@HoldingSke" / 5, in which Pitch is the diametral pitch \(1/m\), sets the arc radius. Its centre \(M\) lies on the base circle, so the triangle \(OPM\) has the sides \(r_p\), \(r_b\) and \(R\), and the cosine rule places \(M\) at the angle
\[ \gamma = \arccos\frac{r_p^2 + r_b^2 - R^2}{2 r_p r_b} \tag{10.3.2}\]
from \(OP\), past the tooth centreline. For the seed part, \(N = 12\) and \(m = 6.35\) mm, \(\gamma = 23.54°\) reproduces the arc centre of the sketch to \(0.001\) mm. Writing \(\bm{X}(r)\) for the point at radius \(r\) of the involute through the same pitch point, the deviation of the arc along its normal is
\[ \delta(r) = |\bm{X}(r) - \bm{M}| - R \tag{10.3.3}\]
positive where the arc lies inside the involute and the Toolbox tooth is too thin, negative where it is too thick (Figure 10.3.3). Low on the flank the tooth is too thick; at the tip of a small pinion it is thinned as if relieved. Only the active profile counts, from the point where the tip of the mate first touches to the tip (Table 10.3.1).
Code
inv = lambda a: np.tan(a) - a # @eq-inv
def flank(N, m, n=2000):
"""Radii from base to tip, the involute through the pitch point, and the deviation of
the Toolbox arc from it (@eq-sg-toolbox-dev). Tooth centred on the y axis."""
r_p, r_b, r_a, r_f = gear_radii(N, m)
r = np.linspace(r_b, r_a, n)
psi = np.pi/(2*N) + inv(phi) - inv(np.arccos(r_b/r)) # polar angle from the centreline
X = np.column_stack([r*np.sin(psi), r*np.cos(psi)])
M, R = toolbox_arc(N, m)
return r, X, np.linalg.norm(X - M, axis=1) - R
def r_sap(N, m):
"""Start of the active profile against an equal gear, where the tip circle of the
mate crosses the line of action."""
r_p, r_b, r_a, r_f = gear_radii(N, m)
s = 2*r_p*np.sin(phi) - np.sqrt(r_a**2 - r_b**2) # distance from T along the line
return np.sqrt(r_b**2 + max(s, 0)**2)
fig, axes = plt.subplots(2, 1, figsize=(6, 9), gridspec_kw={'height_ratios': [1.1, 1]})
ax = axes[0]
N, m = 12, 1
r_p, r_b, r_a, r_f = gear_radii(N, m)
r, X, d = flank(N, m)
M, R = toolbox_arc(N, m)
psi_P = np.pi/(2*N)
P = r_p*np.array([np.sin(psi_P), np.cos(psi_P)])
T = r_b*np.array([np.sin(psi_P - phi), np.cos(psi_P - phi)])
a = np.arctan2(*(P - M)[::-1]) + np.linspace(-0.8, 0.8, 2000)
arc = M + R*np.column_stack([np.cos(a), np.sin(a)])
arc = arc[(np.hypot(*arc.T) >= r_f) & (np.hypot(*arc.T) <= r_a)] # root to tip, as Toolbox
for s in (1, -1): # right flank, and its mirror image
ax.plot(s*arc[:, 0], arc[:, 1], color=orange, lw=2.5 if s > 0 else 1, alpha=1 if s > 0 else 0.5)
ax.plot(s*X[:, 0], X[:, 1], color=blue, lw=1.2 if s > 0 else 0.6, alpha=1 if s > 0 else 0.5)
for rr, ls in ((r_a, '-'), (r_p, '--'), (r_b, '-'), (r_f, '-')):
c = np.linspace(-0.45, 0.45, 200)
ax.plot(rr*np.sin(c), rr*np.cos(c), ls, color='0.6', lw=0.8)
ax.plot(*np.array([M, P]).T, '--', color=orange, lw=0.8)
ax.plot(*np.array([T, P]).T, color=blue, lw=0.8)
for pt, name, off in ((P, '$P$', (0.08, 0.05)), (M, '$M$', (-0.25, -0.05)), (T, '$T$', (0.05, -0.25))):
ax.plot(*pt, 'o', color='k', ms=3.5)
ax.text(pt[0] + off[0], pt[1] + off[1], name, path_effects=halo)
ax.text(*(M + P)/2 + np.array([-0.15, 0.2]), '$R = d/5$', color=orange, ha='right', path_effects=halo)
ax.text(*(T + P)/2 + np.array([0.12, -0.12]), r'$r_p\sin\varphi$', color=blue, path_effects=halo)
for rr, name in ((r_a, '$r_a$'), (r_p, '$r_p$'), (r_b, '$r_b$'), (r_f, '$r_f$')):
ax.text(0.45*rr + 0.1, rr*np.cos(0.45), name, color='0.35', va='center', path_effects=halo)
ax.set_xlim(-2.2, 3.7)
ax.set_ylim(r_f - 0.3, r_a + 0.3)
ax.set_aspect('equal')
ax.set_xlabel('$x$ (mm)')
ax.set_ylabel('$y$ (mm)')
ax.set_title('$N = 12$, $m = 1$ mm: involute (blue) and Toolbox arc (orange)', fontsize=11)
ax = axes[1]
for N, col in ((12, blue), (20, 'k'), (50, '0.6')):
r_p, r_b, r_a, r_f = gear_radii(N, 1)
r, X, d = flank(N, 1)
on = r >= r_sap(N, 1) # the part of the flank that meshes
ax.plot(r[on] - r_p, d[on], color=col, lw=2, label=f'$N = {N}$')
ax.plot(r[~on] - r_p, d[~on], '--', lw=1, color=col)
ax.axhline(0, color='0.6', lw=0.8)
ax.axvline(0, color='0.6', lw=0.8, ls='--')
ax.text(0.03, ax.get_ylim()[0]*0.9, 'pitch circle', color='0.35', rotation=90, va='bottom')
ax.set_xlabel(r'$(r - r_p)/m$')
ax.set_ylabel(r'$\delta/m$')
ax.legend(frameon=False, loc='upper left')
plt.tight_layout()
plt.show()
rows = []
for N in (10, 12, 15, 20, 30, 50, 100):
r, X, d = flank(N, 1)
d = d[r >= r_sap(N, 1)] # active profile only
worst = np.abs(d).max()
rows.append((N, round(d.min(), 3), round(d.max(), 3), round(0.1/worst, 1), round(0.05/worst, 1)))
toolbox = pd.DataFrame(rows, columns=['$N$', r'thickest, $\min\delta/m$', r'thinnest, $\max\delta/m$',
r'$m$ (mm) at $\lvert\delta\rvert = 0.1$ mm', r'$m$ (mm) at $\lvert\delta\rvert = 0.05$ mm'])| \(N\) | thickest, \(\min\delta/m\) | thinnest, \(\max\delta/m\) | \(m\) (mm) at \(\lvert\delta\rvert = 0.1\) mm | \(m\) (mm) at \(\lvert\delta\rvert = 0.05\) mm |
|---|---|---|---|---|
| 10 | -0.015 | 0.063 | 1.6 | 0.8 |
| 12 | -0.018 | 0.043 | 2.3 | 1.2 |
| 15 | -0.021 | 0.026 | 3.8 | 1.9 |
| 20 | -0.02 | 0.013 | 4.9 | 2.5 |
| 30 | -0.017 | 0.004 | 5.8 | 2.9 |
| 50 | -0.013 | 0.001 | 7.7 | 3.8 |
| 100 | -0.009 | 0.002 | 11.1 | 5.6 |
The error is a fixed fraction of the module and the tolerance of a process is a fixed length, so the last two columns of Table 10.3.1 give the module at which they meet. FFF with a 0.4 mm nozzle holds each surface to about ±0.1 mm [2] and hides the arc of a 20-tooth gear up to \(m = 4.9\) mm. Pinions of 12 and 10 teeth at \(m = 1.5\) mm lose \(0.13\) and \(0.19\) mm of tip, enough to break the two-extrusion tip of Example 3. A 0.2 mm nozzle, used for about half the module, hides the arc as well. A resin printer reproduces it from about \(m = 2\) mm, where the error passes two pixels of a fine screen [3]. A laser cutter follows arcs exactly and holds about ±0.13 mm [4], enough to hide the arc of a coarse acrylic gear, but a gear cut from steel plate to carry load is a manufactured gear in the sense of the warning, and its outline has to be the involute.
Building the gear
Step 1: Global variables
Tools, Equations, Global Variables. No dimension of the part is typed as a number: every field below takes = and the name of a global.
To skip the typing, download spur_globals.txt and load it with Import in the Equations dialog: it holds the eleven globals of Table 10.3.2.
t_tip ends the flank at the tip circle (10.3.4), MidAngle is a quarter of the angular pitch and R_fillet is \(0.9\,e_b/2\) of 10.3.6.
| Variable | Expression | Example |
|---|---|---|
N |
20 |
teeth |
m |
1 |
module (mm) |
PressureAngle |
20 |
degrees |
FaceWidth |
4 |
mm |
PitchRadius |
"m" * "N" / 2 |
10 mm |
BR |
"PitchRadius" * cos("PressureAngle") |
9.397 mm |
TipRadius |
"m" * ("N" + 2) / 2 |
11 mm |
RootRadius |
"PitchRadius" - 1.25 * "m" |
8.75 mm |
t_tip |
sqr(("TipRadius" / "BR") ^ 2 - 1) |
0.6085 |
MidAngle |
360 / ("N" * 4) |
4.5° |
R_fillet |
0.9 * "BR" * (pi / (2 * "N") - (tan("PressureAngle") - "PressureAngle" * pi / 180)) |
0.538 mm |
Type R_fillet with the involute function inline. Stored as a global of its own, \(\tan\varphi - \varphi\) gets angular units, and the length expression fails.
Step 2: Sketch1, the half tooth
Sketch on the Front Plane.
- Four circles about the origin:
RootRadiusandTipRadiusas ordinary circles,BRandPitchRadiusas construction circles. SolidWorks dimensions a circle as a diameter, so enter= 2 * "RootRadius"and so on; a bare= "RootRadius"gives a circle of half the size. - Tools, Sketch Entities, Equation Driven Curve, filled in as Table 10.3.3 with the two expressions below them: the flank of 10.3.4.
- Select the curve, Add Relation, Fix. The curve is then fully defined (Figure 10.3.4), and it still follows the global variables when they change.
- Construction line from the origin to the point where the curve crosses the pitch circle, its end Coincident with both: the datum line. It must end on the pitch circle, not at the cusp on the base circle (Tooth thickness, Figure 10.2.12).
- Line from the root circle to the tip circle, its ends Coincident with the two circles, the origin Coincident with the line, and the angle
= "MidAngle"to the datum line, on the side the curve bends towards: the tooth centreline.
The sketch is now fully defined (Figure 10.3.5). The curve runs on below the root circle; leave it there.
| Field | Entry |
|---|---|
| Type | Parametric |
| \(x_t\) | the first expression below |
| \(y_t\) | the second expression below |
| \(t_1\) | -1 |
| \(t_2\) | 1 |
x_t: "BR" * (sin(((t * "t_tip") + sqr((t * "t_tip") ^ 2)) / 2) - ((t * "t_tip") + sqr((t * "t_tip") ^ 2)) / 2 * cos(((t * "t_tip") + sqr((t * "t_tip") ^ 2)) / 2))
y_t: "BR" * (cos(((t * "t_tip") + sqr((t * "t_tip") ^ 2)) / 2) + ((t * "t_tip") + sqr((t * "t_tip") ^ 2)) / 2 * sin(((t * "t_tip") + sqr((t * "t_tip") ^ 2)) / 2)) + ((t * "t_tip") - sqr((t * "t_tip") ^ 2)) / 2 * "BR"
MidAngle \(= 2.25°\) runs from the datum line to the tooth centreline.
With \(v = t\,t_\text{tip}\), where \(t_\text{tip} = \sqrt{(r_a/r_b)^2 - 1}\) is the value of \(\alpha\) at which 10.2.1 reaches the tip circle, and with \(v^{+} = \max(v,0)\) and \(v^{-} = \min(v,0)\), the flank of the two expressions is
\[ x(t) = r_b\left[\sin v^{+} - v^{+}\cos v^{+}\right], \qquad y(t) = r_b\left[\cos v^{+} + v^{+}\sin v^{+}\right] + r_b\,v^{-} \tag{10.3.4}\]
For \(t > 0\) we have \(v^{-} = 0\), and this is the involute of 10.2.1. For \(t < 0\) we have \(v^{+} = 0\): the involute terms freeze at the cusp \((0, r_b)\) and the last term slides the point straight down the \(y\) axis. One entity therefore carries the involute above the base circle and the radial line below it, and the sketch keeps the same entities as \(N\) crosses the \(41.5\) teeth of 10.2.7 (Figure 10.3.6).
A CAD equation accepts no conditional, so the maximum and the minimum are written with \(\sqrt{v^2} = |v|\),
\[ \max(v, 0) = \frac{v + \sqrt{v^2}}{2}, \qquad \min(v, 0) = \frac{v - \sqrt{v^2}}{2} \tag{10.3.5}\]
in SolidWorks syntax (v + sqr(v ^ 2)) / 2 and (v - sqr(v ^ 2)) / 2.
Code
fig, axes = plt.subplots(2, 1, figsize=(6, 8))
for ax, N_val in zip(axes, (20, 50)):
r_p, r_b, r_a, r_f = gear_radii(N_val, 1)
t_tip = np.sqrt((r_a/r_b)**2 - 1)
t = np.linspace(-1, 1, 2001)
x, y = unified_curve(t, r_b, t_tip)
ax.plot(x[t >= 0], y[t >= 0], color='#236b8e', lw=2) # v > 0: the involute
ax.plot(x[t <= 0], y[t <= 0], color='0.55', lw=2) # v < 0: the radial line
ax.plot(0, r_b, 'o', color='#236b8e', ms=4) # the cusp joins the two
for r, name in ((r_a, '$r_a$'), (r_p, '$r_p$'), (r_b, '$r_b$'), (r_f, '$r_f$')):
col = '#c07a2c' if name == '$r_b$' else '0.35'
a = np.linspace(-1.4/r, 1.4/r, 100) # arcs 2.8 mm long
ax.plot(r*np.sin(a), r*np.cos(a), '--' if name == '$r_p$' else '-', color=col, lw=1)
side = -1 if name == '$r_b$' else 1 # base label left, the rest right
ax.text(side*1.5, r*np.cos(a[-1]), name, color=col, va='center',
ha='right' if side < 0 else 'left', path_effects=halo)
where = 'inside' if r_f < r_b else 'outside'
ax.set_title(f'$N = {N_val}$: root circle {where} the base circle', fontsize=11)
ax.set_xlim(-2.2, 2.2)
ax.set_ylim(r_f - 1.0, r_a + 0.3)
ax.set_aspect('equal')
ax.set_xlabel('$x$ (mm)')
ax.set_ylabel('$y$ (mm)')
plt.tight_layout()
plt.show()Step 3: Half tooth, Plane1 and root cylinder
- Extruded Boss on Sketch1. Selected Contours: the half tooth between the root circle, the curve, the centreline and the tip circle. Blind,
= "FaceWidth"(Figure 10.3.7). - Show Sketch1, which now sits under Boss-Extrude1.
- Insert, Reference Geometry, Plane. First Reference: the tooth centreline of Sketch1. Second Reference: the Front Plane, Perpendicular (Figure 10.3.8). Plane1 holds the centreline and the gear axis.
- Extruded Boss on Sketch1 again. Selected Contours: the disc inside the root circle. Blind,
= "FaceWidth", Merge result.
Step 6 mirrors about Plane1. The flat face of the half tooth lies in the same place, but it is a product of the extrusion: mirrored about that face, the part stops at \(N = 10\) with “Could not find face or plane”. The sketch line exists for every \(N\).
Do not trim the curve below the root circle, and do not mirror it in the sketch. SolidWorks refuses to trim an equation driven curve, and Mirror Entities turns it into a spline that no longer follows the global variables. The regions the overshoot cuts off stay unselected.
FaceWidth.
Step 4: Root fillet
Fillet the edge where the flank meets the root cylinder, radius = "R_fillet", Tangent propagation on (Figure 10.3.9).
R_fillet.
R_fillet comes from
A hobbed gear gets its root fillet from the tip radius of the generating rack, which ISO 53 sets at \(\rho_{fP} = 0.38\,m\), with \(0.30\,m\), \(0.25\,m\) and \(0.39\,m\) as alternatives [5]. The same standard gives the largest fillet that the bottom clearance \(c_P\) of a \(20°\) rack admits, for \(c_P < 0.295\,m\), as
\[ \rho_{fP\max} = \frac{c_P}{1 - \sin\varphi} \]
and the standard clearance \(c_P = 0.25\,m\) returns \(0.38\,m\): the tabulated value is the largest fillet that fits. The model applies the same rule to the gear without simulating the cutter. Subtracting the tooth thickness of 10.2.10 from the circular pitch at the base circle leaves a space whose half width is
\[ \frac{e_b}{2} = r_b\left(\frac{\pi}{2N} - \operatorname{inv}\varphi\right) \tag{10.3.6}\]
and the model takes \(R_f = 0.9\,e_b/2\). The fillet lies at the root, where the space is narrower than at the base circle when \(r_f < r_b\). The two fillets of one space clear each other when
\[ \arcsin\frac{R_f}{r_f + R_f} < \beta, \qquad \beta = \frac{\pi}{2N} - \operatorname{inv}\varphi \tag{10.3.7}\]
or \(R_f < r_f \sin\beta / (1 - \sin\beta)\). A fillet tangent to a radial flank touches it at the radius \(\sqrt{r_f^2 + 2 r_f R_f}\); where that exceeds \(r_b\) there is no radial flank to touch, and the fillet meets the involute. Table 10.3.4 evaluates both at \(m = 1\) mm.
Code
phi = np.radians(20)
inv_phi = np.tan(phi) - phi # @eq-inv at the pitch circle
rows = []
for N in (8, 10, 20, 25, 26, 42, 60, 80, 100):
r_p, r_b, r_a, r_f = gear_radii(N, 1.0) # m = 1: lengths in mm
beta = np.pi/(2*N) - inv_phi # half the tooth space, as an angle
R_f = 0.9*r_b*beta # R_fillet, 0.9 of @eq-space
R_max = r_f*np.sin(beta)/(1 - np.sin(beta)) # largest fillet, @eq-clearance
r_t = np.sqrt(r_f**2 + 2*r_f*R_f) # tangency on a radial flank
rows.append((N, R_f, R_max, R_f/R_max, 'involute' if r_t > r_b else 'radial line'))
fillets = pd.DataFrame(rows, columns=['$N$', '$R_f$ (mm)', 'largest $R_f$ (mm)',
'ratio', 'fillet meets'])| \(N\) | \(R_f\) (mm) | largest \(R_f\) (mm) | ratio | fillet meets |
|---|---|---|---|---|
| 8 | 0.614 | 0.606 | 1.014 | radial line |
| 10 | 0.601 | 0.619 | 0.971 | radial line |
| 20 | 0.538 | 0.594 | 0.906 | radial line |
| 25 | 0.507 | 0.566 | 0.895 | radial line |
| 26 | 0.5 | 0.56 | 0.893 | involute |
| 42 | 0.4 | 0.454 | 0.879 | involute |
| 60 | 0.286 | 0.328 | 0.873 | involute |
| 80 | 0.16 | 0.184 | 0.869 | involute |
| 100 | 0.034 | 0.039 | 0.867 | involute |
The factor \(0.9\) leaves a margin of 9 % at \(N = 20\) and 3 % at \(N = 10\); at \(N = 8\) the two fillets of a space overlap. As a feature on the solid this is harmless, since the two blends merge into one rounded root, what ISO 53 calls a full root radius. Above about \(N = 25\) the fillet meets the involute: at \(N = 30\), \(R_f = 0.475\) mm would touch a radial flank at \(14.22\) mm, above \(r_b = 14.095\) mm. A fillet feature on the root edge finds that point itself, which is why this step fillets the solid and not the sketch. At the other end 10.3.6 shrinks with \(N\) and vanishes at \(\pi/(2N) = \operatorname{inv}\varphi\), \(N = 105\); from about \(N = 42\) the fillet is thinner than a \(0.4\) mm extrusion width, so the printed part has none.
Step 5: Axis and circular pattern
- Insert, Reference Geometry, Axis: Top Plane and Right Plane (Figure 10.3.10). Axis1 is the gear axis. It is the intersection of two default planes, so it depends on no face of the solid.
- Circular Pattern: Features Boss-Extrude1 and Fillet1, direction Axis1, \(360°\), Equal spacing, instances
= "N"(Figure 10.3.11).
The equation "D1@CirPattern1" = "N" now appears under Equations.
Step 6: Mirror
Mirror. Mirror Face/Plane: Plane1. Features to Mirror: CirPattern1 (Figure 10.3.12). The first tooth is mirrored with the rest. The root cylinder needs no mirror.
The gear is finished.
Step 7: Bore and keyway (optional)
Add three global variables, BoreDia, KeyWidth and KeyDepth, the last two from Table 10.3.5 for a parallel key.
- Sketch on the Front Plane: a circle about the origin,
= "BoreDia". - For a keyway: a vertical centreline through the origin and a rectangle symmetric about it,
= "KeyWidth"wide, its top edge= "BoreDia" / 2 + "KeyDepth"above the origin, its lower corners inside the circle. Trim the arc inside the slot and the lower edge of the rectangle, so that one closed outline remains. - Extruded Cut, Through All - Both.
KeyDepth 1.4 mm. The dashed arc and edges are trimmed away, and the closed outline that remains is cut through the gear.
| Bore \(d\) (mm) | 6–8 | 8–10 | 10–12 | 12–17 | 17–22 | 22–30 | 30–38 | 38–44 | 44–50 |
|---|---|---|---|---|---|---|---|---|---|
KeyWidth (mm) |
2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 14 |
KeyDepth \(t_2\) (mm) |
1.0 | 1.4 | 1.8 | 2.3 | 2.8 | 3.3 | 3.3 | 3.3 | 3.8 |
Step 8: Check the model
- Evaluate, Mass Properties, without the bore: \(1235.08\) mm³ at the example values. A datum line drawn to the cusp in place of the pitch circle gives about \(1182\) mm³.
- Set
Nto 12 and rebuild, then 50. The two lie on either side of the \(41.5\) teeth of 10.2.7, so the model has used the radial part of the curve and done without it. The part rebuilds from \(N = 8\) to \(N = 100\).
The model has no cutter and draws the full involute, so below 18 teeth it is a valid involute gear but not the undercut gear a hob would cut; Example 2 shows that the two differ little down to about 12 teeth. It assumes no profile shift. A shift \(x\) adds \(2x\tan\varphi/N\) radians to MidAngle, subtracts it inside the bracket of R_fillet, and moves the tip and root circles out by \(xm\). It has no backlash and no tip relief, so a real pair needs the teeth thinned slightly.
The part and a configurator
The gear of Steps 1 to 6 in SolidWorks 2026: SpurDefinitive.SLDPRT.
The configurator builds the same gear for any module, tooth count, pressure angle and face width, with no hub, a bore or a bore with a DIN 6885 keyway. The view is built in the browser and follows each change at once. The STEP file is built on the book’s server in one to three seconds, with exact cylinders for the tip, the root and the bore. At the example values its volume is \(1235.18\) mm³, the exact area of the outline times \(b\), against the \(1235.08\) of the part. From about \(N = 74\) the R_fillet of Step 1 falls below \(0.2m\), and at \(N = 105\) it vanishes, so the configurator keeps the fillet at \(0.2m\) or more. At \(N = 8\) the two fillets of a space overlap, and it shrinks them to fit.
The configurator also takes a profile shift \(x\) from \(-0.5\) to \(1\) and a backlash. The shift does what Step 8 describes: MidAngle grows by \(2x\tan\varphi/N\) and the tip and root circles move out by \(xm\). The backlash \(j_n\) is the normal backlash of a pair, the play a feeler gauge finds along the line of action. Since the line of action is tangent to both base circles, a gear that gives up \(j_n/2\) of its tooth thickness on the base circle turns each flank in by \(j_n/(4r_b)\), and two gears made with the same \(j_n\) mesh with exactly \(j_n\) of play at the centre distance where they would otherwise mesh tight, \(a = m(N_1+N_2)/2\) when \(x_1 + x_2 = 0\). On the pitch circle that is a thinning of \(j_n/(2\cos\varphi)\) per gear.