Practical Trigonometry
In Chapter 5, we looked at sine, cosine, and tangent in right triangles. Here we put them to work: every cone, every chamfer, and every fillet in a drawing conceals a triangle, and anyone who programs a CNC machine or sets up a lathe must know how to find it in order to calculate the dimensions that aren’t shown in the drawing. At the end of the chapter, we’ll also use this same trigonometry for measurement: rollers, wires, and sine bars convert an angle into a dimension that can be read with a micrometer.
6.1 The Cone and Its Dimensions
A conical workpiece has a diameter that varies uniformly along its axis. The drawing usually provides three measurements: the major diameter D, the minor diameter d, and the length L of the conical section. These measurements are used to determine the dimensions required for machining and inspecting the workpiece.
- The taper C is the amount by which the diameter increases for every millimeter of length. It is expressed as a ratio: “1:20 taper” means that the diameter changes by 1 mm for every 20 mm.
- The inclination (or slope) is the rate at which the radius increases per millimeter: it is half the taper.
- The half-opening angle α/2 is the angle between the generatrix of the cone and the axis. This is the angle needed by the lathe operator to rotate the slide and by the CNC programmer. The opening angle α, between two opposite generatrices, is twice this value.
If you cut the cone along its axis, you see a trapezoid; if you remove the strip at the top, you are left with a right triangle with one leg of length L and the other of length (D − d)/2. The entire calculation for cones is contained in that triangle.
A cone tapers from Ø40 to Ø30 over a length of 60 mm. Find the taper ratio, slope, and angles.
A 1:20 cone is 50 mm long and has a major diameter of 32 mm. What is the diameter at the other end? And for a cone with α/2 = 7°30′, d = 20 mm, and L = 25 mm, what is its major diameter?
6.2 Standardized cones
The tapered shanks of drill bits, reamers, spindles, and tool holders are standardized: a Morse 3 taper fits into any Morse 3 shank, regardless of the manufacturer. There are four common types.
- Morse taper (MT0 to MT6): taper ratio close to 1:20, but varying from one size to another because they are based on old inch-based measurements. They are self-locking: the angle is so small that friction holds the tool in place and transmits torque; to remove them, a tap or an ejector wedge is required. They are found on twist drills, counterbore shanks, and spindles.
- Metric cones: exact taper ratio of 1:20, for very small diameters (metric 4 and 6) and large diameters (80 and up), where the Morse series does not apply.
- 7:24 quick-change cones (ISO, SK, the old “ISO 40 cones” used on milling machines): the angle is large, and the cone is not self-locking. It centers the tool but does not hold it in place; the tie rod holds it, and torque is transmitted by two pins. This is why it comes loose immediately during automatic tool change.
- Other: Tapered shanks have a 1:50 taper, while the HSK mounts on high-speed machines have a 1:10 taper.
| Cone | Taper (standard) | Decimal C | α/2 recalculated | Reference diameter (mm) |
|---|---|---|---|---|
| Morse 0 | 1 : 19,212 | 0,05205 | 1,4908° = 1°29′27″ | 9,045 |
| Morse 1 | 1 : 20,047 | 0,04988 | 1,4287° = 1°25′43″ | 12,065 |
| Morse 2 | 1 : 20,020 | 0,04995 | 1,4307° = 1°25′50″ | 17,780 |
| Morse 3 | 1 : 19,922 | 0,05020 | 1,4377° = 1°26′16″ | 23,825 |
| Morse 4 | 1 : 19,254 | 0,05194 | 1,4876° = 1°29′15″ | 31,267 |
| Morse 5 | 1 : 19,002 | 0,05263 | 1,5073° = 1°30′26″ | 44,399 |
| Morse 6 | 1 : 19,180 | 0,05214 | 1,4933° = 1°29′36″ | 63,348 |
| Metric | 1 : 20 | 0,05 | 1,4321° = 1°25′56″ | 4, 6, 80, 100 ... |
| Quick catch 7:24 (30, 40, 45, 50) | 7 : 24 | 0,29167 | 8,2971° = 8°17′50″ | 31,75 · 44,45 · 57,15 · 69,85 |
| HSK | 1 : 10 | 0,1 | 2,8624° = 2°51′45″ | according to the measurement |
| Tapered pins | 1 : 50 | 0,02 | 0,5729° = 0°34′23″ | plug diameter |
The taper ratios and reference diameters are those specified in the standards; the angles are recalculated using tan(α/2) = C/2. The reference diameter for Morse taper connections is the one on the measuring plane, at the larger end of the male taper; to machine a connection, the complete tables from the standard (lengths, shank, tolerances) are required, which we do not include here.
By how much does the diameter of a Morse 3 cone change over a length of 80 mm? And what is the diameter of a 40 Morse 7:24 cone—which starts at Ø44.45—60 mm further along?
6.3 Conical Turning on a Parallel Lathe
On a CNC lathe, a taper is simply a combination of X and Z axis movements. On a parallel lathe, however, the tool moves either along the axis or across it, and to create a taper, you have to tilt the tool slightly. There are two commonly used methods.
Rotation of the Upper Carriage
The upper slide (or tool slide) is located above the cross slide and can be rotated; it has a scale marked in degrees. Rotate it by an angle of α/2 and advance the tool by hand using its handwheel, so that the tip follows the generatrix of the cone. This method works well for short cones, whether external or internal, even those with a very wide opening; the limitations are the slide’s travel—usually 100 to 150 mm—and the manual feed, which results in a less uniform surface finish.
Shifting the Counter-Test
If the workpiece is machined between the centers, the body of the tailstock can be shifted laterally by a distance s. The workpiece axis is no longer parallel to the guides, and the tool—which moves straight along the guides with automatic feeds—cuts a cone. The advantage is that long cones can be machined using automatic feeds; the limitations are that only external cones with a slight angle can be produced, because the centers run off-center in the center holes and the maximum displacement of the tailstock is only a few millimeters.
The displacement is calculated using the taper section triangle, applied not only to the tapered segment but to the entire length between the vertices: the axis of the workpiece tilts entirely, so the difference in radii along L is repeated proportionally along Lt.
An outer cone ranges from Ø36 to Ø30 over 24 mm. What angle should be set for the upper slide, and how much travel is needed?
A shaft that is 300 mm long between the tips has a tapered section measuring 120 mm, tapering from Ø36 to Ø30.
6.4 Chamfers
A chamfer removes the sharp edge: it protects your hands, aids in assembly, and prevents the edge from getting damaged. In a drawing, it is specified by two numbers: a length and an angle. The 45° chamfer is the most common and is written as “2 × 45°” (or “C2”): the two legs are equal, 2 mm along the axis and 2 mm along the radius. For other angles, you must read the drawing carefully, because the length and angle must refer to the same line.
On the end of a Ø40 shaft, first make a 2 × 45° chamfer, then, on another workpiece, make a 3 × 30° chamfer with the angle measured from the axis. Determine the coordinates for the CNC (X at the diameter, Z0 on the face).
If, on the other hand, the draftsman had measured the 30° from the face, the chamfer would be at a 60° angle to the axis:
A Ø20 hole has a 1.5 × 45° chamfer at its entrance. For another Ø20 hole, the goal is to enlarge it to Ø24 using a 90° countersink followed by a 120° countersink. How deep will the countersink go?
6.5 Fillet of Two Lines
A fillet is an arc of a circle that connects two segments of a profile without edges: the arc is tangent to both segments, meaning it touches them without crossing them. The drawing provides only the radius R and the two lines; the programmer must find the two points of tangency—where the line ends and the arc begins—and often the center as well.
The construction is always the same. The two lines meet at vertex V, forming an angle β (measured from the side where the arc is located). The center C of the arc is a distance R from both lines, so it lies on the angle bisector. The radii extending to the points of tangency are perpendicular to the lines: this forms two congruent right triangles, each with angle β/2 at V, the opposite side R, and the hypotenuse T along the line.
On a lathe spindle, a 30° cone with its axis rising to Ø40 meets the Ø40 cylinder at vertex V, with coordinates X40, Z−30. The edge is filleted with a radius of R4. Find the points of tangency and the center (X on the diameter).
Verification: The distance between T₁ and the center is √((−29.072 + 31.072)² + (19.464 − 16)²) = √(4 + 12.000) = 4.000 ✓. The radius is short (just over one millimeter) because the two lines are nearly aligned: the closer the angle β is to 180°, the shorter the fillet.
On the milling machine, the lower edge of a plate moves along the X-axis from X0 Y0 to vertex V (80; 0); from there, the edge rises at a 60° angle relative to the X-axis. The angle of the plate at V is therefore 120°. It is filleted with R10.
6.6 The Fillet between a Line and a Circle
This often happens in milling: the straight edge of a plate must join the arc that curves around a hub, with a fillet of radius r. Here there is no bisector, but the reasoning is the same: the center C of the fillet must be a distance r from the line and a distance R₁ + r from the center C₁ of the circle (or R₁ − r, if the fillet lies inside the circle). These two conditions define a right triangle, and the Pythagorean theorem takes care of the rest.
Line y = 0, circle with center C₁ (0, 30) and radius R₁ = 20, fillet with radius r = 8 (Figure 6.5). Find the center of the fillet and the two points of tangency on the right side.
Moving along the edge from right to left, the fillet turns clockwise: G02 X12.372 Y14.286 R8. (or I0 J8., because the center is 8 mm above T₁). Immediately afterward, it rotates counterclockwise around the hub, using G03 and center C₁.
6.7 Points in a CNC Profile
CNC does not recognize angles, fillet radii, or chain dimensions: it requires the coordinates of every point where the profile changes—that is, the start and end of each straight line and each arc. Before writing the program, you therefore draw the profile, number the points, and compile a table. On the X lathe, programming is based on diameter (Chapter 26), but the triangles are calculated using the radius: the calculations are based on the radius and then doubled at the end.
Let’s take a finishing pin, with the work zero on the right face: 1 × 45° chamfer on Ø20, Ø20 cylinder, 30° cone with its axis extending to Ø40 and its apex at Z−30, R4 fillet between the cone and the cylinder, a Ø40 cylinder extending to Z−42, an R3 fillet against the shoulder at Z−45, a shoulder extending to Ø54 with a 1 × 45° chamfer, and a Ø54 cylinder extending to Z−55.
Only points that cannot be directly read from the drawing are calculated.
| Period | X (diameter) | Z | What is it? |
|---|---|---|---|
| 1 | 18 | 0 | chamfered edge |
| 2 | 20 | −1 | chamfered end |
| 3 | 20 | −12,679 | start of cone |
| 4 | 38,928 | −29,072 | end of cone, start of R4 |
| 5 | 40 | −31,072 | end of R4 |
| 6 | 40 | −42 | Start of R3 |
| 7 | 46 | −45 | end of R3 |
| 8 | 52 | −45 | chamfered edge |
| 9 | 54 | −46 | chamfered end |
| 10 | 54 | −55 | end of profile |
Cone check: From point 3 to point 4, the radius increases by 19.464 − 10 = 9.464 mm over a distance of 29.072 − 12.679 = 16.393 mm; 9.464 / 16.393 = 0.5773 = tan 30° ✓.
6.8 Arcs in the program: G02 and G03 with R and I K
An arc is programmed using G02 (clockwise) or G03 (counterclockwise), specifying the end point and either the radius or the center. The direction is determined by looking at the drawn profile with the X-axis pointing upward and the Z-axis pointing to the right, as shown in the drawings in this chapter: on a lathe with the turret in front of the operator, the workpiece appears upside down, but the code remains the same because the machine is designed consistently. In practice, when turning the outside of a workpiece toward the spindle, the fillets that round off an edge are G03, and those that fill an internal corner are G02.
- With R: this denotes the radius; for example,
G03 X40. Z-31.072 R4.This is the simplest method. With a positive R value, the controller makes the arc half a turn shorter. On Siemens machines, the radius is written asCR=4. - With I and K: Mark the distances from the starting point of the arc to the center—I along X and K along Z—with their respective signs (on the milling machine, I and J). On lathe I, the radius is used even when X is at the diameter. It is safer than R for long arcs, and essential for a full circle.
Using the points from the table in Example 6.11, write the finishing program (Fanuc syntax, insert with a nose radius of 0.8 and G42 compensation, as explained in the following paragraph).
O0601 (PERNO CAP 6 FINITURA) N10 G21 G40 G99 N20 T0303 (FINITURA RAGGIO 0.8) N30 G50 S3000 (LIMITE GIRI) N40 G96 S200 M03 N50 G00 X14. Z3. N60 G42 G01 X18. Z0. F0.1 (PUNTO 1) N70 X20. Z-1. (PUNTO 2) N80 Z-12.679 (PUNTO 3) N90 X38.928 Z-29.072 (PUNTO 4) N100 G03 X40. Z-31.072 R4. (PUNTO 5) N110 G01 Z-42. (PUNTO 6) N120 G02 X46. Z-45. R3. (PUNTO 7) N130 G01 X52. (PUNTO 8) N140 X54. Z-46. (PUNTO 9) N150 Z-55. (PUNTO 10) N160 X58. N170 G40 G00 X100. Z100. N180 M30
The same two arcs drawn with the center:
N100 G03 X40. Z-31.072 I-3.464 K-2. N120 G02 X46. Z-45. I3. K0.R4: G03 with I−3.464 K−2 · R3: G02 with I3 K0
In the program, decimals are written with a period, as required by the control; the period after the whole numbers (X20.) is necessary for Fanuc controls, which would otherwise interpret X20 as 20 thousandths.
6.9 The nose radius on chamfers and cones
The tip of a lathe insert is not a sharp edge but a small arc with radius r (0.4, 0.8, 1.2 mm). When the tool is zeroed, the machine measures where it touches in the X direction (the lowest point of the arc) and where it touches in the Z direction (the leftmost point): the intersection of these two tangents is the theoretical point P of the tip, which in reality lies in empty space, outside the arc. The control system, without compensation, positions P exactly on the programmed profile.
Nothing happens on cylinders and flat surfaces, because the arc touches exactly where P touches. But on a chamfer, a cone, or a radius, the arc touches the workpiece at a different point, and the tip remains a certain distance away from the profile, measured perpendicular to the surface.
The center of the arc is at a distance r from the theoretical point in both the X and Z directions. For a profile inclined by φ relative to the axis, the distance from the center to the surface is r · (sin φ + cos φ), whereas it should be r: the difference is the error.
The 1 × 45° chamfer on the pin is made using a 0.8 mm insert without compensation. What is the result of this chamfer?
The 30° taper on the pin, again with r = 0.8 and no compensation. How much of an error does this introduce? And with a 0.4 insert?
The solution is nose radius compensation: with G42 (tool to the right of the profile, in the direction of motion) or G41 (to the left), the controller moves the tool so that the arc—and not P—follows the profile. G42 is used for external turning toward the spindle, and G41 for boring toward the spindle. For this to work, the nose radius (column R on Fanuc systems) and the nose direction (column T: typically 3 for an external tool machining toward the spindle) must be entered in the offset table. Compensation is activated during an approach movement, before the profile, and is deactivated with G40 during a withdrawal movement, as in the program in Example 6.12. On Siemens, the functions are the same—G41 and G42—with the radius and cutting edge position specified in the tool data.
6.10 Measuring with Rollers: The Dovetail Joint
The edges of a dovetail profile cannot be measured with a caliper: they are either sharp or covered with fillets, and are often hidden beneath the flanges. To measure them, place two calibrated rollers (or pins) of diameter d at the corners and measure above or between the rollers with a micrometer: this provides a reliable and repeatable dimension. Trigonometry relates that dimension to the actual width.
Each roller touches the bottom and the side, which form an angle α between them (usually 60°, sometimes 55° or 45°). The center of the cylinder lies on the angle bisector, that is, at a distance of (d/2) · cot(α/2) from the edge, measured along the base. The radius of the cylinder, d/2, is added to this distance.
A 60° male dovetail joint must be b = 50 mm wide at the edges of the bottom and 12 mm high. It is measured using two 10-mm rollers.
When checked, the micrometer reads 77.42 mm. How wide is the workpiece?
The 60° female guide has a base width A = 64 mm and is 12 mm deep. Rollers are 8 mm in diameter.
6.11 The average diameter of a thread with three strands
The diameter that determines whether a screw threads properly into its nut is not the outer diameter but the mean diameter d₂, where the full and root parts of the thread are of equal width (Chapter 17). This cannot be measured with a standard micrometer. Therefore, three calibrated wires of diameter dw are placed in the threads—two on one side and one on the other—and the measurement is taken across the wires: this is the same principle as that used with rollers, with the threads taking the place of the dovetail flanks.
Examine the M20 × 2.5 screw from Example 26.13. What thread type is used, what is the dimension of the pitch, and what is the average diameter of a screw that measures 20.50 mm along the files?
6.12 The sine bar
The sine bar is a hardened and ground steel bar with two identical rollers mounted beneath it, spaced at a very precise distance L (100 or 200 mm, measured between the axes of the rollers). One roller rests on the reference plane, and a stack of flat, parallel blocks of height H is placed beneath the other: the bar tilts at an angle α, which is determined with the precision of the blocks. It is the hypotenuse of a right triangle, and the opposite leg is H.
To check a cone, place it on the bar and run the dial indicator along the upper generatrix. If the cone is placed directly on the bar with one generatrix, the upper generatrix is inclined by the full angle α relative to the bar; if, on the other hand, it is mounted between the centers with its axis parallel to the bar, the bar is inclined by only α/2. With the correct inclination, the dial indicator reads the same value at both ends of the generatrix; a difference Δ read over a length l indicates an angular error of approximately Δ/l radians.
The cone, with a diameter ranging from Ø40 to Ø30 over a length of 60 mm (α = 9.5273°), rests directly on a 100-mm sine bar. How many blocks are needed?
A Morse 3 chuck, mounted between the centers on the bar, is checked using a 200-mm sine bar. The dial indicator, passed along 50 mm of the generatrix, reads a difference of 0.02 mm between the two ends. What is the angular error?
A 25-mm stack is mounted on a 100-mm bar. What is its angle of inclination?
6.13 The Formulas in This Chapter
| What Are You Looking For? | Formula |
|---|---|
| Taper | C = (D − d) / L |
| Semi-angle of the cone | tan(α/2) = (D − d) / (2 · L) = C / 2 |
| Largest diameter | D = d + C · L = d + 2 · L · tan(α/2) |
| Upper Sled Race | travel = L / cos(α/2) |
| Shifting the Counter-Test | s = (D − d) · Lt / (2 · L) |
| Chamfer with length l and angle φ relative to the axis | h = l · tan φ · Ds = D − 2h (outer) · Ds = d + 2h (holes) |
| Fillet between two lines | T = R / tan(β/2) · VC = R / sin(β/2) |
| Fillet of the line y = 0 and a circle | yC = r · xC = x1 + √((R1 + r)² − (y1 − r)²) |
| Center of the arc (lathe) | I = (Xcenter − XStart) / 2 · K = Zcenter − ZStart |
| Nose Radius Error | e = r · (sin φ + cos φ − 1) · ΔD = 2e / cos φ · ΔZ = e / sin φ |
| Dovetail joints on the rollers | M = b + d · (1 + cot(α/2)) · m = A − d · (1 + cot(α/2)) |
| Three files, 60° metric | M = d2 + 3 · dw − 0,866 · P · dw = 0,577 · P |
| Chest bar | H = L · sin α |
6.14 Exercises
Try to solve them on your own, using a calculator, before looking at the solution.
Solution
C = 8 / 80 = 0.1 = 1:10; tan(α/2) = 8 / 160 = 0.05 → α/2 = 2.8624° = 2°51′45″.
Solution
d = 30 − 45 / 20 = 30 − 2.25 = 27.75 mm; tan(α/2) = 1/40 = 0.025 → α/2 = 1.4321° = 1°25′56″.
Solution
s = (32 − 28) / (2 · 80) · 250 = 0.025 · 250 = 6.25 mm.
Solution
tan(α/2) = 12 / 72 = 0.16667 → α/2 = 9.4623° = 9°27′44″; travel = 36 / cos 9.4623° = 36 / 0.98639 = 36.50 mm.
Solution
h = 1.5 · tan 30° = 0.866 mm; Ds = 24 − 2 · 0.866 = 22.268 mm; side = 1.5 / cos 30° = 1.732 mm. On the lathe: from X22.268 Z0 to X24. Z−1.5.
Solution
h = (18 − 9) / 2 = 4.5 mm along the radius; at 45°, the depth is the same: 4.5 / tan 45° = 4.5 mm.
Solution
T = 6 / tan 30° = 6 / 0.57735 = 10.392 mm; VC = 6 / sin 30° = 12 mm.
Solution
e = 0.4 · (2 · 0.70711 − 1) = 0.166 mm; ΔZ = 0.586 × 0.4 = 0.234 mm; resulting chamfer 1 − 0.234 = 0.766 mm, or approximately 0.77 × 45°.
Solution
M = 40 + 6 × 2.73205 = 40 + 16.392 = 56.392 mm.
Solution
m = 70 − 10 · 2.73205 = 70 − 27.321 = 42.679 mm. With 42.75: A = 42.75 + 27.321 = 70.071 mm, which is 0.07 mm wider.
Solution
d2 = 12 − 0.6495 · 1.75 = 10.863 mm; dw = 0.57735 · 1.75 = 1.010 mm; M = 10.863 + 3 · 1.010 − 0.866 · 1.75 = 10.863 + 3.030 − 1.516 = 12.378 mm.
Solution
H = 200 · sin 12° = 200 · 0.20791 = 41.582 mm; 1.002 + 1.08 + 9.5 + 30 = 41.582 mm ✓.
