GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

CNC basics for engineers

CNC Machine Work: 7 Steps From CAM File to Finished Part

This page explains how CNC machine work on the shop floor, from the CAM toolpath to the inspected part. It is written for design engineers and buyers who need to judge whether a feature belongs on a 3-axis, 4-axis or 5-axis machine, and what tolerances the process can hold. Read it before you release a drawing.

±0.005 mm toleranceRa 0.8–1.6 μm typical3-axis to 5-axis4,000 mm max size
cnc machine work on a 5-axis machining center
Quick answer

Key takeaways

A CNC machine follows coordinates, not drawingsThe controller reads G-code blocks and moves axes to programmed positions. Accuracy comes from the machine and the setup, not from the code alone.
Axes decide what a single setup can reach3-axis mills cut from one direction. Every extra rotational axis removes a re-fixture, and each re-fixture adds error.
Feeds and speeds set the surface finishChip load, spindle speed and coolant control heat. Heat is what moves a dimension after the cut.
The setup is usually the bottleneckCycle time is often shorter than the time spent finding zero, clamping and checking the first part.
Inspection closes the loopA program is only proven when the first article measures inside the drawing tolerance and the report travels with the parts.
Fundamentals

What CNC Machine Work Actually Does to Metal

CNC machine work is subtractive. A solid block, bar or casting goes in, and a rotating cutter removes material until the shape matches the CAD model. The controller does not see a drawing. It reads G-code: one block per movement, each with a target coordinate, a feed rate and a spindle speed. Everything the operator does is aimed at making those coordinates land on the part, not in the air.

The cutting edge removes metal by shearing it. That shearing generates heat, and heat is the enemy of a tight dimension. A 12 mm carbide end mill in 6061-T6 aluminium running at 8,000 rpm and 2,400 mm/min will pull heat away with the chip when the chip load is right. Drop the feed and the same cutter rubs instead of cuts. The edge dulls, the surface tears, and the dimension drifts.

Accuracy comes from three places: the machine geometry, the fixture, and the tool. A machine that holds ±0.005 mm on a warm spindle will not hold it on a part that moves in the vise. On aluminium we usually plan around Ra 0.8–1.6 μm from a finishing pass, then decide whether a finer Ra 0.2–0.8 μm pass is worth the extra cycle time.

Subtractive work has a boundary. Deep pockets narrower than 4× the tool diameter, sharp internal corners, and features that need a tool to reach under a lip all raise cost or become impossible. If you cannot see the cutter reaching the feature in your head, run a toolpath simulation before you release the drawing.

Machine anatomy

The Parts of a CNC Machine and What Each One Controls

The frame and linear guides set the ceiling on accuracy. Cast iron or polymer concrete absorbs vibration; linear rails keep the axis straight over travel. A machine with 750 × 1,150 × 550 mm of travel behaves differently at the edge of the envelope than at the center, so keep critical tolerances near the middle of the table when you can.

The spindle holds the tool and turns it. Speed range, runout and thermal growth all show up in the part. A spindle that grows 10 μm over an hour will move a bore dimension by the same amount. For finishing runs we let the spindle idle up to temperature first, then touch off the tool.

The tool changer and the tool holders decide how many setups you can chain without stopping. A 24-station magazine lets a job run roughing, drilling, tapping and finishing in one program. Each tool added to the program is one more chance for a length offset to be wrong. Offline tool presetting removes that risk.

The controller reads the program and closes the position loop. Modern controls also handle look-ahead: they slow the feed before a tight corner so the tool does not overshoot. A program written with a constant feed through every corner will cut the corner and scrap a mating face. Adaptive feed control is worth turning on for hard materials.

Axes

How CNC Machine Work Changes With 3, 4 and 5 Axes

A 3-axis mill moves X, Y and Z. The tool always points straight down, so every face you machine must face the spindle. A part with features on five sides needs five setups, and each setup re-introduces the same errors: zeroing, clamping distortion, and chip re-cutting. For flat plates and simple housings, 3-axis is still the fastest and cheapest route.

A 4-axis machine adds one rotary axis, usually A around the X axis. That lets you machine a shaft, a cylinder or a part on four sides without re-fixturing. A Ø400 mm rotary table covers most shaft work we see. The trade-off is that the rotary axis takes table space and adds a rotation error you must calibrate.

A 5-axis machine adds two rotary axes, so the tool can approach from almost any direction. The value is not the extra directions by themselves. It is that you can cut a compound angle, a deep pocket wall or an undercut feature in one setup. Fewer setups means fewer datum shifts, which is where most tolerance stacks come from.

Five axes are not free. Programming takes longer, the post-processor must be correct for that exact machine, and simulation is mandatory. For a part that is flat with a few holes, 5-axis adds cost with no gain. For a turbine blade, an impeller or a medical implant with curved surfaces, it is the only practical route.

Setup choices

Fixtures, Datums and the Mistakes That Move a Dimension

Pick the datum before you pick the fixture. If the drawing locates a bore from a machined face, that face should be the first surface cut and the one you clamp against later. When the datum is a raw casting surface, the tolerance has to absorb the casting variation. Say so on the drawing instead of leaving it to the shop.

Clamping force bends thin parts. A 3 mm aluminium wall will deflect under a vise and spring back after unclamping, so the cut looks correct on the machine and wrong on the bench. Use soft jaws machined to the part profile, lower the clamp pressure, and take a light finishing pass after stress relief if the part is long.

Tool length and diameter offsets are the quiet source of scrap. A single wrong offset moves every feature cut by that tool. Prove the offsets on a scrap block or a test coupon before the first good part. On a 5-axis job, also check the rotary center point; a center that is off by 0.05 mm shows up as a step on a blended surface.

Chip evacuation decides whether the second part matches the first. Aluminium chips that pack into a pocket re-cut and damage the finish. Air blast or through-spindle coolant fixes most of it. In deep pockets, program a peck or a helical entry instead of a straight plunge, and give the chip a path out.

Process window

Feeds, Speeds and Finishing Passes That Hold Tolerance

Start from chip load, not spindle speed. For aluminium with a 10–12 mm carbide end mill, a chip load of 0.05–0.1 mm per tooth is a normal roughing range. Multiply by the tooth count and the rpm to get the feed. If the machine cannot reach that feed, reduce the rpm instead of starving the cutter.

Roughing removes most of the volume and leaves stock for finishing. Leave 0.3–0.5 mm on walls and floors for the finishing pass. That pass should run at a higher surface speed and a smaller chip load so the tool leaves a consistent Ra 0.8–1.6 μm. Then decide whether a separate fine pass at Ra 0.2–0.8 μm is needed for a seal or a bearing seat.

Stainless and titanium behave differently. 316L work-hardens, so a cut that rubs is worse than a cut that is too aggressive. Keep the tool engaged, use a heavier chip load and plenty of coolant, and never let the cutter dwell in the cut. Ti-6Al-4V needs lower surface speed, sharp edges and rigid workholding, and it will show every vibration in the finish.

Measure while the part is still on the machine when the tolerance is tight. A bore that measures Ø20.005 mm at 20 °C may not measure the same after it cools in the inspection room. Note the temperature at inspection on the report, especially for parts with a ±0.005 mm callout.

Step by step

How CNC Machine Work, Step by Step

Seven steps from model to inspected part.

  • 1
    1. Check the model before programmingConfirm the CAD file is watertight and the units are correct. Add a machining allowance if the part is a casting or forging. A model in inches loaded as millimeters will scrap the blank before the first cut.
  • 2
    2. Choose the axis count and the setup countCount the faces that need machining. One or two faces: 3-axis. Four sides of a prismatic part: 4-axis. Compound angles or undercuts: 5-axis. Fewer setups is almost always cheaper than faster cycle time.
  • 3
    3. Build the CAM toolpath and simulate itSelect tool diameters that can reach every pocket corner. Leave 0.3–0.5 mm of stock for finishing. Run full machine simulation, including the holder and the table, to catch crashes before the tool touches metal.
  • 4
    4. Prepare the blank and the fixtureCut stock to size with 1–2 mm of excess on machined faces. Machine soft jaws to the part profile so the clamp grips on a known surface. Mark the datum face so the operator cannot flip the part the wrong way.
  • 5
    5. Set zero, offsets and tool lengthsTouch off X, Y and Z from the datum face. Prove every tool length and diameter offset on a test block. On a 5-axis machine, verify the rotary center point before the first production part.
  • 6
    6. Cut the first article at reduced feedRun the first part at 50–70% of programmed feed and watch the load meter. Check the first critical feature while the part is still clamped. If the dimension is off, adjust the offset, not the program.
  • 7
    7. Inspect, record and releaseMeasure the drawing callouts with calibrated instruments. Record the results, the temperature and the tool used. Only after the first article passes should the program run at full feed without an operator watching every pass.
Choose the right machine

Axis Count vs Part Geometry

Match the feature to the machine before you ask for a quote.

Part featureRecommended setupWhyWatch out for
Flat plate, holes, pockets3-axis, one setupTool reaches every face from aboveDeep pockets under 4× tool Ø
Shaft, cylinder, 4-sided prism4-axis with rotary tableRotary index removes re-fixturingRotary center must be calibrated
Compound angle, blended surface5-axis simultaneousTool normal to surface in one setupPost-processor must match machine
Undercut or internal cavity5-axis or EDMCutter reaches behind the lipLong reach tools deflect
Prototype, one to ten parts3-axis plus hand finishingProgram and setup time dominatesHand work varies part to part
Thin wall under 2 mm3-axis, light finishing passLower clamp pressure is easier to controlSpringback after unclamping
FAQs

CNC Machine Work: Common Questions

How tight a tolerance can CNC machine work hold?

On a well-maintained machine with a rigid setup, we hold ±0.005 mm (±0.0002 in) on critical features. That number assumes the part is measured at a controlled temperature and the datum is a machined surface.

Features far from the datum, thin walls and long tools all loosen that figure. If your drawing needs ±0.005 mm across a 500 mm span, tell us early so we can plan the setup and the inspection method.

Why does my part measure correctly on the machine and wrong in inspection?

Temperature is the usual cause. Aluminium expands roughly 23 μm per meter per degree Celsius. A part that is 100 mm long and 10 °C warmer than the inspection room moves about 0.023 mm.

The second cause is clamping. A part held under vise pressure can read true and spring back after release. Check the dimension after unclamping, and let the part stabilize before the final measurement.

When is 5-axis worth the extra cost?

When the alternative is three or more setups, or when the feature cannot be reached from a straight-down tool. Compound angles, impeller blades, medical implants and deep undercuts are the typical cases.

For a flat bracket with a few drilled holes, 5-axis adds programming and machine time with no benefit. We usually quote both routes when the geometry sits near the line.

What file format should I send?

STEP (.stp) is the safest for 3D geometry, and a 2D PDF drawing should travel with it for tolerances, datums and surface finish callouts. Native SolidWorks, IGES and Parasolid files also work.

Send the drawing even when the model looks complete. Tolerances and datum choices live on the drawing, and a model alone forces us to guess which features are critical.

How fast can CNC machine work start on a new job?

We return a quotation and a free DFM analysis within 12 hours, and production can start within 24 hours after you approve. Standard parts ship in 3–5 days.

That timeline depends on material availability and on how quickly the first article is approved. Materials outside our stocked list, or a drawing change after cutting starts, will push the schedule.

Do you accept small runs and prototypes?

Yes. There is no minimum order quantity, from one prototype to 10,000+ part runs. Prototype work and production work use the same machines and the same inspection process.

For a one-off part, expect the quote to be dominated by programming and setup rather than material. Uploads are confidential, and we sign an NDA on request.

Send a Model, Get a Machining Plan

Upload your STEP file and drawing. You get a quote, a DFM note and a recommended axis setup within 12 hours.

12-hour quoteFree DFM analysisNo minimum order quantity100% inspection before shipment

Follow our shop

More Machining Notes

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC