Home / Articles / CNC machining for robotics

CNC Machining for Robotics: Gearbox Housings, Arm Links and End Effectors

CNC machining for robotics Published 2026-10-11

A six-axis arm that repeats to ±0.02 mm at the tool centre point is not built from six good motors. It is built from housings whose bearing bores stay coaxial, links that do not droop under their own payload, and joints that behave the same way on unit 1 and unit 40. All three properties are set by machined geometry.

Robotics is unforgiving because errors compound along the kinematic chain: 0.03 mm of perpendicularity error at the shoulder becomes 0.3 mm at the wrist over 600 mm of arm.

What a robot component has to do

Robotic hardware must be stiff enough not to deflect under payload and acceleration, light enough not to waste torque accelerating its own mass, and stable enough that the control model matches reality.

Those demands conflict. Adding material increases stiffness and mass together, and changing alloy moves both in nearly the same proportion, which surprises most first-time designers.

The machining consequence is that robot parts tend to be thin-walled, pocketed, and heavily toleranced at interfaces while lightly toleranced everywhere else.

Gearbox and joint housings: bore geometry is the job

A joint housing holds a bearing, a gear stage and a motor, usually in one casting or billet piece with bores on two or more faces. The important characteristics are almost never the outside shape.

CharacteristicTypical calloutWhy it matters
Bearing bore diameterH7, for example Ø40 +0.025/0Sets preload and running clearance
Bore-to-bore centre distance±0.02 mmSets gear mesh centre distance and backlash
Coaxiality of two boresØ0.02 mm over the housing lengthMisalignment loads the bearing and shortens life
Perpendicularity of bore to mounting face0.01 to 0.02 mmTilts the joint, and the error multiplies down the arm
Roundness and cylindricity0.008 to 0.015 mmOut-of-round bores brinell the raceway
Bore finishRa 1.6 µm or betterRough bores fret and lose effective interference
Bolt pattern positionØ0.05 mm at MMCDecides whether the mating part bolts on without preload

A housing with a 0.05 mm coaxiality error passes a visual inspection and fails in the field. The bores are where the money belongs.

Two practical points. Bores should be finished in the same setup as the face that locates them, or in a setup that references that face directly, because boring in one setup and flipping to machine the mounting surface introduces exactly the perpendicularity error the drawing forbids. And bearing bores want a separate finishing operation: rough bore, then finish bore or ream after stress has settled, which holds size and roundness far better in thin-walled aluminum housings where clamping distortion is significant.

Arm links are usually the largest machined parts in a robot and the ones where material choice gets argued about most. The argument usually goes: aluminum is lighter, so use aluminum. That is half right.

Aluminum's modulus is about 69 GPa against 200 GPa for steel, and its density is 2.70 g/cm³ against 7.85. Stiffness divided by density works out almost identical for both, around 25 GPa per g/cm³. For a given load path and the same cross-section, switching from steel to aluminum saves weight and loses stiffness in nearly the same ratio; it does not improve stiffness-to-weight.

Where aluminum wins is absolute mass for a given envelope, and the freedom to make a larger, thinner-walled section. Bending stiffness rises with the cube of section height, so a 120 mm deep hollow aluminum section can be far stiffer than a 60 mm solid steel bar at a fraction of the mass. The design lever is section geometry, not alloy.

For machining, that means deep pockets with generous radii designed for a long-reach cutter from the start, ribs at least 3 mm thick in a 100 mm tall aluminum link or they will chatter, walls above 2 mm on structural links, and bolt bosses with a full washer face and 1.5× diameter thread engagement.

Steel links appear where stiffness or wear resistance matters more than mass, such as heavy-payload arms and interfaces that take repeated clamping. 4140 pre-hardened at 28 to 32 HRC machines well and holds a fine surface without a separate heat treat.

End effectors and material choice

End effectors are where machining earns its place on small, complex, high-value parts. A gripper body might carry a tool changer interface, a linear guide, a sensor mount and a vacuum port inside a 120 mm envelope.

The recurring requirements are a tool changer interface with flatness and perpendicularity callouts, since every tool inherits that error; guide rail surfaces flat within 0.01 mm and parallel to the interface within 0.02 mm; weight-reduction pockets that do not compromise mounting stiffness; and cable routing designed as machined channels, because an external cable snag is a common failure.

MaterialWhere it fitsMachining note
6061-T6 aluminumArm links, covers, end effector bodiesFast, stable, anodizes well; modulus limits long spans
7075-T6 aluminumHigh-stress links where mass is critical30% stronger than 6061, less corrosion resistant, harder to anodize evenly
4140 pre-hard steelRail mounts, high-wear interfaces, heavy jointsMachines well at 28 to 32 HRC; stress relieve before finish boring
1045 carbon steelStructural pins and shaftsInexpensive; needs plating or coating
17-4PH stainlessCorrosive or food-adjacent robotsCondition H1150M for machinability; expect growth after aging
Cast iron (machined)Bases and large framesExcellent damping, heavier, needs painting

Cast iron earns the mention because large frames benefit from damping aluminum does not provide: a machined cast iron base can beat a welded steel frame on vibration behaviour even though it is heavier.

Holding repeatability across batches

A robot built from parts that are individually in tolerance can still vary joint to joint if the process drifts between batches. Repeatability across 40 units is a process question, and it needs three things.

A stable fixture, documented. If the fixture is rebuilt for each batch, the datum transfer changes. A dedicated fixture that is stored, labelled and reused keeps batch 5 aligned with batch 1.

In-process measurement on critical bores. Measuring after the part is off the machine tells you whether it conforms; measuring before unclamping tells you whether to correct. For a bore held at H7 with a 0.025 mm band, in-process probing is cheap insurance.

A control plan that names the characteristic, with a sample size and frequency: first part of each batch, then a defined interval, then the last part. Everything else can be inspected at first article only.

When we quote a robot housing at JSHS, the fixture and the bore-finishing sequence are planned before the price is set, because those two decisions determine whether batch 1 and batch 10 match. Send the assembly drawing and annual volume and the quote will separate one-time fixturing from the recurring part price.

Frequently asked questions

Can boring and milling be done in one setup?

Yes on a 5-axis or mill-turn centre, and that is often the cheapest way to hold coaxiality and perpendicularity on a housing. The trade-off is that the part must be reachable from one orientation, which may require a design change to the outside geometry.

How tight should a bearing bore be?

An H7 fit is the normal default for a bearing outer ring in a housing that does not need to slide. If the housing is aluminum and the bearing is steel, the bore grows faster with temperature, so a hot application may need a tighter initial fit.

Is 7075 worth the extra cost for a robot arm?

Only where stress analysis shows 6061 is marginal, or where mass is the dominant constraint. 7075 costs 20% to 40% more in material and machines more slowly, and its corrosion behaviour needs more care in finish specification.

How do I keep 40 units consistent?

Freeze the fixture, freeze the process sequence, and measure the critical bores on every batch rather than only at first article. Most batch-to-batch variation traces back to a fixture that was remade or a finishing pass skipped for schedule reasons.

Have a part that needs quoting?

Send the 2D drawing or 3D model with material, quantity and finish. Files up to 50 MB, NDA on request. Quotes include a DFM note where we see a way to remove cost or avoid a failure.

Request a quote WhatsApp

Related reading