How to Design Parts for CNC Machining
This guide is for design engineers and buyers who need a part that machines cleanly the first time. It covers the geometry rules, tolerance choices and fixturing constraints that decide cost and lead time. Read it before you release the drawing.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Key takeaways
Why design parts for CNC machining starts with the cutter
A CNC mill removes material with a round tool. That single fact drives most of the rules in this article. Sharp internal corners cannot be cut by a rotating end mill, because the tool has a radius. If your model shows a square internal corner, the shop has to add a corner relief, change the tool, or run a secondary EDM operation. All three add cost.
The practical approach is to model the corner radius you are willing to accept. For a pocket 20 mm deep in aluminium, a 3 mm corner radius is normal and cheap. A 1 mm radius needs a smaller, less rigid tool, so the shop must slow the feed rate and take lighter passes. The cut still works, it just takes longer.
The same logic applies to the floor of a pocket. A flat-bottom end mill leaves a sharp internal edge at the wall-floor junction, which is fine. A ball nose tool leaves a scalloped floor, which may need a finishing pass if the surface is functional. Decide which faces are sealing surfaces and which are just clearance.
One more cutter constraint: tool length. A pocket 5× deeper than its width needs a long, slender tool that deflects under load. Keep depth-to-diameter ratios at or below 4:1 for aluminium and 3:1 for stainless steel where you can. If the geometry demands more, expect the shop to use a reduced feed rate or a smaller stepover.
- 1Internal corner radiusMatch it to a standard end mill: 1, 2, 3, 4, 6 or 8 mm.
- 2Pocket depthKeep depth under 4× the tool diameter for aluminium.
- 3Floor finishFlat floors machine faster than contoured ones.
How to design parts for CNC machining with sane tolerances
Tolerance is the single biggest cost lever in a machined part. General tolerances of ±0.1 mm are easy to hold on most features. Tightening a feature to ±0.01 mm means the operator must check it, the machine must be thermally stable, and the inspection report must prove it. That work is real, and it shows up in the quote.
Map each tolerance to a function. A bearing bore that locates a shaft needs a tight fit, often ±0.005 mm or an H7 reamed hole. A cover plate that only keeps chips out can sit at ±0.2 mm with no consequence. When every dimension on the drawing carries the same tight tolerance, the shop has to treat the whole part as critical.
Watch for tolerance stack-up across a chain of features. If three dimensions each carry ±0.05 mm and they add up to a critical gap, the accumulated error can reach ±0.15 mm. Sometimes it is cheaper to tighten one datum and loosen the rest than to tighten all three.
Surface finish follows the same pattern. As-machined faces run Ra 1.6–3.2 μm and need no extra operation. A sealing face at Ra 0.8–1.6 μm takes a finishing pass. Below Ra 0.8 μm, the shop may need to polish or lap, which is a separate step and a separate cost line.
- 1General features±0.1 mm covers most non-critical dimensions.
- 2Mating bores±0.005 mm or an H7 fit for locating features.
- 3Cosmetic facesRa 1.6–3.2 μm as machined, no extra pass.
Wall thickness, ribs and features that survive cutting force
Cutting force pushes the workpiece around. Thin walls have little stiffness, so they spring away from the tool and then snap back, leaving a tapered or chattered surface. In aluminium, keep unsupported walls at 0.8 mm or thicker. In stainless and titanium, go to 1.5 mm or more, because those materials cut with higher forces.
If a design needs a thin wall for weight, add a rib or a temporary boss that the shop can machine away later. A 2 mm rib standing 10 mm tall adds stiffness without adding much mass. Tell the shop which features are temporary, or they may leave them in.
Holes have their own rules. A drilled hole is normally 1× diameter deep per peck, and standard drills reach about 5× diameter before the shop switches to a parabolic or gun drill. A hole 10× diameter deep in stainless steel is a special operation, not a routine one. Spot-face the entry if the hole must sit on a curved surface.
Blind holes need a drill point at the bottom. A flat-bottom hole requires an end mill, which costs more. If the hole is for a thread, allow the tap to run past the thread length. Add 3–5 mm of clearance at the bottom so the tap does not bottom out and break.
- 1Aluminium walls0.8 mm minimum unsupported.
- 2Steel and titanium walls1.5 mm minimum unsupported.
- 3Standard drill depthUp to 5× diameter before special tooling.
- 4Threaded blind holesAdd 3–5 mm of run-out below the thread.
Fixturing, datums and design parts for CNC machining that hold still
A part must be held while it is cut. How you hold it depends on the shape you designed. A block with flat faces and parallel sides is easy to clamp in a vise. A thin curved shell with no flat surface needs a custom soft jaw or a vacuum fixture, and that fixture is a cost item.
Add clamping features when the geometry is awkward. Two small tabs on the outside of a housing let the shop bolt the part to a plate, machine the whole profile, then cut the tabs off in a final pass. The tabs cost a few minutes to remove and save the cost of a custom fixture.
Datums matter as much as clamps. Pick three orthogonal faces for your primary, secondary and tertiary datum and call them out on the drawing. If the shop has to guess which face locates the part, two setups will not agree with each other, and the part will fail inspection for reasons that have nothing to do with the machine.
For complex parts, a five-axis center can machine five sides in one setup. That removes the re-clamping error between operations. It is not always the cheapest route for a simple part, but for a part with features on several faces, one setup often wins on total cost.
- 1Simple blocksStandard vise, no fixture cost.
- 2Thin shellsAdd tabs or use a vacuum plate.
- 3Multi-face partsConsider five-axis for one-setup machining.
- 4AlwaysCall out datum A, B and C on the drawing.
Material and finishing choices when you design parts for CNC machining
Material choice sets the baseline for tool life, cycle time and achievable finish. Aluminium 6061 machines fast and takes a good finish, which is why it dominates prototypes and brackets. Stainless 304 is tougher and work-hardens, so the shop must keep the tool moving and avoid dwelling. Titanium Ti-6Al-4V needs slower speeds and more coolant, and it costs more per hour on the machine.
Pick the material for the end use first, then check machinability. A part that must resist corrosion may need 316L even though 6061 would machine faster. A part that sees high temperature may need Inconel, which is slow to cut and should be designed with generous radii and shallow pockets.
Plan the finish before the geometry is frozen. Anodizing adds 5–25 μm per surface depending on the type, which changes the size of a bore or a thread if those features are anodized. Mask critical bores, or cut them undersize so the coating brings them to print. Hardcoat anodizing builds more than clear anodizing, so the allowance is different.
Laser marking has a minimum character height of 1.5 mm. If you need a serial number or a logo on the part, leave a flat area at least that tall for the mark. Marking on a curved or rough surface gives an uneven result and may not read under the scanner.
- 1Prototypes and brackets6061-T6 aluminium is the default.
- 2Corrosion resistance316L stainless, but expect slower cutting.
- 3High temperatureInconel, with generous radii and shallow pockets.
- 4Anodized threadsMask or cut undersize for the coating build.
A step-by-step DFM workflow
Run these steps before you release the drawing.
- 1Step 1: Define the function of each faceList which faces locate, seal, slide or only cover. Mark them on the model. This list decides where tight tolerance and fine finish are allowed to live. Everything else gets a general tolerance of ±0.1 mm.
- 2Step 2: Fix the datum schemeChoose three orthogonal faces for datum A, B and C. They should be faces the shop can reach in the first setup. Note them on the drawing so every later dimension references the same origin.
- 3Step 3: Set corner radii from the tool listPick radii from standard end mills: 1, 2, 3, 4, 6 or 8 mm. Match the smallest radius to the deepest pocket, because a small tool in a deep pocket is the slowest cut on the part.
- 4Step 4: Check wall thickness and depth ratiosKeep aluminium walls at 0.8 mm or more and steel walls at 1.5 mm or more. Keep pocket depth under 4× the tool diameter for aluminium and 3× for stainless. Adjust the geometry, not the feed rate.
- 5Step 5: Review holes and threadsKeep drilled holes at or below 5× diameter. Add 3–5 mm of run-out below blind threads. Spot-face entries on curved surfaces. Use standard metric or UNC thread sizes so the shop does not need a special tap.
- 6Step 6: Choose material and finish togetherSelect the material for the end use, then confirm the finish is compatible. Allow for coating build on anodized features. Leave a flat area at least 1.5 mm tall for laser marking.
- 7Step 7: Send the STEP file for a DFM reviewA DFM check before the drawing is frozen catches most cost drivers. At GreatLight, quotation and free DFM analysis come back within 12 hours, and production can start within 24 hours of approval.
Design limits by feature and material
Use these ranges as a starting point, then confirm with the shop.
| Feature | Aluminium (6061) | Stainless (304/316) | Titanium (Ti-6Al-4V) |
|---|---|---|---|
| Minimum wall | 0.8 mm | 1.5 mm | 1.5 mm |
| Pocket depth / tool Ø | 4:1 | 3:1 | 3:1 |
| General tolerance | ±0.1 mm | ±0.1 mm | ±0.1 mm |
| Achievable tight tolerance | ±0.005 mm | ±0.005 mm | ±0.005 mm |
| As-machined finish | Ra 1.6–3.2 μm | Ra 1.6–3.2 μm | Ra 1.6–3.2 μm |
| Fine finish option | Ra 0.8–1.6 μm | Ra 0.8–1.6 μm | Ra 0.8–1.6 μm |
| Standard drill depth | 5× Ø | 5× Ø | 5× Ø |
The rule that saves the most money
Loosen every tolerance that does not touch a locating, sealing or sliding surface. Most parts can carry a general ±0.1 mm and a few tight callouts, and that mix machines faster than a drawing where everything is critical.
Frequently asked questions
What is the most common mistake when you design parts for CNC machining?
Sharp internal corners on a pocket floor, with no radius called out. The shop then has to choose a radius for you, and it may not match the mating part.
The second most common is a drawing where every dimension carries the same tight tolerance, which forces the shop to treat the whole part as critical.
How tight a tolerance can a shop hold on a machined part?
On a stable setup with temperature control, ±0.005 mm (±0.0002 in) is achievable on critical features. GreatLight works to that level on locating bores and similar features.
That figure applies to the features that need it, not to the whole part. Applying it everywhere raises cost without improving function.
Can a machine shop help optimize a part design?
Yes. Send the STEP file before the drawing is frozen and ask for a DFM review. The shop can point out deep pockets, thin walls, awkward clamping and unnecessary tolerances.
At GreatLight, quotation and free DFM analysis come back within 12 hours, so the review happens before tooling and material are committed.
How does material choice change the design rules?
Harder materials cut with higher forces, so walls must be thicker and depth-to-diameter ratios smaller. Aluminium allows a 0.8 mm wall and a 4:1 pocket, while stainless and titanium need about 1.5 mm and 3:1.
Material also sets the baseline finish and the cycle time, so it affects cost as much as geometry does.
What finishing options are available for machined parts?
Anodizing in clear, color, hardcoat and conductive types; electroless nickel, zinc, silver and gold plating; powder coating and black oxide; bead blasting, tumbling, brushing and polishing; and laser marking.
Plan the finish early, because coating build changes the size of bores and threads if those features are coated.
What is the maximum part size for CNC machining?
GreatLight machines parts up to 4,000 mm in the largest travel. Medium and compact travels cover most brackets and housings.
If your part is larger than that, it usually has to be split into sections and assembled, which changes the tolerance stack across the joint.
Send a model, get a DFM review back
Upload a STEP file and our engineers will flag the features that drive cost before you commit to a drawing.
12-hour quoteDFM included100% inspectionNo MOQ