Guides

Designing and drawing parts for CNC machining

A machined part is only as cheap as its hardest feature. A sharp inside corner, a pocket too deep for a standard cutter, or a ±0.01 on a dimension that does not matter can drive up a quote. A missing thread callout or fit can make the part unusable even when every dimension is in tolerance. This guide covers both halves: how to design a part a machine shop can make easily, and what the drawing has to tell them.

Design rules for machined parts

A milling cutter is round and has a finite reach. Most machining rules follow from those two facts. A third fact is that every time the part is turned over, flipped or re-clamped, location accuracy drops.

RuleTypical valueWhy
Inside corners of pockets get a radiusradius ≥ 1/3 of the pocket depthA round cutter can't cut a sharp inside corner. A deep pocket with a small corner radius needs a long, thin cutter that deflects and chatters. If a mating square part must fit, add corner relief (a dog-bone) instead of asking for a sharp corner.
Pocket depth≤ 4× the pocket widthDeeper pockets need long-reach tools, slow feeds and several passes.
Wall thickness≥ 0.8 mm in metal, ≥ 1.5 mm in plastic (0.5 and 1.0 mm are possible case by case)Thin walls vibrate and spring away from the cutter, so they come out thick, wavy or out of tolerance.
Drilled hole depth4× the diameter is easy, about 10× is typicalStandard drills wander and clog beyond that. Deeper holes need gun drilling or peck cycles.
Precision holesA fit hole (grade 7 or finer) is reamed or bored, not just drilledA drill holds grades 10 to 13. Use standard reamer sizes where you can.
Blind tapped holesthread length 1.5× the diameter recommended, 3× at most; drill deeper than the thread (typically by at least 3 pitches)Thread engagement beyond about 1.5× D adds little strength. The extra drill depth leaves room for the tap's lead and for chips.
Blind hole bottomsleave the drill point (a 118° to 135° cone, depending on the drill) unless a flat bottom is functionalA flat bottom needs an extra tool and operation.
Fatigue-loaded partsa radius in inside corners and at the bottom of counterboresA sharp inside corner is where cracks start.
Setupsfeatures that must relate tightly are machinable from one setupEach re-clamp adds location error. Group tight features on one side, referenced to one datum frame.
Stock surfacesleave surfaces as supplied (plate faces, bar diameters) when function allowsNo machining is the cheapest machining. Mark them STOCK on the drawing (see below).
Stainless threadsavoid stainless screws in stainless threads, or add inserts or a dry-film lubricantThe two gall and seize.
Three pocket corners seen from above. Drawn sharp, the round cutter leaves a radius in the corner. Drawn with a radius, the cutter follows it. With a corner relief at the corner, a square part still fits.
Inside corners: the cutter is round, so a sharp corner comes out with a radius. Draw the radius, or a relief where a square part must fit.
Three drilled holes in section, all the same diameter D. The first is 4 times D deep, labeled easy. The second is about 10 times D deep, labeled the typical limit. The third is deeper still and needs special drills such as gun drills.
Drilled hole depth in diameters. Four diameters is easy; about ten is the usual limit.
Two walls in section with a cutter beside each. A wall thick enough for its height stays straight. A thin, tall wall is pushed away by the cutter and comes out wavy.
Wall thickness against height. A thin, tall wall springs away from the cutter.

More calculators in the Toolbox

What the drawing must say

Datums from function. On a prismatic part, datum A is usually the mounting face, B a locating hole (or an edge), and C a second hole, slot or edge that stops rotation. On a turned part, datum A is the axis of the main functional diameter, or the common axis of two bearing journals. Control every datum feature: flatness on A; B perpendicular to A (at MMC if B takes a slip-fit pin); C located to A and B. See How to choose datums.

One default tolerance for everything else. Either a size-banded ± table in the title block, or a general profile note that puts every surface within a profile zone to the datums. The profile note is clearer to inspect and avoids stacking: "UNLESS OTHERWISE SPECIFIED: ⌓ 0.25 A B C ALL OVER", with the untoleranced dimensions basic. A ± table reads more familiar to some shops.

Tolerances only where function needs them. Hole patterns get position to the datums, with the value worked out from the fastener and clearance (floating fasteners usually Ø0.25 to 0.5 at MMC; tapped holes for fixed fasteners tighter, often with a projected tolerance zone). Mating diameters get a fit (ISO fits explained). Everything else rides on the default.

What the model can't carry. A STEP file has the geometry only:

Standards. ASME Y14.5-2018 for dimensioning and tolerancing, and ASME Y14.100 for drawing practice. Threads follow ASME B1.13M (metric) or B1.1 (inch), metric fits follow ISO 286, and texture follows ASME Y14.36. Name the ones you use in the title block or notes.

Typical tolerances

TierTypical valuesHow it's madeWhat it costs
GeneralSize bands such as ISO 2768-m (±0.1 up to 6 mm, ±0.2 to 30 mm, ±0.3 to 120 mm, ±0.5 to 400 mm; many shops hold the tighter fine class on metals), or profile 0.25 all over. Many shops quote ±0.13 mm (±.005 in) as standardStandard milling and turningNothing extra. This should cover most of the part.
Tighttypically ±0.025 to 0.05 mm on size; position Ø0.05 to 0.1; flatness 0.01 to 0.025Finishing passes, careful fixturing, CMM inspectionMore for that feature: extra passes, slower feeds and more inspection
Very tighttypically ±0.005 to 0.013 mm (bearing seats and H7/g6-class fits); flatness or runout 0.005Reaming, boring, grinding, lappingCost climbs steeply from here: extra operations and temperature-controlled inspection. Below 0.01 mm the gauging itself becomes the problem.

Plastics hold roughly twice the metal values: shops commonly apply ISO 2768 fine to metals and medium to plastics, and large parts need the wider size bands.

Worked example: the bracket plate

The bracket plate from the Rapid Datum demo is a 12 mm 6061-T6 aluminum plate, anodized. It bolts to a machine frame and is located by two dowels.

Sheet 1 of the bracket plate drawing: SECTION A-A across the top, the front view with dimensions and feature control frames, SECTION B-B below it, an isometric view at the upper right, notes and a title block.
Sheet 1 of the bracket plate drawing from the Rapid Datum demo. Open the image for the full size.
On the drawingWhat it saysWhy
Datum A, flatness 0.05The mounting face is the primary datum and is flat within 0.05It seats on the frame first. Its flatness is well inside every tolerance that refers to it.
Datum B: Ø8.025-8.040 (8 E7), perpendicularity Ø0 at MMC to AThe dowel hole locates the plate. E7 clears an m6 dowel at every size in its range. With Ø0 at MMC, the perpendicularity tolerance is exactly how far the hole is above its smallest size, so a hole at 8.025 must be perfectly square.The plate slips over a fixed dowel, so the hole must always clear it, and B is referenced at MMB in the frames below.
Datum C: slot 8.025-8.040 (8 E7), position 0 at MMC to A and B at MMBThe second dowel runs in a slot that stops rotation about BA slot instead of a second hole lets the two dowels clock the plate without binding.
4X Ø6.6 with an Ø11 counterbore, position Ø0.3 at MMC to A, B, CClearance holes for M6 socket-head screwsFloating fasteners: the position value comes from the clearance between the screw and the hole.
2X M6x1-6H ↧ 6 MIN FULL THREAD, position Ø0.3 Ⓟ 5Tapped holes for screws from the other partA fixed fastener: the projected zone controls the tilt over the mating part's thickness.
Ø30.000-30.021 (30 H7) THRU, position Ø0.1, Ra 1.6A bore for a bearing or spigotThe tightest feature, and the only one that needs boring.
Ordinate basic dimensions from BEvery hole is located from the dowel holeOne origin, so no tolerance stacks between holes.
Note 1: profile 0.25 to A, B, C all over; untoleranced dimensions basicThe outline, pockets and faces are covered by one defaultThe tight callouts above are the only places the shop has to work for accuracy.
Anodize note: datum features B and C, the Ø30 bore and the threads are masked; limits and texture apply after anodizingThe coating is accounted forAnodizing would otherwise close up the fits and threads.

Common mistakes

  1. Sharp inside corners on pockets. The cutter leaves a radius anyway. If the drawing shows a sharp corner, the shop has to ask, use EDM, or quote a smaller and slower cutter. Give a radius or a corner relief.
  2. Tight tolerances everywhere. A ±0.01 on every dimension multiplies cost and inspection time, and doesn't make the part work better. Put the precision on fits, datum features and mating locations, and let a general tolerance cover the rest.
  3. "See model" for threads. The model shows a plain hole. If the drawing doesn't say M6x1-6H and the depth, the shop has to guess, or quote it as a plain hole.
  4. Datums from the setup, or no datums at all. Chained ± dimensions from edges stack up, and a datum chosen because it's easy to clamp may not be the face that mates. Choose datums from how the part goes together, and locate features from them.
  5. Forgetting the coating. Anodizing or plating changes the size of holes, fits and threads. Say whether the dimensions apply before or after the coating, and mask threads and fit bores.

Questions

What tolerance can CNC machining hold?

Standard milling and turning hold about ±0.13 mm (±.005 in) without extra cost, and general tolerance tables such as ISO 2768-m use size bands (±0.1 mm up to 6 mm, ±0.2 to 30 mm, ±0.3 to 120 mm). ±0.025 to 0.05 mm is achievable but costs more for that feature. At about ±0.013 mm and below you are into reaming, boring or grinding, and the cost climbs quickly.

Why do machined pockets need a corner radius?

Because the cutter is round. The smallest inside corner is the cutter's radius, and a small cutter in a deep pocket is slow and deflects. Make the corner radius at least a third of the pocket depth, or add a corner relief if a square part has to fit.

Do I need GD&T on a machined part?

On the features that mate, yes: datums from how the part goes together, position on hole patterns, and fits on mating diameters. Everything else can ride on one general tolerance or a general profile note.

What does a machining drawing need that the 3D model does not have?

Threads, fits, material and temper, coating and whether the dimensions apply before or after it, heat treatment, surface finish, edge breaks, and the tolerances themselves. A typical STEP file sent for a quote carries none of them.

Sources

More guides