Chapter 06

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.

DdLα/2L(D − d)/2C = (D − d) / Ltan(α/2) = (D − d) / (2 · L)the red triangle, enlarged
Figure 6.1 · The conic section and its right triangle: the long leg is L, and the short leg is the difference between the radii, (D − d)/2. The angle at the bottom right is the half-angle α/2.
Taper, inclination, and half-angle
C = D − dL slope = C2 = D − d2 · L tan α2 = D − d2 · L
Conversely: D = d + C · L = d + 2 · L · tan(α/2)
C taper, pure number (also written as 1 : 1/C) · D major diameter in mm · d minor diameter in mm · L length of the tapered section, measured along the axis, in mm · α/2 half-angle of opening, between the generatrix and the axis, in degrees
Example 6.1 · Taper and Angle of a Cone

A cone tapers from Ø40 to Ø30 over a length of 60 mm. Find the taper ratio, slope, and angles.

C = (40 − 30) / 60 = 10 / 60 = 0.1667, or 1:6
slope = 0.1667 / 2 = 0.0833, or 1:12
tan(α/2) = 10 / (2 × 60) = 0.08333 → α/2 = arctan 0.08333 = 4.7636°
in degrees and minutes: 0.7636 × 60 = 45.82′ and 0.82 × 60 = 49″ → α/2 = 4°45′49″
C = 1:6 · α/2 = 4,764° (4°45′49″) · α = 9,527°
Example 6.2 · The Missing Diameter

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?

first cone: d = D − C · L = 32 − 50 / 20 = 32 − 2.5 = 29.5 mm
Second cone: 7°30′ = 7.5° → tan 7.5° = 0.13165
D = 20 + 2 × 25 × 0.13165 = 20 + 6.583 = 26.583 mm
its taper: C = 6.583 / 25 = 0.2633, or approximately 1:3.8
d = 29.5 mm · D = 26.58 mm
🧮
Decimal degrees and sexagesimal degrees. Calculators display angles in decimal degrees (4.7636°), while protractors and lathe slides display them in degrees and minutes (4°45′49″). To convert from one system to the other, multiply the decimal part by 60 once (degrees) and then again (minutes and seconds). Numerical control systems, however, always require point coordinates, not the angle; for this reason, in sections 6.5–6.8, we will calculate coordinates.

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.
ConeTaper (standard)Decimal Cα/2 recalculatedReference diameter (mm)
Morse 01 : 19,2120,052051,4908° = 1°29′27″9,045
Morse 11 : 20,0470,049881,4287° = 1°25′43″12,065
Morse 21 : 20,0200,049951,4307° = 1°25′50″17,780
Morse 31 : 19,9220,050201,4377° = 1°26′16″23,825
Morse 41 : 19,2540,051941,4876° = 1°29′15″31,267
Morse 51 : 19,0020,052631,5073° = 1°30′26″44,399
Morse 61 : 19,1800,052141,4933° = 1°29′36″63,348
Metric1 : 200,051,4321° = 1°25′56″4, 6, 80, 100 ...
Quick catch 7:24 (30, 40, 45, 50)7 : 240,291678,2971° = 8°17′50″31,75 · 44,45 · 57,15 · 69,85
HSK1 : 100,12,8624° = 2°51′45″according to the measurement
Tapered pins1 : 500,020,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.

Example 6.3 · A Morse 3 and a 7:24 cone

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?

Morse 3: difference in diameters = C · L = 80 / 19.922 = 4.016 mm
7:24: d = D − C · L = 44.45 − (7/24) · 60 = 44.45 − 17.5 = 26.95 mm
The Morse taper loses 4 mm in diameter over 80 mm; the 7:24 taper loses 17.5 over 60 mm, because it is nearly six times as open
💡
Why one cone stays in place and the other doesn’t. When a cone is pushed into its seat, the force on the walls is approximately equal to the axial force divided by sin(α/2): at 1.43°, the sine is 0.025, and the force on the walls is 40 times the force used to push it in. At 8.3°, the sine is 0.144, and the force is only 7 times greater: friction is no longer sufficient to hold it in place, and the cone comes loose on its own as soon as the tie rod releases it.

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.

Upper slide
rotation = α2 = arctan D − d2 · L travel = Lcos(α/2)
Travel distance of the slide along the generatrix, in mm: it is slightly longer than L because the slide moves along the hypotenuse of the triangle

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.

upper slide rotated by α/2a) short cone, even internalthe tool must be parallel to the axissLtb) long, slightly inclined cone, between the tips
Figure 6.2 · On the left, the upper slide is rotated by α/2, and the tool tip follows the generatrix. On the right, the counter-head is shifted by s: the workpiece axis (dashed) tilts, and the tool, which moves straight, cuts a cone along the entire length of the workpiece.

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.

Shifting the Counter-Test
s = D − d2 · L · Lt = C · Lt2
s lateral displacement of the counterplate in mm · D, d, L as above · Lt Total length of the workpiece between centers, in mm. If the cone occupies the entire workpiece (L = Lt) we have s = (D − d)/2. The formula is an approximation, but for small angles—the only ones calculated this way—the error is negligible.
Example 6.4 · How much does the sled rotate?

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?

tan(α/2) = (36 − 30) / (2 · 24) = 6 / 48 = 0.125
α/2 = arctan 0.125 = 7.1250° = 7°07′30″
travel = 24 / cos 7.125° = 24 / 0.99228 = 24.19 mm
Slide rotated by 7°07′30″ (essentially 7°7′ on the scale), travel of approximately 24.2 mm
Example 6.5 · How much does the counter-face shift?

A shaft that is 300 mm long between the tips has a tapered section measuring 120 mm, tapering from Ø36 to Ø30.

s = (36 − 30) / (2 × 120) × 300 = 6 / 240 × 300 = 0.025 × 300 = 7.5 mm
the angle of the cone: α/2 = arctan 0.025 = 1.432°, small: the method is suitable
s = 7.5 mm; the smaller diameter is on the side toward which the counter-head moves, that is, toward the tool
✅
Check with a dial indicator. The scale on the upper slide has a maximum resolution of one-quarter of a degree, and on a Morse taper, an error of just a few prime numbers is enough to cause the tool to wobble in its seat. In the workshop, make an initial pass, measure the workpiece with the dial indicator over a known length (or test it in the seat using Prussian blue), and correct the rotation. Checking angles with a sine bar and dial indicator is covered in section 6.12 and chapter 33.

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.

toat45°chamfer at × 45°30°lhchamfer l × 30° (angle relative to the axis)ad/2bushing cross-section45° chamfer on the hole
Figure 6.3 · On the left, a 45° chamfer: equal legs. In the center, a 30° chamfer along the axis: the height h is shorter than the length l. On the right, a chamfer at the entrance to a hole, shown in cross-section.
Chamfer with axial length l and angle φ relative to the axis
h = l · tan φ side = lcos φ Ds = D − 2 · h (outer) · Ds = d + 2 · h (holes)
l length of the chamfer measured along the axis, in mm · φ angle between the chamfer and the axis · h Height of the chamfer on the radius, in mm · side length of the beveled surface · Ds diameter where the chamfer meets the face · D shaft diameter · d hole diameter. At 45°, tan φ = 1 and h = l.
Example 6.6 · 45° and 30° chamfers on a Ø40 shaft

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).

2 × 45°: h = 2 → Ds = 40 − 2 · 2 = 36 → from X36 Z0 to X40 Z−2
3 × 30°: h = 3 · tan 30° = 3 · 0.57735 = 1.732 mm
Ds = 40 − 2 · 1.732 = 36.536 → from X36.536 Z0 to X40 Z−3
chamfered side = 3 / cos 30° = 3 / 0.86603 = 3.464 mm

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:

h = 3 · tan 60° = 3 · 1.73205 = 5.196 mm → Ds = 40 − 10.392 = 29.608 mm
X36 Z0 → X40 Z−2 · X36.536 Z0 → X40 Z−3 (with the angle from the face being X29.608: a completely different workpiece)
Example 6.7 · Chamfering and Countersinking a Hole

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?

1.5 × 45° chamfer: Ds = 20 + 2 × 1.5 = 23 mm → on the lathe from X23 Z0 to X20 Z−1.5
90° counterbore: each side is at a 45° angle to the axis; height above the radius h = (24 − 20) / 2 = 2 mm
depth = h / tan 45° = 2 / 1 = 2 mm
120° counterbore: flanks at 60° from the axis → depth = 2 / tan 60° = 2 / 1.73205 = 1.155 mm
Chamfer up to Ø23; countersink to Ø24, 2 mm deep at 90°, 1.155 mm deep at 120°
📐
The tool angle is the opening angle. A “90°” countersink has a 90° angle between the two opposite cutting edges, that is, a 45° angle between the cutting edge and the axis: half of this angle is used in the formulas, as with cones. The same applies to a 118° or 140° twist drill (Chapter 28): the depth of its conical tip is (D/2) / tan(59°) or (D/2) / tan(70°).

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.

βVT₁T₂CRTT = R / tan(β/2)VC = R / sin(β/2)The center C lies on the angle bisector
Figure 6.4 · A fillet between two lines that intersect at V at an angle β (here, 60°). T₁ and T₂ are both T units away from the vertex; the center C lies on the angle bisector, at a distance of VC from the vertex. The edge removed by the fillet is shown as a dashed line.
Curve with radius R connecting two lines
T = R tan(β/2) VC = R sin(β/2) if the lines are at 90°: T = R
β: the angle between the two lines, on the side of the fillet · R: the radius of the fillet in mm · T: the distance from each point of tangency to the vertex, along the line, in mm · VC: the distance between the vertex and the center, in mm. To find the coordinates, start at the vertex and move a distance of T along each line.
Example 6.8 · R4 fillet between a 30° cone and a cylinder

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).

The angle between the cone and the cylinder, on the side of the fillet, is β = 180° − 30° = 150° → β/2 = 75°
T = 4 / tan 75° = 4 / 3.7321 = 1.0718 mm · VC = 4 / sin 75° = 4 / 0.96593 = 4.1411 mm
T₂ on the cylinder: 1.0718 mm toward the spindle → Z = −30 − 1.0718 = −31.072; X40
T₁ on the cone: You move 1.0718 along the cone, to the right and downward
ΔZ = 1.0718 · cos 30° = 0.928 → Z = −30 + 0.928 = −29.072
Δradius = 1.0718 · sin 30° = 0.536 → radius = 20 − 0.536 = 19.464 → X = 38.928
center: below T₂ of R, on radius 20 − 4 = 16 → X32 Z−31.072
T₁ = X38.928 Z−29.072 · T₂ = X40 Z−31.072 · center X32 Z−31.072

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.

Example 6.9 · Edge of a plate with fillets R10

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.

β = 120° → β/2 = 60° → T = 10 / tan 60° = 10 / 1.73205 = 5.774 mm
T₁ at the bottom edge: X = 80 − 5.774 = 74.226; Y = 0
T₂ on the inclined edge: X = 80 + 5.774 · cos 60° = 82.887; Y = 5.774 · sin 60° = 5.000
center: above T₁ of R → (74.226; 10); check VC = 10 / sin 60° = 11.547 and √(5.774² + 10²) = 11.547 ✓
G01 X74.226 Y0, then G03 X82.887 Y5. R10. (or I0 J10.)

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.

R₁ = 20r = 8C₁ (0; 30)CT₁ (17,321; 0)T₂ (12.372; 14.286)28line y = 0OC is r units away from the lineand R₁ + r from the center C₁
Figure 6.5 · A hub with a radius of 20, centered 30 mm above the edge of the plate, connected to the edge by a fillet of radius r = 8 on both sides. To scale. The red dashed line connects the two centers: it is R₁ + r = 28 long and passes through the point of tangency T₂.
Fillet between the line y = 0 and the circle with center (x₁; y₁)
yC = r xC = x1 + √((R1 + r)² − (y1 − r)²)
Tangent to the line: T₁ = (xC; 0) to the circle: T₂ = C₁ + R1R1 + r · (C − C₁)
r: radius of the fillet · R1: radius of the circle · x1, y1: center of the circle · xC, yC: center of the fillet · all in mm. Point T₂ lies on the line connecting the two centers, at a distance R₁ from C₁: take the vector C − C₁ and shorten it by the ratio R₁ / (R₁ + r).
Example 6.10 · The hub with fillets on it that connect to the plate

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.

center of the junction at dimension y = 8; distance from C₁ = 20 + 8 = 28
difference in elevation between the centers = 30 − 8 = 22 → xC = √(28² − 22²) = √(784 − 484) = √300 = 17.321
T₁ = (17.321; 0), below the center
C − C₁ = (17.321; −22) → 20/28 = 0.71429 → (12.372; −15.714)
T₂ = (0 + 12,372; 30 − 15,714) = (12,372; 14,286)
Verification: Distance of T₂ from C = √((17.321 − 12.372)² + (8 − 14.286)²) = √(24.49 + 39.51) = 8.000 ✓
Center (17,321; 8) · T₁ (17,321; 0) · T₂ (12,372; 14,286)

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.

12345678910R4R330° coneZ0Ø54Ø40Ø20
Figure 6.6 · The pin, to scale, showing the ten points of the finishing profile. The two fillets are shown in red; the sharp edge of the cone—which is removed by fillet R4—is shown as a hatched line. The black dots represent the centers of the arcs.
Example 6.11 · The Pivot Point Table

Only points that cannot be directly read from the drawing are calculated.

Point 1, start of chamfer: radius 10 − 1 = 9 → X18 Z0 · Point 2, end of chamfer: X20 Z−1
Point 3, base of the cone: the cone rises by (40 − 20)/2 = 10 mm along the radius; in length: 10 / tan 30° = 10 / 0.57735 = 17.321 mm
Z3 = −30 + 17,321 = −12,679 → X20 Z−12,679
Points 4 and 5: points of tangency of fillet R4, already found in Example 6.8 → X38.928, Z−29.072 and X40, Z−31.072
Point 6, start of fillet R3: The angle between the cylinder and the shoulder is 90°, and T = R = 3 → X40 Z−(45 − 3) = X40 Z−42
Point 7, end of R3 fillet: radius 20 + 3 = 23 → X46 Z−45
Points 8 and 9: 1 × 45° chamfer on the shoulder → X52 Z−45 and X54 Z−46 · Point 10: X54 Z−55
PeriodX (diameter)ZWhat is it?
1180chamfered edge
220−1chamfered end
320−12,679start of cone
438,928−29,072end of cone, start of R4
540−31,072end of R4
640−42Start of R3
746−45end of R3
852−45chamfered edge
954−46chamfered end
1054−55end of profile
Ten points; center of R4 at X32 Z−31.072, center of R3 at X46 Z−42

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° ✓.

✅
How many decimal places? The coordinates are rounded to the thousandth (three decimal places), which is the resolution of standard checks. But the calculations are performed using all the digits; only the result that goes into the program is rounded. If you round halfway, for example using tan 30° = 0.58, point 3 would end up at Z−12.759: an error of eight hundredths on a cone that might have a tolerance of one hundredth.

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 as CR=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.
Center parameters (lathe, X to diameter)
I = Xcenter − XStart2 K = Zcenter − ZStart
X proportional to the diameter, so their difference is divided by 2 · Z Dimensions along the axis · all in mm. On the milling machine: I = Xcenter − XStart e J = Ycenter − YStart.
Example 6.12 · The Pin Finishing Program

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).

Arc 4 → 5 (R4, round one edge): G03; center X32 Z−31.072
I = (32 − 38,928) / 2 = −3,464 · K = −31,072 − (−29,072) = −2
Arc 6 → 7 (R3, internal angle): G02; center X46 Z−42
I = (46 − 40) / 2 = 3 · K = −42 − (−42) = 0
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.

⚠️
The control checks the arc. Using I and K, the control calculates the radius from the starting point and the ending point; if the two distances differ by more than a small tolerance, it triggers an alarm (on Fanuc, code 020: radius out of tolerance). This is helpful: an error in the tangents is detected before it ruins the workpiece. With R, on the other hand, the arc is always executed, even if the points are incorrect, and the profile comes out distorted.

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.

randP = theoretical tip point,the point that the controller moves to on the profilered: material remaining without G41/G42e = r · (sin φ + cos φ − 1)at 45°: e = 0.414 · rcylinder
Figure 6.7 · The theoretical point P passes over the chamfer as drawn, but the arc of the tip remains e units away: the chamfer becomes smaller, and the red triangle of material remains.

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.

Error without nose radius compensation
e = r · (sin φ + cos φ − 1)
on the diameter: ΔD = 2 · ecos φ along the axis: ΔZ = esin φ a 45°: ΔZ = 0,586 · r
and the distance between the actual surface and the designed surface, perpendicular to the surface, in mm · r nose radius in mm · φ angle between the profile and the axis (0° cylinder, 90° face) · ΔD diameter error · ΔZ displacement along the axis. This applies to a profile that rises toward the spindle, such as a face chamfer or a pin taper: the workpiece remains larger. If the profile descends toward the spindle, the error changes to e = r · (1 + sin φ − cos φ): the tool cuts too much.
Example 6.13 · The chamfer that gets smaller

The 1 × 45° chamfer on the pin is made using a 0.8 mm insert without compensation. What is the result of this chamfer?

e = 0.8 · (0.70711 + 0.70711 − 1) = 0.8 · 0.41421 = 0.331 mm
ΔZ = 0.331 / 0.70711 = 0.469 mm (this is also the displacement along the radius, because at 45° they are equal)
Width of the resulting chamfer = 1 − 0.469 = 0.531 mm
The result is a 0.53 × 45° chamfer instead of a 1 × 45° chamfer: almost half
Example 6.14 · The 30° cone that gets bigger

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?

e = 0.8 · (sin 30° + cos 30° − 1) = 0.8 · (0.5 + 0.86603 − 1) = 0.8 · 0.36603 = 0.293 mm
ΔD = 2 · 0.293 / 0.86603 = 0.676 mm · ΔZ = 0.293 / 0.5 = 0.586 mm
When r = 0.4, the error is proportional to the radius: ΔD = 0.676 / 2 = 0.338 mm
Each diameter of the cone is 0.68 mm larger (0.34 mm when r = 0.4): the workpiece is a reject

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.

🖥️
Try it in CNC Code. Load the program from Example 6.12 into the lathe simulator, then remove G42 and G40 and compare the two workpieces: you can see the remaining material on the cone and the chamfers, while the Ø40 cylinder is the same in both cases.

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.

Mb60°a) male: M dimensions on the rollersmAb) female: dimensions m between the rollersthe flanks are at a 60° angle to the base
Figure 6.8 · On the left, the male, measured above the rollers (M); on the right, the female, measured between the rollers (m). b and A are the widths at the edges of the base, where the rollers rest.
Dimensions on the rollers of a dovetail joint
male: M = b + d · (1 + cot α2) female: m = A − d · (1 + cot α2)
for α = 60°: 1 + cot 30° = 1 + 1.73205 = 2.73205
M: dimension above the male rollers · m: dimension between the female rollers · b: width of the male at the edges · A: width of the female bottom · d: diameter of the rollers · α: angle between the sidewall and the bottom · all in mm. cot = 1/tan. The width at the top is b + 2 · h · cot α for the male and A − 2 · h · cot α for the female opening, where h is the height of the tail.
Example 6.15 · The male on the 10-roll set

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.

M = 50 + 10 · 2.73205 = 50 + 27.321 = 77.321 mm
width at the top = 50 + 2 × 12 × cot 60° = 50 + 2 × 12 × 0.57735 = 63.856 mm
the roller touches the side at (10/2) · cot 30° · sin 60° = 5 · 1.73205 · 0.86603 = 7.5 mm of height, below the 12 on the tail ✓

When checked, the micrometer reads 77.42 mm. How wide is the workpiece?

b = 77.42 − 27.321 = 50.099 mm
M = 77.321 mm; the measured workpiece is 0.10 mm wider than expected and needs to be reworked on the sides
Example 6.16 · The female among the 8-inch rollers

The 60° female guide has a base width A = 64 mm and is 12 mm deep. Rollers are 8 mm in diameter.

m = 64 − 8 × 2.73205 = 64 − 21.856 = 42.144 mm
opening at the top = 64 − 2 · 12 · 0.57735 = 50.144 mm
m = 42.144 mm (dimension to be measured with an internal micrometer or gauge blocks)
💡
Choose the roller. The roller must touch the side at the correct point, below the chamfer or fillet at the top and above the groove or edge at the bottom. It is therefore selected so that the point of contact falls roughly halfway up the height, and the following is noted on the drawing along with the dimension: “M = 77.321 on Ø10 rollers.”

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.

Md₂micrometer anvildw wire
Figure 6.9 · Two wires above and one below, offset by half a pitch, and the micrometer measuring M. The “best” wires touch the flanks exactly at the mean diameter d₂ (red dashed lines).
Three threads on an ISO metric thread (60°)
M = d2 + 3 · dw − 0,866 · P d2 = M − 3 · dw + 0,866 · P
Best thread: dw = P2 · cos 30° = 0.577 · P Nominal mean diameter: d2 = d − 0.6495 · P
M: dimension above the wires · d₂: average diameter · dw: wire diameter · P: pitch · d: nominal diameter · all in mm. This is the 60° case of the general formula M = d₂ + dw · (1 + 1/sin(α/2)) − (P/2) · cot(α/2): with α/2 = 30°, this yields 1 + 1/0.5 = 3 and (1/2) · 1.73205 = 0.866. The formula neglects the helix angle: for metric threads, the error is 1 or 2 micrometers; for trapezoidal threads with a large pitch, it reaches a few hundredths; the correction is explained in Chapter 35.
Example 6.17 · Inspection of an M20 × 2.5 screw

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?

nominal mean diameter: d2 = 20 − 0.6495 · 2.5 = 20 − 1.624 = 18.376 mm
Best file: dw = 0.57735 × 2.5 = 1.443 mm (the file is sold in this exact size)
M = 18.376 + 3 × 1.443 − 0.866 × 2.5 = 18.376 + 4.329 − 2.165 = 20.540 mm
Measured screw diameter: d2 = 20.50 − 4.329 + 2.165 = 18.336 mm
Theoretical M: 20.540 mm; the measured screw has d₂ = 18.336 mm, 0.040 mm below the nominal value: compare this with the thread tolerance (Chapters 17 and 35)
⚠️
Because it’s the best thread. With the best thread, the contact point falls on the average diameter, where the flank is most uniform, and a small error in the thread angle has almost no effect on the measurement. With a thicker or thinner wire, the formula still applies (provided the wire touches the flanks and protrudes from the crest), but the measurement becomes sensitive to errors in the angle.

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.

LαHH = L · sin αblocks under the right rollerblocksabutment surface
Figure 6.10 · The sine bar: L is the distance between the roller axes, H is the height of the block stack, and α is the angle of inclination.
Height of the blocks
H = L · sin α sin α = HL
H: Height of the block stack in mm · L: Distance between the roller axes in mm · α: Angle of inclination of the bar

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.

Example 6.18 · Blocks for the cone in Example 6.1

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?

sin 9.5273° = 0.165517
H = 100 × 0.165517 = 16.552 mm
Calculation starting from the last digit: 1.002 + 1.05 + 4.5 + 10 = 16.552 mm
H = 16.552 mm, with four blocks
Example 6.19 · A Morse 3 between the centers

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?

Mounted between the tips: the bar is tilted by α/2 = 1.4377° (table in Section 6.2)
H = 200 · sin 1.4377° = 200 · 0.025090 = 5.018 mm
error = 0.02 / 50 = 0.0004 rad = 0.0004 × 57.296 = 0.0229° = 1.375′ ≈ 1′22″
Blocks for 5.018 mm; the cone has an error of approximately 1′22″ in semi-angle
Example 6.20 · From Height to Angle

A 25-mm stack is mounted on a 100-mm bar. What is its angle of inclination?

sin α = 25 / 100 = 0.25 → α = arcsin 0.25 = 14.4775°
0,4775 · 60 = 28,65′ e 0,65 · 60 = 39″
α = 14,4775° = 14°28′39″
💡
As far as the sine bar reaches. The sine value changes very little when the angle is large: near 90°, an error of one micrometer on the blocks results in a huge angular error. For this reason, the sine bar is used up to about 45°; beyond that, the workpiece is rotated 90° and the complementary angle is measured. Instruments for measuring angles are covered in Chapter 33.

6.13 The Formulas in This Chapter

What Are You Looking For?Formula
TaperC = (D − d) / L
Semi-angle of the conetan(α/2) = (D − d) / (2 · L) = C / 2
Largest diameterD = d + C · L = d + 2 · L · tan(α/2)
Upper Sled Racetravel = L / cos(α/2)
Shifting the Counter-Tests = (D − d) · Lt / (2 · L)
Chamfer with length l and angle φ relative to the axish = l · tan φ · Ds = D − 2h (outer) · Ds = d + 2h (holes)
Fillet between two linesT = R / tan(β/2) · VC = R / sin(β/2)
Fillet of the line y = 0 and a circleyC = r · xC = x1 + √((R1 + r)² − (y1 − r)²)
Center of the arc (lathe)I = (Xcenter − XStart) / 2 · K = Zcenter − ZStart
Nose Radius Errore = r · (sin φ + cos φ − 1) · ΔD = 2e / cos φ · ΔZ = e / sin φ
Dovetail joints on the rollersM = b + d · (1 + cot(α/2)) · m = A − d · (1 + cot(α/2))
Three files, 60° metricM = d2 + 3 · dw − 0,866 · P · dw = 0,577 · P
Chest barH = L · sin α

6.14 Exercises

Try to solve them on your own, using a calculator, before looking at the solution.

Exercise 1. A cone tapers from Ø50 to Ø42 over a length of 80 mm. Calculate the taper and the half-angle, in decimal degrees and in degrees and minutes.
Solution

C = 8 / 80 = 0.1 = 1:10; tan(α/2) = 8 / 160 = 0.05 → α/2 = 2.8624° = 2°51′45″.

Exercise 2. A 1:20 cone that is 45 mm long has a major diameter of 30 mm. What is the minor diameter? What is its semi-angle?
Solution

d = 30 − 45 / 20 = 30 − 2.25 = 27.75 mm; tan(α/2) = 1/40 = 0.025 → α/2 = 1.4321° = 1°25′56″.

Exercise 3. A workpiece 250 mm long between centers has a tapered section 80 mm long, tapering from Ø32 to Ø28. How far does the tailstock move?
Solution

s = (32 − 28) / (2 · 80) · 250 = 0.025 · 250 = 6.25 mm.

Exercise 4. An internal taper ranges from Ø60 to Ø48 over a distance of 36 mm. By what angle does the upper slide rotate, and how long is the travel?
Solution

tan(α/2) = 12 / 72 = 0.16667 → α/2 = 9.4623° = 9°27′44″; travel = 36 / cos 9.4623° = 36 / 0.98639 = 36.50 mm.

Exercise 5. A 1.5 × 30° chamfer is machined on a shaft with a diameter of Ø24, with the 30° angle measured from the axis. Find the height of the chamfer, the diameter at the face, and the length of the chamfered surface.
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.

Exercise 6. A Ø9 hole must be countersunk with a 90° countersink to Ø18 for a countersunk-head screw. How far does the countersink penetrate, measured from the face?
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.

Exercise 7. Two lines form a 60° angle and are to be connected by line R6. How far from the vertex are the points of tangency? How far is the center from the vertex?
Solution

T = 6 / tan 30° = 6 / 0.57735 = 10.392 mm; VC = 6 / sin 30° = 12 mm.

Exercise 8. A 1 × 45° chamfer is made using an insert with r = 0.4 mm without G42. What is the result?
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°.

Exercise 9. A 60° male dovetail joint with a width b = 40 mm at the edges of the bottom is measured using 6-mm rollers. What dimension of M should be read?
Solution

M = 40 + 6 × 2.73205 = 40 + 16.392 = 56.392 mm.

Exercise 10. A 60° female guide has a base width A = 70 mm. What dimension m is measured between two 10-mm rollers? If the dimension is 42.75 mm, what is the width of the base?
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.

Exercise 11. M12 × 1.75 screw: Calculate the nominal mean diameter, the best thread, and the M dimension based on three threads measuring 1.010 mm.
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.

Exercise 12. Using a 200-mm sine bar, you want to achieve a 12° angle. How tall should the stack of blocks be? Build it using blocks measuring 1.002, 1.08, 9.5, and 30 mm, and verify the total height.
Solution

H = 200 · sin 12° = 200 · 0.20791 = 41.582 mm; 1.002 + 1.08 + 9.5 + 30 = 41.582 mm ✓.