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.
| Rule | Typical value | Why |
|---|---|---|
| Inside corners of pockets get a radius | radius ≥ 1/3 of the pocket depth | A 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 width | Deeper 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 depth | 4× the diameter is easy, about 10× is typical | Standard drills wander and clog beyond that. Deeper holes need gun drilling or peck cycles. |
| Precision holes | A fit hole (grade 7 or finer) is reamed or bored, not just drilled | A drill holds grades 10 to 13. Use standard reamer sizes where you can. |
| Blind tapped holes | thread 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 bottoms | leave the drill point (a 118° to 135° cone, depending on the drill) unless a flat bottom is functional | A flat bottom needs an extra tool and operation. |
| Fatigue-loaded parts | a radius in inside corners and at the bottom of counterbores | A sharp inside corner is where cracks start. |
| Setups | features that must relate tightly are machinable from one setup | Each re-clamp adds location error. Group tight features on one side, referenced to one datum frame. |
| Stock surfaces | leave surfaces as supplied (plate faces, bar diameters) when function allows | No machining is the cheapest machining. Mark them STOCK on the drawing (see below). |
| Stainless threads | avoid stainless screws in stainless threads, or add inserts or a dry-film lubricant | The two gall and seize. |
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:
- Threads. The model usually shows just the tap-drill hole. The drawing must give the thread, for example
M6x1-6H ↧ 6 MIN FULL THREAD, and the drill depth. - Fits on mating holes and shafts, with their limits.
- Material with its specification and temper or condition, for example
6061-T6 ALUMINUM PLATE PER ASTM B209. - Finish or coating, and whether the dimensions apply before or after it. Anodizing and plating add thickness. Threads and fit bores are usually masked.
- Heat treatment with a hardness range, and which features are finished after it.
- Surface texture: a default for all machined surfaces (often Ra 3.2 µm), plus tighter values on seals, bearing seats and sliding faces.
- Edges: a break-sharp-edges note with a range.
- Stock surfaces: marked STOCK, so their size and finish come from the material specification and nobody machines them.
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
| Tier | Typical values | How it's made | What it costs |
|---|---|---|---|
| General | Size 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 standard | Standard milling and turning | Nothing extra. This should cover most of the part. |
| Tight | typically ±0.025 to 0.05 mm on size; position Ø0.05 to 0.1; flatness 0.01 to 0.025 | Finishing passes, careful fixturing, CMM inspection | More for that feature: extra passes, slower feeds and more inspection |
| Very tight | typically ±0.005 to 0.013 mm (bearing seats and H7/g6-class fits); flatness or runout 0.005 | Reaming, boring, grinding, lapping | Cost 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.

| On the drawing | What it says | Why |
|---|---|---|
| Datum A, flatness 0.05 | The mounting face is the primary datum and is flat within 0.05 | It 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 A | The 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 MMB | The second dowel runs in a slot that stops rotation about B | A 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, C | Clearance holes for M6 socket-head screws | Floating fasteners: the position value comes from the clearance between the screw and the hole. |
2X M6x1-6H ↧ 6 MIN FULL THREAD, position Ø0.3 Ⓟ 5 | Tapped holes for screws from the other part | A 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.6 | A bore for a bearing or spigot | The tightest feature, and the only one that needs boring. |
| Ordinate basic dimensions from B | Every hole is located from the dowel hole | One origin, so no tolerance stacks between holes. |
| Note 1: profile 0.25 to A, B, C all over; untoleranced dimensions basic | The outline, pockets and faces are covered by one default | The 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 anodizing | The coating is accounted for | Anodizing would otherwise close up the fits and threads. |
Common mistakes
- 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.
- 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.
- "See model" for threads. The model shows a plain hole. If the drawing doesn't say
M6x1-6Hand the depth, the shop has to guess, or quote it as a plain hole. - 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.
- 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
- Hubs (Protolabs Network), How to design parts for CNC machining (corner radius, cavity depth, wall thickness, hole depth, thread length, blind-hole floor)
- Hubs, Manufacturing standards (ISO 2768 classes for metals and plastics)
- Protolabs, CNC machining (standard ±0.005 in tolerance, ISO 2768-1 fine with a drawing)
- ISO 2768-1:1989, General tolerances: tolerances for linear and angular dimensions without individual tolerance indications (medium class bands)
- ASME Y14.5-2018, Dimensioning and Tolerancing