How To Design Parts For CNC Machining - Hubs
How To Design Parts For CNC Machining - Hubs
Don't miss out on our free tools and guides Sign up now
×
Knowledge base
expand_more
There are a few easy steps you can take to optimize your designs for computer numerical control
(CNC) machining. By following design-for-manufacturing (DFM) rules, you can get more out of
CNC machining's broad capabilities. This can be challenging though, as industry-wide specific
standards do not exist.
In this article, we offer a comprehensive guide to the best design practices for CNC machining. To
compile this extensive up-to-date information, we asked for feedback from industry experts and
CNC machining service providers. If you are optimizing for costs, check out this guide to designing
cost-effective parts for CNC.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 1/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Don't miss out on our free tools and guides Sign up now
×
Knowledge base
expand_more
CNC-machined parts have high dimensional accuracy and tight tolerances. CNC is suitable for
both high-volume production and one-off jobs. In fact, CNC machining is currently the most cost-
effective way of producing metal prototypes, even compared to 3D printing
.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 2/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Knowledge base
expand_more
Tool geometry
Most common CNC cutting tools (end mill tools and drills) have a cylindrical shape and a limited
cutting length.
As material is removed from the workpiece, the geometry of the tool is transferred to a machined
part. This means, for example, that the internal corners of a CNC part always have a radius, no
matter how small a cutting tool was used.
Tool access
To remove material, the cutting tool approaches the workpiece directly from above. Features that
cannot be accessed in this way cannot be CNC machined.
There is an exception to this rule: undercuts. There’s a section on undercuts towards the end of this
article.
A good design practice is to align all your model’s features (holes, cavities, vertical walls, etc.) to
one of the six principal directions. However, see this rule as a recommendation and not a
restriction, as
5-axis CNC systems offer advanced workpiece-holding capabilities.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 3/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Tool access is also an issue when machining features with a large depth-to-width ratio. To reach the
Don't miss out on our free tools and guides Sign up now
bottom of a deep cavity, for example, you need tools with extended reach. This means a wider ×
range of motion for the end effector, which increases the machine chatter and lowers the
achievable accuracy.
Knowledge base
expand_more
It will simplify production if you design parts that can be CNC machined with the tool that has the
largest possible diameter and the shortest possible length.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 4/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
End mill tools have a limited cutting length (typically 3–4 times their diameter). Tool deflection,
Don't miss out on our free tools and guides Sign up now
chip evacuation and vibrations become more prominent when cavities have a smaller depth-to- ×
width ratio.
Knowledge base
expand_more
Limiting the depth of the cavity to four times its width ensures good results.
If larger depths are required, consider designing parts with a variable cavity depth.
Deep cavity milling: Cavities with depths greater than six times the tool diameter are considered
deep. A tool diameter-to-cavity depth ratio of up to 30:1 is possible using specialized tooling
(maximum depth: 35 cm with a 1-inch diameter end mill tool).
Internal edges
Using the recommended value for internal corner radii ensures that a suitable diameter tool can be
used and aligns with guidelines for the recommended cavity depth.
Increasing the corner radii slightly above the recommended value (e.g. by 1 mm), allows the tool to
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 5/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
cut following a circular path instead of a 90 angle. This is preferred as it results in a higher quality
Don't miss out on our free tools and guides Sign up now
surface finish. If sharp 90-degree internal corners are required, consider adding a T-bone undercut ×
instead of reducing the corner radius.
Knowledge base
expand_more
Floor radius
End mill tools have a flat or slightly rounded lower cutting edge. Other floor radii can be machined
using ball end tools. It is good design practice to use the recommended values, as it is preferred by
the machinists.
Thin walls
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 6/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Decreasing the wall thickness reduces the stiffness of the material, which increases vibrations
Don't miss out on our free tools and guides Sign up now
during machining and lowers the achievable accuracy. Plastics are prone to warping (due to ×
residual stresses) and softening (due to temperature increase), so a larger minimum wall thickness
is recommended. The feasible values stated above should be examined on a case-by-case basis.
Knowledge base
expand_more
Holes
Diameter
Holes are machined using either a drill bit or an end mill tool. The size of the drill bits is
standardized (in metric and imperial units). Reamers and boring tools are used to finish holes that
require tight tolerances. For high-accuracy holes with a diameter smaller than 20 mm, using a
standard diameter is recommended.
Maximum depth
Holes with a non-standard diameter must be machined with an end mill tool. In this case, the
Don't miss out on our free tools and guides Sign up now
maximum cavity depth restrictions apply and the recommended maximum depth value should be ×
used. Holes deeper than the typical value are machined using specialized drill bits (with a minimum
diameter of 3mm). Blind holes machined with a drill have a conical floor (135-degree angle), while
Knowledge base
expand_more
holes machined with an end mill tool are flat.
There is no particular preference between through holes or blind holes in CNC machining.
Threads
Thread size
Minimum: M2
Recommended: M6 or larger
Threads are cut with taps and external threads with dies. Taps and dies can be used to cut threads
down to M2. CNC threading tools are common and are preferred by machinists, as they limit the
risk of tap breakage. CNC threading tools can be used to cut threads down to M6.
Thread length
The majority of the load applied to a thread is taken by the few first teeth (up to 1.5 times the
Don't miss out on our free tools and guides Sign up now
nominal diameter). Threads longer than 3 times the nominal diameter are thus unnecessary. ×
For threads in blind holes cut with taps (i.e. all threads smaller than M6), add an unthreaded length
Knowledge base
expand_more
equal to 1.5 times the nominal diameter at the bottom of the hole. When a CNC threading tool can
be used (i.e. threads larger than M6), the hole can be threaded throughout its length.
Small features
Most machine shops can accurately machine cavities and holes using tools down to 2.5 mm (0.1
inches) in diameter. Anything below this limit is considered micro-machining. Specialty tools
(micro-drills) and expert knowledge are required to machine such features because the physics of
the cutting process change with this scale. Unless absolutely necessary, the recommendation is
therefore to avoid them.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 9/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Don't miss out on our free tools and guides Sign up now
×
Knowledge base
expand_more
Tolerances
Typical: +-0.1 mm
Feasible: +-0.02 mm
Our tolerances are either 2768 medium or fine. If tolerances are not specified, manufacturing
partners will use the selected 2768 grade.
Tolerances define the boundaries for an acceptable dimension. The achievable tolerances vary
according to the base dimension and the geometry of the part. The values above are reasonable
guidelines.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 10/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Don't miss out on our free tools and guides Sign up now
×
Knowledge base
expand_more
Engraved text is preferred over embossed text, as less material is removed. Using a minimum size of
-20 sans -serif font (e.g. Arial or Verdana) is recommended. Many CNC machines have pre-
programmed routines for these fonts.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 11/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Don't miss out on our free tools and guides Sign up now
×
Knowledge base
expand_more
Tool access is one of the main design limitations in CNC machining. To reach all surfaces of the
model, the workpiece has to be rotated multiple times.
Whenever the workpiece is rotated, the machine has to be recalibrated and a new coordinate
system has to be defined.
The total number of machine setups affects the cost. Rotating and realigning the part requires
manual work and increases total machining time. This is often acceptable if the part needs to be
rotated up to three or four times, but anything above this limit is excessive.
To achieve maximum relative positional accuracy, two features must be machined in the same
setup. This is because the new calibration step introduces a small (but non-negligible) error.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 12/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Five-axis CNC machining allows the tool to remain constantly tangential to the cutting surface. The
Don't miss out on our free tools and guides Sign up now
tool paths can be more intricate and efficient, resulting in parts with better surface finish and lower ×
machining times.
Knowledge base
expand_more
That said, 5-axis CNC has its limitations. Basic tool geometry and tool access limitations still apply
(for example, parts with internal geometries cannot be machined). Moreover, the cost of using such
systems is higher.
There are two main types of undercuts: T-slots and dovetails. Undercuts can be one-sided or
double-sided and are machined using special tools.
T-slot cutting tools are made of a horizontal cutting blade attached to a vertical shaft. The width of
an undercut can vary between 3mm and 40mm. We recommend using standard sizes for the width
(i.e. whole millimeter increments or standard inch fractions), as it is more likely that an appropriate
tool is already available.
For dovetail cutting tools, the angle is the defining feature size. Both 45- and 60-degree dovetail
tools are considered standard. Tools with an angle of 5-, 10- and up to 120-degree (at 10 degree
increments) also exist but are less commonly used.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 13/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Don't miss out on our free tools and guides Sign up now
×
Knowledge base
expand_more
A T-slot (left), a dovetail undercut (middle), and a one-sided undercut on an internal wall (right).
For standard tools, the typical ratio between the cutting diameter and the diameter of the shaft is
2:1, thereby limiting the cutting depth. When a non-standard undercut is required, it is common
practice for machine shops to manufacture their own custom undercut tools. This can add to lead
time and cost, so avoid it if possible.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 14/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Don't miss out on our free tools and guides Sign up now
×
Knowledge base
expand_more
If you add a technical drawing, please make sure it matches the specifications of the files uploaded.
If the technical drawings do not match the files uploaded or the quote specifications:
The quote specifications are considered the point of reference for the technology, material and
surface finishes.
The technical drawings are considered the point of reference for the thread specifications,
tolerance specifications, surface finish details, part marking requests and heat treatment
specifications.
The CAD file is considered the point of reference for the part design, geometry, dimension and
feature locations.
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 15/17
8/9/22, 11:38 AM How to design parts for CNC machining | Hubs
Knowledge base
Add the large expand_more (at least ⅓ times the cavity depth) to all internal vertical corners.
fillets
Align the main features of your design with one of the six principal directions. If that is not
possible, 5-axis CNC machining is an option.
Submit a technical drawing with your drawing if your design includes threads, tolerances,
surface finish specifications or other notes for the machine operator.
Have parts you need CNC machined? Upload your designs and our DFM tool will suggest
optimizations and provide instant pricing.
Knowledge
Read article base
expand_more Read article Read article
Read article
arrow_downward
Show more
https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/ 17/17