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

Get Instant Quote

Design Guide

How to Design CNC Machine Structure for Real Part Tolerances

This guide is for design engineers and machine builders who need to turn a part drawing into machine requirements. It covers axis layout, guideways, spindle choice, thermal control and stiffness budgeting, so you can judge which architecture fits a job and which one will not hold tolerance.

±0.005 mm capability16 five-axis centersDFM in 12 hours3 plants, 7,600 m²
how to design cnc machine
Quick answers

Key takeaways

Stiffness first, then speedA frame that deflects 20 μm under cutting load cannot hold ±0.005 mm no matter how fast the control loop runs.
Match guideway to dutyBox ways for heavy cast iron cuts, linear roller guides for mixed work, linear ball guides for light high-speed motion.
Thermal error is the hidden oneA 1 °C rise across a 1,000 mm steel column moves the tool about 12 μm before any servo error appears.
Spindle interface sets the limitBT30, HSK-A63 and HSK-A100 each cap the tool runout and torque you can use at the cut.
Design around the part, not the catalogWrite the tolerance, surface finish and batch size first, then pick travels, power and control.
Start here

Define the part before you define the machine

Most failed machine designs start with a catalog page, not a part drawing. Before you sketch a frame, write down three numbers: the tightest tolerance on the part, the required surface finish, and the largest feature you must reach in one setup. A bearing housing that needs ±0.005 mm over a 200 mm bore is a different machine from a bracket that only needs ±0.1 mm.

The part also decides axis count. Prismatic parts with features on five faces push you toward a trunnion or a gantry with a rotary table. Shaft-type parts with cross holes point to mill-turn. If your part needs 4,000 mm of travel, the frame size, foundation and thermal mass change completely.

Write the process list next: roughing, semi-finish, finish, and any in-process inspection. Each step adds cutting load and heat. A machine sized only for the finishing pass will chatter during roughing and lose the geometry before the good pass starts.

Only after this list is stable should you open a spindle catalog. This order matters because the part defines the stiffness budget, and the stiffness budget defines every downstream choice.

  • 1
    Tolerance and finishWrite the worst-case value, not the nominal. ±0.005 mm and Ra 0.8–1.6 μm are different design problems.
  • 2
    Part envelopeInclude the fixture, not just the part. Fixtures often add 150–300 mm to each side.
  • 3
    Batch sizeOne prototype and a 10,000-part run need different chip evacuation and tool change strategy.
Structure

Frame and axis layout

The frame is a spring. Every cutting force bends it a little, and that bend shows up at the tool tip. Designers usually target a static stiffness of 50–150 N/μm at the tool for general machining, and higher for hard materials. Cast iron gives good damping but needs a long aging period. Welded steel is faster to build but rings unless it is stress-relieved and filled with polymer concrete.

Axis layout follows the part. A C-frame vertical mill is compact and cheap to build, but the spindle hangs off one side and the overhang grows with travel. A gantry puts the load symmetrically between two columns and scales better past 1,000 mm. A mill-turn layout trades some milling stiffness for the ability to finish a turned surface without a second setup.

Place the heaviest moving mass closest to the ground. Moving a 300 kg spindle head in Z costs more stiffness than moving the table in X. Keep the tool center point inside the triangle formed by the guide blocks whenever the part allows it.

Run a simple check. Apply a 1,000 N simulated cut at the tool tip and look at the displacement in your FEA model. If the frame moves more than 10 μm, the geometry needs deeper ribs or a shorter load path.

  • 1
    C-frameGood to about 750 mm travel. Watch spindle overhang as Z grows.
  • 2
    GantrySymmetric load path. Better for 1,000 mm and above, and for wide plates.
  • 3
    Mill-turnOne setup for turned and milled features. Expect lower milling stiffness.
Motion

Guideways, drives and feedback

Guideway choice is a trade between damping and friction. Box ways have large contact area and absorb vibration, which helps heavy interrupted cuts. Linear roller guides carry high load with low friction and suit mixed work. Linear ball guides are the lightest and fastest but have the least damping.

Ball screws need preload and proper support. A fixed-supported arrangement at both ends handles thermal growth better than a fixed-free one, but costs more. For travels past 1,500 mm, consider a linear motor on the fast axis and a ball screw on the loaded axis.

Feedback decides what the machine can correct. Semi-closed loops read the motor encoder, so screw pitch error and thermal growth stay in the part. Full-closed loops read a glass scale on the slide and remove most of that error. If your tolerance is ±0.005 mm, plan for full-closed feedback on the axes that set the critical dimension.

Do not forget the encoder resolution. A scale with 0.1 μm resolution and a control loop at 1 kHz can hold position well. A 1 μm scale on the same loop will hunt.

  • 1
    Preload the screwLight preload for high speed, medium for general machining. Too much preload adds heat.
  • 2
    Scale placementMount the scale on the slide, as close to the cutting zone as possible.
  • 3
    Cable managementRoute cables so they do not pull on the slide. A stiff cable can add a few μm of error.
Heat

Thermal design and error budgeting

Heat comes from three places: spindle bearings, drive motors and the cutting process itself. A spindle running at 12,000 rpm can add 500 W to 1,500 W of heat into the headstock. If that heat is not managed, the spindle grows downward and cuts deeper over the first hour of the shift.

Use symmetric geometry so heat expands both sides of the frame equally. Add cooling channels around the spindle housing and the ball screw nuts. For high accuracy work, control the coolant and the room air to ±1 °C. A 1 °C change across a 1,000 mm steel column moves the tool about 12 μm.

Build an error budget before you build the machine. List every source: guideway straightness, screw pitch error, thermal growth, servo following error and tool runout. Assign a value to each and sum them. If the total is larger than your part tolerance, the design is not finished.

A useful rule is to keep the sum of non-compensable errors below one third of the part tolerance, leaving room for setup and material variation.

  • 1
    Warm-up cycleRun the spindle 20–30 minutes before critical cuts. This stabilizes growth.
  • 2
    Coolant temperatureHold the chiller set point within ±1 °C of ambient to avoid fogging on the scales.
  • 3
    Error budgetNon-compensable errors should stay under one third of the part tolerance.
Spindle

Spindle, tool interface and control

The spindle sets the ceiling for surface finish and tool life. Key numbers are maximum speed, torque at cutting speed, and runout at the taper. For aluminum, 12,000–15,000 rpm with HSK-A63 is common. For steel and cast iron, 6,000–10,000 rpm with more torque and BT40 or HSK-A100 fits better.

Taper matters. BT and CAT use a steep taper that is cheap but has limited face contact at high speed. HSK uses a hollow taper with face contact, which holds runout tighter as the spindle grows with heat. For five-axis work with long tools, that difference shows up directly in the part.

Bearings decide stiffness and life. Ceramic hybrid bearings run cooler and faster than steel. Angular contact pairs with proper preload hold axial stiffness. Grease lubrication is simple but has a speed limit; oil-air lubrication supports higher speed but needs clean dry air.

On the control side, look for look-ahead, tool center point management for five-axis work, and an open interface for probing. These functions decide how well the machine handles complex geometry, not just how fast it moves.

  • 1
    HSK-A63Good balance for aluminum and light steel work up to about 15,000 rpm.
  • 2
    HSK-A100Higher torque for steel. Heavier tool change, larger head.
  • 3
    Tool center pointEssential for five-axis. Without it, rotary moves shift the tool tip.
Workflow

Step by step: sizing a machine from the part

  • 1
    1. Fix the process listWrite every operation in order: face, rough, semi-finish, finish, drill, tap. Note the tool diameter and the depth of cut for each. This list becomes the load case for the frame.
  • 2
    2. Set the travel envelopeAdd part size, fixture thickness and clearance. A 300 mm part on a 150 mm fixture needs at least 500 mm of X travel. Round up to the next standard size, not down.
  • 3
    3. Estimate cutting forceFor aluminum at 3,000 rpm with a 20 mm end mill, a 2 mm radial cut can produce 500–1,500 N. For steel, expect 1,500–4,000 N. Use the highest value as the design load.
  • 4
    4. Check stiffness at the tool tipModel the frame with that load applied at the tool. Target under 10 μm of deflection for tight work. If it is higher, shorten the load path or add ribs.
  • 5
    5. Pick guideways and drivesMatch the guide type to the duty cycle. Size the ball screw so the critical speed is at least 20% above the rapid speed. Add full-closed scales on critical axes.
  • 6
    6. Size the spindleChoose speed and torque from the material and tool. Verify runout at the taper, usually 2–5 μm for precision work. Pick the cooling method for the duty.
  • 7
    7. Build the thermal planAdd cooling to spindle and screws. Decide the room and coolant temperature band, typically ±1 °C. Write the warm-up routine into the manual.
  • 8
    8. Verify with a test cutCut a test part with the worst-case feature. Measure the critical dimension over the first two hours. If it drifts more than one third of the tolerance, revisit the thermal plan.
Decision table

Machine architecture by part requirement

Use the row that matches the tightest requirement on the part.

Part requirementSuggested layoutGuideway and driveWatch out for
Tolerance ±0.005 mm, small prismatic partC-frame vertical, full-closed scalesLinear roller guides, preloaded screwThermal growth at the spindle nose
Part over 1,000 mm longGantry or double-columnRoller guides, dual driveRack and pinion backlash
Five faces in one setupTrunnion five-axisRoller guides, direct drive rotaryTool center point setup
Shaft with cross holesMill-turnBox ways on the turning axisB-axis clamping stiffness
Aluminum, high speed, light cutsC-frame with HSK-A63Linear ball guides, linear motor optionChatter at long tool overhang
Steel or cast iron, heavy cutsC-frame with box waysBox ways, large ball screwFrame damping and chip evacuation
Prototype, one to 50 partsThree-axis vertical, simple frameLinear ball guides, semi-closedSetup time between operations

Design the machine around the cut, not the catalog

Start with the part tolerance, finish and batch size. Size the frame for the roughing load, add full-closed feedback where it matters, and control heat before you chase speed.

FAQs

Questions engineers ask

How stiff does a CNC frame need to be for ±0.005 mm work?

Aim for tool tip stiffness high enough that a 1,000 N cut deflects the frame by less than about 3 μm. That leaves room for thermal drift, servo error and tool runout inside the ±0.005 mm budget.

In practice, this means a heavy cast iron or polymer concrete base and a short load path from tool to foundation. Long overhangs and thin ribs will not get there.

Do I need full-closed feedback on every axis?

No. Put full-closed scales on the axes that set the critical dimension, usually the one that controls depth or bore size. Other axes can run semi-closed if their positioning error does not show in the part.

If the machine will run unattended for hours, full-closed on all linear axes reduces drift and makes restarts more predictable.

When is a linear motor worth the cost?

Linear motors help when you need high acceleration on a light axis, such as a laser or a fast finishing head. They remove screw wind-up and backlash.

For heavy cutting, a preloaded ball screw usually gives more stiffness per dollar. The motor also needs a cooling plate, because the coil heat goes straight into the slide.

How much does thermal growth affect a normal shift?

A spindle running at 12,000 rpm can grow 20–40 μm over the first hour if it is not cooled. That is several times the part tolerance for precision work.

A 20–30 minute warm-up cycle plus controlled coolant temperature keeps that number small. Without it, the first good part and the hundredth part will not match.

What is the biggest design mistake in small machine builds?

Sizing the frame for the finishing cut only. Roughing loads are two to four times higher, and the frame bends during roughing even if the finish pass looks fine.

The part then comes out with taper or a bowed face that no control compensation can fix. Always design for the worst cutting condition in the process list.

Can I design a machine around a specific part family?

Yes, and it is often the right choice. A machine built around one part family can have a shorter load path, simpler fixturing and tighter thermal control than a general-purpose machine.

The trade is flexibility. If the family changes, the machine may not adapt. Keep at least 20% extra travel and one spare axis direction for future parts.

Need a machine-ready part instead of a machine?

Send your drawings and we will return a quotation and free DFM analysis within 12 hours. Production can start within 24 hours, with 100% inspection before shipment.

12-hour quote100% inspectionNo minimum order quantityNDA on request

Follow

More from the shop floor

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