Chapter 15

CNC Milling

πŸ“– About 20 minutes 🎯 2 checkpoints
0 / 2 steps completed

A. What is a CNC Router/Mill?

CNC mill
A CNC mill uses rotating cutting tools to precisely machine materials

CNC Router

A CNC router uses a high-speed rotating cutting tool to cut and mill sheet materials, similar to a large automated engraving machine. It's typically used to machine softer materials like wood, plastic, and aluminum.

CNC Mill

A CNC mill is more precise and rigid than a router, capable of machining harder metals (such as steel and titanium). Mills can perform more complex 3D machining operations.

Why Do Robotics Teams Use CNC?

Common Machining Operations

B. CNC Design Tips

CNC design tips
CNC design must account for tool radius, workholding, and machine work envelope

Workholding

Parts must be securely clamped before machining. Design considerations include:

Machine Work Envelope

Every CNC machine has a work envelope β€” the maximum part size it can handle. Before designing, find out the work envelope of the CNC machine available to you. A typical small CNC router has a work envelope of about 300mm x 200mm.

Sharp Corners vs. Fillets

Key Concept: CNC cutting tools are round, so internal corners will always have a radius. The radius equals the tool's radius.

If you use a 6mm diameter tool, all internal corners will have at least a 3mm radius. You must account for this in your design, or parts won't assemble correctly.
Sharp corners and tool radius
A round cutting tool cannot produce sharp internal corners β€” design internal corner radii larger than the tool radius

Available Tools

Various CNC endmills
Different types and sizes of endmills β€” know what tools you have available and design your parts accordingly

Different tool diameters determine the minimum feature size you can machine:

βœ…
Checkpoint 1: Do you understand the CNC internal corner radius limitation?

If you use a 4mm diameter tool, what is the minimum internal corner radius? If a square hole requires perfectly sharp corners, can CNC achieve that? What alternatives are there?

C. Exporting from Onshape for CNC

Exporting for CNC
Choose DXF or STEP export format based on machining requirements

Face DXF

Suitable for 2D profile machining (cutting aluminum plates, etc.):

  1. Right-click the machining face of the part
  2. Select Export as DXF
  3. The DXF file contains all contours and hole positions for that face

Sketch DXF

If you need to export specific toolpaths (rather than the part face contour), you can export a sketch directly as DXF:

  1. Right-click the sketch tab
  2. Select Export as DXF

STEP Files

Suitable for CAM software that needs a 3D model (for pocket milling and other 3D operations):

  1. Right-click the part
  2. Select Export
  3. Choose STEP as the format

Common CAM Software

CAM (Computer-Aided Manufacturing) software generates the toolpaths for CNC machining:

When to use DXF vs. STEP?
  • DXF β€” 2D profile machining (cutting, drilling)
  • STEP β€” 3D machining (pocket milling, surface machining) or when you need the full 3D model in CAM
βœ…
Checkpoint 2: Do you know when to use DXF vs. STEP?

If you're cutting an aluminum plate, which format should you export? What about milling a part with pockets?

What You Learned in This Chapter

  • CNC mills machine precision metal parts
  • Internal corners must have fillets (equal to tool radius)
  • Use DXF for 2D, STEP for 3D exports
← Previous: Laser Cutting Next: Drawings & Presentation →