CNC Definitive Guide
CNC Definitive Guide
CNC Machining
Explore Process, Part Design, Materials,
and More for Subtractive Manufacturing
Contents
04 Optimizing Part Design for Machining 29 Complex Features
07
Designing for CNC Turning 32 High-volume Machining
14
Understanding Tolerances
17 Mistakes to Avoid
20
Threading Considerations
25 Post-processing Options
Upload a Part!
Get an online quote with design
for machinability analysis today.
Today, we’ve moved well past spools of punched paper tape. In modern digital manufacturing, CNC
machining is part of a digital thread that takes customer-uploaded 3D CAD models and runs them through
a design for manufacturability (DFM) evaluation. Once any issues are fixed in the CAD model, the digital file
is translated into G-code, which tells the machine how to cut away metal or plastic material to define the
desired shape of the model as an actual 3D object.
On some of today’s mills, the machining process can take place on five different axes without removing
and restaging the part in a fixture, making for faster, more accurate output. And hey—don’t forget about
CNC turning, which uses your 3D CAD models to create cylindrical parts. Turning on a high-speed lathe
is basically the same idea as cutting away slivers of wood from a maple log as it spins on its long axis,
ultimately making a baseball bat. It takes time to do it right, but we mill and turn parts 24/7.
This guide offers a comprehensive look at CNC machining, from milling to turning and prototype to
production. It offers design dos and don’ts and lists materials you’ll want know more about to help you
create the best parts.
u Wall heights and feature widths efficiently is a balancing act of automated CNC machining
capabilities and an optimized part designed for those capabilities.
u Live-tool lathes So, there are a handful of important considerations when designing
parts for Protolabs’ milling and turning processes that can accelerate
u Multi-axis milling production time while reducing costs.
1 The
'Hole' Truth
Anyone who has spent more than five minutes in a shop knows what a
Maximum
Thread Depth
drill bit looks like and what it does. For the most part, however, holes
at Protolabs are machined with an endmill, rather than drilled. This
machining method provides great flexibility in terms of the hole sizes
available with a given tool and offers better surface finish than what
you get with a drill. It also allows us to use the same tool for machining
slots and pockets, reducing cycle time and part cost. The only
Minimum / Maximum
downside is that holes much more than six diameters deep become a Modeled Diameter
challenge due to an endmill’s limited length and may require machining
from both sides of the part, which adds production time.
4 Tall Walls
and Tiny Features
upload your part model online at protolabs.com.
Live Tool Lathes: The part above was made with a CNC lathe using live tooling. 3-Axis and 5-Axis Machining: This illustration shows how a part using 5-axis
machining fits within a block of material using the maximum part extents.
As mentioned earlier, our new lathes have milling capability. Drilling a side hole or milling a flat is well within
their means if that feature is parallel or perpendicular to the long axis of the part. Any milled grooves should
be wider than 0.047 in. (1.2mm), but because our lathes are equipped with a Y-axis, we can machine slots or
holes off-center (within reason).
Need your company’s name engraved on the parts? With a lathe, raised text is best, but we can machine
most any lettering if the line width and character spacing measures at least 0.020 in. (0.5mm) across. Small
holes don’t scare us off, nor do threads. In fact, we’ll drill radial holes down to 0.080 in. (2mm) and axial
holes half that size. Likewise, we support a range of internal and external UNC, UNF, and metric threads.
Getting a Turning Quote
Like all machined parts, the process begins with entering your CAD
You’re likely to notice that turned surfaces are smoother and rounder than their milled counterparts.
model into our automated quoting system. Our software will determine
Milled features may have visible tool marks, but we can bead blast these surfaces to give them a matte
the best machining method (milling or turning) for each material. You
finish and knock down any small burrs that remain after the machining process. We’ll talk about finishing
can sometimes override this decision when you configure the quote.
options later in this guide.
Pricing and capabilities vary based on which process you choose.
We’ve found over the years that making round parts out of square or rectangular stock can leave a few When you configure the quote, select the machining process that
things to be desired. Milling away the square corners to get to the round part underneath takes longer than best meets your needs after weighing these factors. If a part does
turning it from bar stock. It also creates more material waste. Turning those parts in a machine designed not qualify to be turned in a particular material, this option will not be
for such work is certain to be a win-win for everyone. To learn more about turning at Protolabs, check our available in the quote for that material. Give it a try!
process and guidelines page or upload your part now to see if it qualifies.
Electrical
A part may need to conduct, insulate, or dissipate static. Comparing Machining Materials
In any of those cases, choosing the right metal or plastic
resin will be critical. Electrical Impact Chemical Wear/Abrasion Temperature Moisture
Metals
Conductivity Resistance Resistance Resistance Resistance Resistance
Mechanical Aluminum X X X X
A part may need to fall anywhere on a continuum from rigid to
Cobalt Chrome X X X X X
flexible. It may require tensile strength, compressive strength,
Inconel X X X X X
or be impact resistant. Some parts may have to resist wear or
Stainless Steel some use 4140 X X X X
provide lubricity to function, as does a bearing.
Steel X X some
Cosmetic Titanium X X X X X
Typically, cosmetics are a secondary consideration, but
they can be essential. Some materials offer transparency or Impact Chemical Wear/Abrasion Moisture
Plastics Temperature Transparency
translucency, and plastics can come in a variety of colors, while Resistance Resistance Resistance Resistance
metals can be colored in finishing. Plus, don’t forget textural ABS X X X some
finishes, which vary from non-slip to high polish. Acetal X X X
Size Delrin X X X X
computer components, cookware, architectural steels can be made (indicated by the alloy’s
components, and more. Here’s a quick first two digits, as in 1018, 4340, or 8620,
"three-place" dimensions and tolerances Depending on the part geometry and material, however, we can often machine. This especially happens on thin-walled and plastic parts.
achieve even greater accuracy, provided you make us aware of your A GD&T flatness tolerance controls this by defining two parallel
shown, avoiding the extra zero in 1.0000
requirements. For these and other exceptions, please be sure to note planes within which a milled surface must lie.
or 0.2500 in. unless there’s an overriding
reason to do so. them on your part design when you upload the file(s) for quoting. u Cylindricity: This focuses on the roundness of a milled hole or
Surface Roughness Considerations for Machining a turned surface. However, using a +/- 0.005 in. (+/- 0.127mm)
Tolerances tolerance, a 0.250 in. (6.35mm) hole could potentially be oblong,
There’s more to part tolerancing than length, width, hole size, etc. measuring 0.245 in. (6.223mm) one way and 0.255 in. (6.477mm)
There’s also surface roughness, which in the standard offering is the other. Using cylindricity—defined as two concentric cylinders
equal to 63 µ in. for flat and perpendicular surfaces, and for curved inside of which the machined hole must lie—we can eliminate this
surfaces, 125 µin. or better. unlikely situation.
This is an adequate finish for most uses, but for cosmetic surfaces u Concentricity: The rings on a bullseye are concentric, just as the
on metal parts, we’re generally able to improve appearance through wheels on your car are concentric to the axle. If a drilled or reamed
light bead blasting. If you need something smoother, note it on your hole must run perfectly true to a coaxial counterbore or circular
design and we'll do our best to accommodate you. boss, your best bet is a concentricity callout.
2 Avoid Tall,
Thin Walls
Wall features in part designs are generally tricky. As we mentioned earlier, cutting tools are
incredibly rugged, but they (and the material) can still deflect during cutting due to the mill’s
rotational forces, resulting in issues such as an undesirable rippled surface and difficulty meeting
part tolerances. Worse yet, walls can chip, bend, or break. Here are some other wall design specs
to keep in mind:
u The taller your wall—our maximum is 2 in. (51mm)—the thicker it may need to be to increase
the rigidity of the material.
u Thin walls of 0.020 in. (0.508mm) or less are subject to breaking during machining and may flex
or warp afterwards.
u Try not to design walls too thick as the cutting tool usually is spinning at 10,000 to 15,000 rpm.
u A good rule of thumb for walls is a width-to-height ratio of 3:1.
u Adding some draft to a wall—an angle of 1, 2, or 3 degrees so that it tapers rather than standing
Avoid Unnecessarily Complex Designs: The design on the right will require
vertical—could make machining it easier and leave less leftover material. significantly less milling time—saving you money.
Internal Threading fits-all kind of scenario. In addition to metric threads, there are three
primary kinds of imperial measure threads that are part of the Unified
1. On-axis: holes that go straight through the center of a turned part,
starting at one end
This is pretty basic, but important. An easy Thread Series.
2. Axial: holes that start at one end of a part, but don’t go perfectly
way to remember this difference is that u UNC (coarse pitch): 20 threads per inch (tpi) through the center
you'll find external threading on screws and u UNF (fine pitch): 28 tpi
bolts—it’s external to the hardware. Internal u UNEF (extra fine pitch): 32 tpi 3. Radial: holes that pierce through the exterior arc of a turned part
threads reside inside the main part. They Note that adding UNEF thread pitch requires our precision machining
accept, and lock in, screw and bolt threads. service, accessible via our quoting system. For example, if you want
to incorporate a #4-40 screw, you know that a #4 screw—which
has a thread diameter of 0.11 in. (2.794mm) has 40 threads per inch,
meaning extra fine pitch.
The good news is that when you use our system to assign a particular
type of screw to a hole, the desired thread pitch comes along for the
ride. Less worries are always good, right?
u it falls within the diameter range for the desired thread and,
We supports right-hand threaded holes on machined parts for UNC and UNF threads ranging from a
#2 and up to 1/2 in. (12.7mm) metric threads are also available, ranging from M2 to M12. Location and
method of manufacturing may limit some threads from becoming eligible. We also offer NPT threads
for aluminum, copper, and brass parts.
In machining internal threaded holes, a hole may be longer than what our threading tools are able to
From Left to Right: Images 1, 2, and 3 depict three methods of approaching maximum thread depths.
reach. In this case, you have a few options depending on your needs:
u With a long through hole that exceeds the maximum reach, select the hole from the side that you
anticipate the screw to be started from (see image 1 in three-panel illustration). If your screw is
required to pass the entire way through the part, you would also have to pass a tap through the hole
(in a secondary process) to complete it.
u You can also select both sides of the feature to be threaded (see image 2 in illustration) but notice
the maximum thread depths as they overlap with each other in the hole. This raises concern with
threading the features from both sides, because you risk cross-threading and a screw may not pass
Know Your Diameters
One important consideration with internal threads has to do with the
all the way through the part cleanly. As long as the threads don't intersect (see image 3), selecting
various diameters involved with creating threads. There are three:
threads from both sides is typically fine.
1. The major (wide) thread
If your designs instruct your manufacturer to mill out a pilot hole that’s the same diameter as the major
(wider) thread, the hardware you use will never fit properly in the hole. Instead, the screw will likely 2. Minor (narrow) thread
spin around endlessly in the hole. Save yourself some trouble: Make sure that any threaded feature’s
3. Diameter of the pilot hole for your threaded feature
pilot hole reflects the minor diameter of your thread. Most CAD programs have built-in wizards to help
with this process.
Just like internal threads, external thread design requires that the thread be removed from the CAD
model for our software to recognize it. Additionally, please model your external threads for milling;
don't model them for turning. After you receive your quote for turning, you will have the ability to
select the appropriate thread size.
Alternatives to Threading
For most metal parts, threading is a great way to achieve a strong bond
between elements of your assembly. But sometimes that’s not enough,
especially with parts made from waeaker materials, such as plastics and
aluminum. That’s where inserts come in handy. Consider incorporating
special coil inserts in plastic parts to ensure longer part life. These
rugged little disks allow you to get strong threading, even on weaker
material. Essentially, you’ll design a hole in the desired location, and you
can add the inserts to your parts later. We will mill out the hole to your
specification and prep it to receive your insert. Protolabs is optimized for
HeliCoil brand inserts and we recognize standard sizes and lengths.
Selecting both internal and external threads on part features is easy in our system. In your
quote’s Thread Assignment tab, you will notice a fully interactive model that allows you to
select which threaded features are available. Each eligible feature is highlighted, and you
can manually select threads.
If a thread you want isn't available, you may need to double-check the diameter of
your features to make sure they are within the guidelines for threading. Note that while
reviewing our threading charts, you can toggle between milled and turned options within
each tab to review the availability of threads for each method of manufacturing. All threads
need to be selected and saved before proceeding with an order. If you change your
manufacturing process or material at any point, please check the Thread Assignment tab
again as selections could change.
Many CAD packages allow you to display threaded features in a few different ways including
tap drill, cosmetic thread, or by the major diameter of the thread. We suggest selecting the
pilot diameter if it is designed at approximately 75% of the thread diameter.
On milled parts that require external threads, you must design the threads on your part as
this would then be in our standard milling procedure that uses ball and flat end mills. As CAD File Formats
stated earlier, this wouldn’t be the preferred method for producing threads as you may be
CAD files should be submitted in a file format other than .STL. We discourage
required to perform a secondary process of chasing a cutting die over the threads to ensure
uploading .STL file formats for machined parts because our software is unable
the parts can be assembled correctly.
to recognize features like pilot holes in that format. You should use a neutral
On turned parts, external threading improves greatly because the part is spinning on center file format such as .IGES or .STEP, if possible.
and a sharp single-lip threading tool can produce a quality thread. The design of an external
turned thread is like that of the internal hole. Remember that you must remove the threads so
our software can digitally view the outside diameter to determine the type of thread needed.
As its name implies, bright nickel is shiny. Depending on the amount of current applied and time spent
in the tank, thickness can range from 0.00005 in. to 0.001 in. (0.0013mm to 0.0254mm). Chances are
good that your old car's bumper is nickel-plated, as are the trim pieces on the dash, and the lighting
fixtures in your house. All are covered under SAE AMS QQ N 290, although other standards apply.
Electroless nickel plating eliminates the need for electrical contact and the subsequent electrical flow
just described. For this reason, it's a favorite for high-volume plating of fasteners, fittings, and other
hardware items. It is also very useful for hard-to-reach interior areas as it plates evenly across the part.
It can be applied to almost any substrate: steel, stainless steel, aluminum, brass, and others. Also, it
has excellent wear resistance compared to electroplated products.
Due to its low cost, tin plating is also quite common. It is a soft, ductile, silvery-white metal that is not
only corrosion-resistant but quite agreeable to soldering, so it is often used in the electronics industry
for computer chassis and other components. Hot dip tin plating is also possible, which together with
its electroplated alternative is described in MIL-T-10727 (MIL is a military specification coating).
Then there are gold and silver-plating options. From an electronics industry perspective, both are
like tin, albeit with higher conductivity, solderability, and corrosion resistance, but with a higher
price to match. And as evident from their use in the jewelry and dinnerware markets, they have an
attractive appearance. These and other metals may require that a “nickel strike” is applied to the
surface before plating to improve adhesion. Nickel plating provides excellent adhesion properties,
so it is often used as an “undercoat” for other coatings.
For this discussion, we'll focus on aluminum anodizing as covered under standard MIL-A-8625,
although anodizing of titanium and other metals is also possible. More on titanium shortly.
1. Chromic Acid anodize (Type I) provides a whisper-thin but still durable coating, typically
between 0.00002 in. and 0.0001 in. (0.00127mm and 0.00254mm) thick. It is gray in
appearance but can be dyed a dull, non-reflective black. It's commonly used as a primer
before painting. Like all anodized surfaces, it is non-conductive.
2. Harder yet is Type II Sulfuric Acid anodizing, also known as decorative anodizing for its
ability to absorb practically any color dye. That said, it offers an exceedingly durable and
attractive finish up to 0.001 in. (0.0254mm) thick. Everything from carabiner hooks and
flashlight handles
to motorcycle parts and hydraulic valve bodies can be Type II anodized.
3. Beyond this is Type III Hard Anodize, or Hardcoat. Its color ranges from dark gray to bronze-
like and is the thickest anodize available, adding as much as 0.003 in. (0.0762mm) to a part
diameter and twice that to threads. Typically, the dimensional impact of most coatings
and platings is fairly minimal, but Hardcoat is just the opposite, something you want to
remember when designing close-tolerance parts.
As mentioned, you can also anodize titanium components. Refer to standard Aerospace Material
Specifications (AMS), especially AMS 2487 and AMS 2488 for additional details. In the medical
industry, titanium medical devices are commonly anodized for color-coding purposes. In
aerospace applications, titanium parts are anodized for increased corrosion resistance.
One quick reminder about the use of military (MIL) and aerospace (AMS) standards for
anodizing and plating. If available, it’s always best to reference these and other applicable
specifications when ordering from us; otherwise, we might be left wondering what kind of
anodizing, etc. you are requesting.
For mission-critical parts, be sure to discuss your application requirements with one of our
applications engineers before proceeding.
This option works by spraying a polymer-based colored powder through a special gun that
charges the individual paint particles as they pass, making them stick to the surface. The powder-
coated part is then placed into a hot oven to cure.
Powder coating is thicker than traditional wet paint and is more durable and fade resistant as
well. It’s also better for the environment—any leftover powder can be reclaimed and reused, and
Grab a Surface Finish Guide
there are no smelly VOCs (volatile organic compounds) to contend with like there is with paint. Get an up-close look at your surface finish
For parts that can’t resist the heat of the curing process, however, or ones that require a thinner options for CNC machining at Protolabs.
coating than powder coat provides, paint is an excellent alternative.
2
As with our milling centers, CNC turning on high-speed lathes can complete many
Deep
complex parts in a single operation. Live tooling and Y-axis capabilities mean it’s Features
possible to turn a bolt, mill the wrench flats, then drill a cross hole for a safety wire.
External grooves on a turned part cannot exceed 0.95 in. (24.1mm) in depth or be narrower than 0.047 in.
More complex examples might include a hydraulic piston with alignment slots on one
(1.2mm). All other slot-like milled features generally read from the same playbook as drilled holes in terms of
end, a fitting with spanner wrench holes on its face, or a shaft with an external keyway.
size, but a good rule of thumb is to keep the depth less than 6x the feature width. Also, be sure to leave at
In some cases, it’s even possible to turn a part that’s more orthogonal than it is round.
least 0.020 in. (0.5mm) wall thickness on the adjacent material. Large flats and other milled surfaces—mill
But that doesn’t mean anything goes—certain machining rules still apply—and not or lathe—depend entirely on the part geometry relative to the available cutter size. Deep ribs and grooves
following them can lead to expensive reworks and project delays. With that in mind, can be challenging though, wherever they’re made. It is possible to cut heat sink-like features on a turned
here are five elements to consider when designing complex parts. or milled part, but this depends on the actual part geometry and available tools. Again, check your DFM
analysis carefully, and don’t be afraid to try our software, or contact an applications engineer.
4 Texting
Can Be Costly
Complex aerospace and medical parts often require permanent marking of part numbers
and company names. Recessed text may look nice, but it’s also a very time-consuming
machining operation and is downright prohibitive as production quantities rise. It’s better to
electrochemically etch or laser-mark parts, but if you must have engraved text, keep it short with
simple, clean fonts. For soft metals and plastic, we recommend Arial Rounded MT font 14 point
0.3mm deep, and for hard metals opt for Arial Rounded MT font 22 point 0.3mm deep.
5 Radii:
Watch the Corners
One common mistake on any machined part is the call out of sharp internal corners. For example,
the turning tools typically used for finishing at Protolabs have a 0.016 in. (0.032mm) nose radius,
so any mating parts should be designed with this in mind. Milling cutters go down to 0.040 in.
(1mm), which means any pockets will contain internal corner radii a little more than half that.
That’s pretty sharp but remember that milling with a tool that small takes a long time, and will
be limited to a pocket no more than 0.375 in. (9.52mm) deep. Instead, relieve internal corners or
allow for as large an internal radius as possible on mating part designs.
Production machining also helps ensure part quality with FAI reporting, Certificate of Compliance
(CoC) documentation, and certifications such as ISO 9001 and AS9100.
Production machining doesn’t offer the same economies of scale as molding or casting
processes—especially at high-volume levels (think tens of thousands or millions). However, as
machined production volume increases, cost per part goes down (think low-volume runs of
dozens to a few thousand). Production machining also solves warehousing and inventory issues,
providing you with supply chain flexibility by producing parts on-demand. In many cases, our
customers find our machining service now allows them to use a single-source supplier from
concept validation to short-run production.
Related to flexible quantities, leveraging machining eliminates the high initial costs of mold or die
production. Once the toolpath has been developed, you can order machined parts in lots as small
as 15 pieces. On the other hand, if your ultimate production volume will be high enough to justify
molding or casting, you can use machining for bridge production and take your product to market
Our massive machining capacity, which mills or turns parts in as fast as a day for rapid prototyping, can also be
used for low-volume, end-use part production. while you wait for production molds or dies to be made.
The overall speed advantage of machining versus injection molding at modest production
volumes increases as parts increase in size. Also, machining plastic eliminates sink, warp, and knit
lines you find in molded parts, and machined parts don’t require draft.
In some cases, engineers might consider 3D printing for these production volumes, but machined
parts are cut from solid billet, which gives them several advantages over 3D-printed parts.
Because they aren’t layered, machined parts may have better physical integrity than printed parts.
They can be cut from materials that cannot be used by 3D printers, and they can be machined to
smoother finishes than printed parts.
Our earlier chapter on materials for machining provides a rundown of the materials we offer.
While machining can begin turning out parts immediately, die casting requires the production of
hardened steel tooling, which is a slow and costly process.
There are more metals that can be machined than can be die cast. And die casting leaves a rough
surface like that found on cast iron cookware. Such surfaces can be smoothed by machining, but
this is a time-consuming secondary process.
Die casting also does not produce as solid a finished product as the billet stock used in machining.
Die cast metal can be porous, brittle, and subject to elongation. For these reasons, machining
may still be preferable to casting even when casting has a cost advantage.
As mentioned before, our earlier chapter on materials for machining provides a rundown of the
materials we offer.
P 877-479-3680
F 763-479-2679
E customerservice@protolabs.com