CNC Machining: The Complete Engineering Guide
CNC Machining: The Complete Engineering Guide
machining:
machining:
The complete
The Complete
engineering guide
Engineering Guide
Learn all you need to know about CNC machining in 25 minutes or less.
Whether you’re an experienced design engineer or just getting started with
CNC, this guideLearn
is for you.
all
you need to ow
kn about CNC machining in 25 minutes oress.
l Whether
you are anexperienced
design engineer or just getting
tarted with
s CN
C , this guide
foris
you.
1
Table of contents
Part 1
The basics
5. What is CNC machining?
Summary
Scaling up production
Part 2
2
Part 3
Metals
Plastics
Surface finishes
Part 4
Cost reduction
tips 30. Tips to keep your CNC project on budget
Part 5
Start CNC
machining 35. Step 1:
Export your design to a CNC-compatible CAD
file format
36. Step 2:
Prepare a technical drawing
37. Step 3:
Get an instant quote and start manufacturing
Part 6
Useful resources
39. Knowledge base
Learn to machine
Other guides
3
Part 1
The basics
What is CNC machining? What are the different types of CNC
machines? How do they work? In this section, we answer all these
questions and compare CNC machining to other manufacturing
technologies to help you find the best solution for your application.
4
What is CNC machining?
CNC (Computer Numerical Control) machining is a subtractive
manufacturing technology: parts are created by removing material
from a solid block (called the blank or the workpiece) using a
variety of cutting tools.
This is a fundamentally different way of man- Almost every material can be CNC machined.
ufacturing compared to additive (3D printing) The most common examples include metals
or formative (injection molding) technologies. (aluminum and steel alloys, brass etc.) and
The material removal mechanisms have signif- plastics (ABS, Delrin, Nylon etc.). Foam, com-
icant implications on the benefits, limitations posites and wood can also be machined.
and design restrictions of CNC. The basic CNC process can be broken
CNC machining is a digital manufacturing down into 3 steps. The engineer first designs
technology: it produces high-accuracy parts the CAD model of the part. The machinists
with excellent physical properties directly then turn the CAD file into a CNC program
from a CAD file. (G-code) and set up the machine.
Due to the high level of automation, CNC Finally, the CNC system executes all ma-
is price-competitive for both one-off cus- chining operations with little supervision, re-
tom parts and medium-volume productions. moving material and creating the part.
5
A brief history of CNC machining
6
3-axis CNC machines
CNC milling and CNC turning machines are examples of 3-axis CNC sys-
tems. These “basic” machines allow the movement of the cutting tool in 3
linear axes relative to the workpiece (left-right, back-forth and up-down).
CNC milling
3-axis CNC milling machines are very common, as they can be used to
produce most common geometries. They are relatively easy to program
and operate, so start-up machining costs are relatively low.
Tool access can be a design restriction in CNC milling. As there are only
3 axes to work with, certain areas might be impossible to reach. This isn’t
a big issue if the workpiece needs to be rotated just once, but if multiple
rotations are needed the labor and machining costs increase fast.
Pros Cons
• Can produce most parts with simple • Tool access and workholding design restrictions
geometries apply
• High accuracy and tight tolerances • Manual repositioning of the workpiece lowers the
achievable accuracy
7
CNC turning (lathes)
CNC lathes are extensively used, because they can produce parts at a
much higher rate and at a lower cost per unit than CNC mills. This is espe-
cially relevant for larger volumes.
The main design restriction of CNC lathes is that they can only produce
parts with a cylindrical profile (think screws or washers). To overcome this
limitation, features of the part are often CNC milled in a separate machin-
ing step. Alternatively, 5-axis mill-turning CNC centers can be used to
produce the same geometry in one step.
Pros Cons
• Lowest cost per part compared to all other • Can only produce parts with rotational symmetry
CNC machining operations and simple geometries
• Very high production capabilities
8
5-axis CNC machines
> The cutting tool can move along 3 linear and 2 rotation-
al axes relative to the workpiece.
> All 5 axes can move at the same during all machining
operations.
Pros Cons
• Manufactures complex parts at a level of accu- • Highest cost per part of all CNC machines
racy that’s impossible with any other process • Tool access restrictions still apply
• Produces very smooth ‘organic’ surfaces with
minimal machining marks
9
Indexed 5-axis CNC milling
> During machining, the cutting tool can only move along 3
linear axes.
> Between operations, the bed and the toolhead can rotate,
giving access to the workpiece from a different angle.
Indexed 5-axis CNC milling systems are also known as 3+2 CNC milling
machines, since they are using the 2 additional degrees of freedom only
between machining operations to rotate the workpiece.
The key benefit of these systems is they eliminate the need to manually
reposition the workpiece. Meaning parts with more complex geometries
can be manufactured faster and at higher accuracy than in a 3-axis CNC
mill. But they lack the true freeform capabilities of continuous 5-axis CNC
machines.
Pros Cons
• Eliminates the need for manual repositioning • Higher cost than 3-axis CNC machining
• Produces parts with features that don’t align • Can’t produce very accurately contoured surfaces
with one of the main axes at a higher accuracy
Pros Cons
• Lowest cost of all 5-axis CNC machining systems • Tool access restrictions still apply
• High production capabilities and design freedom • Most suitable for parts with a cylindrical outline
10
To summarize
> 3-axis CNC milling machines manufacture parts with relatively simple
geometries with excellent accuracy and at a low cost.
> CNC lathes have the lowest cost per unit, but are only suitable for part
geometries with rotational symmetry.
> Indexed 5-axis CNC milling machines manufacture parts with features
that don’t align with one of the main axes quickly and with very high accu-
racy.
> Continuous 5-axis CNC milling machines manufacture parts with highly
complex, ‘organic’ geometries and smooth contours, but at a high cost.
> Mill-turning CNC centers combine the benefits of CNC turning and
CNC milling into a single system to manufacture complex parts at a lower
cost than other 5-axis CNC systems.
Use the table below for a rough estimate of the cost per hour of the differ-
ent CNC machines. The cost is presented relative to that of a 3-axis CNC
milling machine, which is typically $75 per hour.
11
Benefits and limitations
of CNC machining
Here’s a list of the key strengths and limitations of CNC machining. You can
use it to help you decide whether CNC maching is the right technology for
your application.
Small-to-medium production
The advances of modern CNC systems, CAM software and digital supply
chains have greatly accelerated the production times.
Now CNC machined parts are typically ready for delivery within 5
days. This is comparable to the turnaround of industrial 3D printing pro-
cesses, such as SLS.
12
Highly accurate parts with tight tolerances
CNC machining can create parts with greater dimensional accuracy than
most other common manufacturing technologies. During the final finishing
machining steps, material can be removed from the workpiece very accu-
rately, achieving extremely tight tolerances.
The standard tolerance of any dimension in CNC machining is ± 0.125
mm. Features with tighter tolerances down to ± 0.050 mm can be manu-
factured and even tolerances of ± 0.025 mm are feasible. That’s about a
quarter the width of a human hair!
Space
Aerospace
Aerospace was one of the first industries to use CNC machining. This is
because CNC machining can manufacture lightweight parts with excellent
physical properties and very tight tolerances. CNC machining is used both
for aircraft parts and during the development stages.
For example, Tomas Sinnige is a PhD researcher at the Delft University
of Technology. With his team of researchers, Tomas used CNC machining
to manufacture scaled-down versions of their prototype engine, with the
goal of increasing the efficiency of modern propeller engines.
Automotive
The ability to quickly manufacture custom metal parts with great dimen-
sional accuracy, makes CNC machining an attractive option for producing
functional prototypes. This is essential during later stages of design and
development.
The design team of DAQRI, for instance, used CNC machining to pro-
totype their professional Augmented Reality (AR) hardware. They select-
ed this process as it was the most cost-competitive solution capable of
producing custom metal parts with the required level of detail and at the
small-scale needed for their designs.
14
Electrical and electronic
15
CNC machining vs. 3D printing
Both CNC machining and 3D printing are exceptional tools. However, each
technology has unique benefits, and is more suitable for different situa-
tions. When choosing between CNC machining and 3D printing, there are
a few simple guidelines you can apply to the decision making process.
As a general rule of thumb, parts with relatively simple geometries, that
can be manufactured with limited effort through a subtractive process,
should generally be CNC machined. Especially when it comes to produc-
ing metal parts.
Choosing 3D printing over CNC machining makes sense when you need:
To summarize:
16
Scaling up production
If high volumes are needed (1000s or more) neither CNC machining nor
3D printing are likely to be suitable options.
In these cases, forming technologies, such as investment casting or
injection molding, are more economically viable due to the mechanisms of
economies of scale. For quick reference, use the table below.
In this simplification, it’s assumed that all technologies are able to pro-
duce the geometry of the part in question. When this is not the case, 3D
printing is generally the preferred method of manufacturing.
100 - 1000 CNC machining (consider injection CNC machining (consider investment
molding) casting)
17
Part 2
18
CNC machining design restrictions
The design restrictions in CNC machining are a natural result of the me-
chanics of the cutting process and in particular:
Tool access
Tool geometry
Workholding
Workpiece stiffness
Tool stiffness
Tall features
Tall features are difficult to machine accurately, as they are prone to vi-
brations. Consider the overall geometry of the part: rotating the part by
90° degrees during machining changes the aspect ratio.
Deeper cavities need to be machined with cutting tools with larger diam-
eter affecting the fillets of the internal edges.
Internal edges
For internal vertical edges, the larger the fillet the better. Edges on the
floor of a cavity should be either sharp or have a 0.1 mm or 1 mm radius.
Threads
Small features
Cavities and holes down to 2.5 mm (0.1’’) can be CNC machined with
standard cutting tools. Anything below this limit is considered micro-ma-
chining and must be avoided unless necessary.
Very large CNC machines can produce parts with dimensions up to 2000
x 800 x 1000 mm ( 78’’ x 32’’ x 40’’). 5-axis CNC machining systems typi-
cally have a smaller build volume.
Tolerances
21
Designing undercuts
Undercuts are features that can’t be machined with standard tools, no
matter how the part is rotated, because the cutting tools can’t access all
the surfaces.
If square aluminum extrusions were manufactured with CNC machining,
their grooves would be considered undercuts. Undercuts can be machined
using special T-shaped, V-shaped or lollipop-shaped cutting tools, if de-
signed correctly.
Here are some practical guidelines to help you get started with design-
ing undercuts.
Undercut dimensions
Undercut clearance
For undercuts on internal faces, add enough clearance between the op-
posing walls to ensure tool access.
22
Part 3
23 23
Materials for CNC machining
Selecting the right material is a crucial step in the design process. The
optimal material option is highly dependent on your specific use case and
requirements.
Since almost every material with sufficient hardness can be machined,
CNC offers a very large range of material options to choose from. For
engineering applications, metals and plastics are most relevant and will be
the focus of this section. Surface finishes can also alter the properties of
CNC machined parts which we’ll examine them below.
To get started, take a look at this decision tree. It contains high lev-
el material recommendations that cover the most common design
requirements.
Material Property
24
Metals
CNC machining is primarily used with metals and metal alloys. Metal
can be used for both the manufacturing of custom one-off parts and
prototypes and for low-to-medium batch production. Aluminum 6061 is by
far the most used material in CNC machining.
Aluminum
Stainless steel
Alloy steel
Mild steel
Tool steel
Brass
ABS
Polycarbonate (PC)
Nylon
POM (Delrin)
PEEK
Surface finishes are applied after machining and can change the
appearance, surface roughness, hardness and chemical resistance of the
produced parts. Below is a quick summary of the most common finishes
for CNC.
Powder coating
Powder coating adds a thin layer of strong, wear and corrosion resistant,
protective polymer paint on the surface of a part. It can be applied to
parts of any material and is available in many colors.
Extra cost: $$
Pros Cons
• Strong, wear and corrosion coating for functional applications • Can’t be applied to internal surfaces
• Higher impact resistance than anodizing • Less dimensional control compared to anodizing
• Compatible with all metal materials • Not suitable for small components
As-machined
Pros Cons
• Tightest dimensional tolerances • Visible tool marks
• No added cost (standard finish)
Bead blasting
Extra cost: $
Pros Cons
• Visually pleasing matte or satin finish • Visible tool marks
• Low-cost surface finish
• Available in different levels of coarseness
27
Anodizing (clear or colored)
Extra cost: $$
Pros Cons
• Durable, visually pleasing coating • More brittle than powder coating
• Can be applied to internal cavities • Only compatible with aluminum and titanium
• Can be colored to any Pantone tone
Hardcoat anodizing
Pros Cons
• High wear resistance coating for top-end engineering applications • More brittle than powder coating
• Can be applied to internal cavities • Only compatible with aluminum and titanium
• Good dimensional control
Silk screening
Extra cost: $
Pros Cons
• Low-cost printing of custom text or logos • Can be only applied to external flat surfaces of a part
• Available in many colors
28
Part 4
Learn more about what affects the costs in CNC machining. Use these
3 actionable design tips to cut the price in half and you keep your
project on budget.
29 29
Tips to keep your CNC project
on budget
> Machining time and model complexity: The more complex the geome-
try of a part is, the longer it takes to machine and the more expensive it will
be.
> Start-up costs: These are related to the preparation of a CAD file and the
process. They are significant for smaller volumes, but are fixed. There is an
opportunity to reduce the unit price by taking advantage of economies of
scale.
> Material cost and finishes: The cost of the bulk material and how easily
that material can be machined greatly affects the overall cost.
As a rule of thumb:
Learn 11 more tips to further reduce the cost of your CNC parts →
30
Tip #1: Increase the size of all fillets
or add undercuts to sharp edges
To minimize cost:
> Add a radius that is slightly larger than 1/3 of the depth of the
cavity
> Use the same radius for all edges to save time on tool
changes
31
Tip #2: Minimize the number of
machine orientations
To minimize cost:
> If this is not possible, consider splitting the part into multiple
geometries that can be machined in one setup and assembled
later.
32
Tip #3: Consider the cost of
the material
To minimize cost:
> Select the material with the lowest cost with the properties
that fulfill your design requirements
> Use online instant quoting to get quick feedback on the price
of each material
33
Part 5
With your parts designed and optimized for CNC machining, it’s time
to start thinking about manufacturing. In this section, we walk you
through the 3 simple steps needed to manufacture custom parts with
CNC machining.
34
Step 1: Export your design to a
CNC-compatible CAD file format
The file formats predominantly used in CNC machining are STEP and
IGES. These formats are open source, standardized and can be used
across platforms.
On 3D Hubs, you can also upload files and get an instant quote for file
formats used in your the native CAD software, including SLDPRT, 3DM,
IPT, SAT and X_T.
35
Step 2: Prepare a technical drawing
36
Step 3: Get an instant quote and
start manufacturing
With 3D Hubs, outsourcing parts for CNC machining is easy, fast and
highly price-competitive.
By combining a network of manufacturing services with our smart
sourcing engine, you can instantly access readily available production
capacity for the best possible quotes and lead times.
When you upload your parts to 3D Hubs, our automated Design for
Machinability analysis will detect any potential design issues before pro-
duction begins and will give you an instant quote, based on our machine
learning algorithm.
This way you can be sure that you always receive the best price in the
market at the fastest turnaround times for your CNC machining parts!
37
Part 6
Useful resources
38
Knowledge base
There’s a lot more to learn about CNC machining in our Knowledge Base
- a collection of technical articles on all manufacturing technologies, writ-
ten by manufacturing experts and curated by 3D Hubs.
Learn to machine
Are you looking to get your hands dirty with CNC machining? There are
several ways you can learn how to operate a CNC mill or CNC lathe.
> Visit your local Fab Lab: Many Fablabs and Makerspaces have CNC
milling capabilities and they will run courses on how to opperate them.
Visit the official list of Fab Labs to find one near your area.
> Find resources online: There are a lot of useful resources online to help
you hone your CNC machining skills. The Titans of CNC Academy and
NYCCNC are probably 2 of the best sites to get you started.
Other guides
Want to learn more about the world of digital manufacturing as a whole?
There are more technologies to explore:
Injection molding:
The complete engineering guide
What is 3D printing?
39