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

Get Instant Quote

Machining fundamentals

CNC machining of motor housings

Motor housings hold a rotor in place to a few microns while carrying heat, vibration and cable loads. This page explains what actually controls bore geometry, how 5-axis work changes the setup count, and when milling is the wrong process to pick.

±0.005 mm tolerance16 five-axis centersBores from Ø20 to Ø400 mmISO 9001 / IATF 16949
CNC machining of motor housings on a 5-axis machining center
Short version

Key takeaways

The bore decides everythingRoundness, taper and surface finish in the bearing seat set the air gap, not the outer profile.
One setup beats three5-axis work machines the bore, end face and mounting pattern without re-chucking the part.
Thin walls move after clampingA housing that measures round on the machine can spring oval once the vise is released.
Casting wins past a few thousand unitsBelow that, milling from billet usually costs less and arrives faster.
Function

What a motor housing actually has to do

A motor housing is a locating device first and a cover second. The stator sits in the bore. The rotor spins inside the stator on a shaft supported by bearings at one or both ends. The gap between rotor and stator is often 0.3 to 0.8 mm, and it has to stay even all the way around. If the bore is 0.05 mm oval, that gap closes on one side and opens on the other. Efficiency drops, the motor runs hotter, and on a high-speed design the rotor may touch the stator.

The housing also carries a stack of tolerances that most drawings show only partly. Bearing bore diameter and roundness, coaxiality between the two bearing seats, perpendicularity of the mounting flange to the bore axis, and position of the bolt pattern. Each one matters, but coaxiality is usually the one that decides whether the motor is quiet or noisy.

Then there is everything that is not geometry. Heat leaves the stator through the housing wall into the frame or the air. Cable entries and connectors need a sealed, deburred path. Mounting feet have to survive vibration without cracking at a fillet. A housing that measures perfectly and rings like a bell at 6,000 rpm is still a failed part.

That is why this page treats CNC machining of motor housings as a geometry problem with thermal and dynamic consequences, not just a matter of hitting a tolerance callout.

  • 1
    Bore roundnessTypically held to 0.01 mm or tighter on servo and traction housings.
  • 2
    CoaxialityTwo bearing seats on a common axis; 0.02 mm total is a common drawing limit.
  • 3
    Flange perpendicularityControls how squarely the motor bolts to a gearbox or pump.
  • 4
    Wall stiffnessSets how much the bore distorts after the part leaves the chuck.
Mechanism

Why the bore, not the outside, controls the result

Boring a deep, accurate hole in a housing is harder than it looks because the tool is long and the wall is not stiff. A boring bar deflects under cutting force. Push it too hard and the hole comes out tapered, larger at the entry than at the bottom. Push it too gently and the tool rubs, which raises surface roughness and burns the edge. The sweet spot depends on material, bar overhang and coolant pressure.

Aluminium 6061 and 6082 cut cleanly at 2,000 to 4,000 rpm with carbide and plenty of coolant. The risk is built-up edge, which leaves a smear on the bore wall and ruins roundness. 7075 is stiffer and machines to a better finish but costs more and is harder to anodize evenly. Cast aluminium ADC12 machines well but can contain porosity that opens up when the bore breaks into a pore.

Steel housings change the picture. 1045 and 4140 need lower surface speed, more rigidity and often a roughening pass followed by a finishing pass with a different insert. Stainless 304 work-hardens if the tool dwells, so feed has to stay high enough to cut rather than rub. Titanium TC4 is worse still: it holds heat at the edge, and a bore that looks fine can measure 0.02 mm out of round because the part grew during cutting and shrank after cooling.

The practical rule is simple. Measure the bore after the part has cooled to room temperature and after all clamps are released. Anything measured hot, or measured while still bolted to the fixture, tells you very little about the part the customer receives.

Setup

How 5-axis machining changes the setup count

A conventional route machines a housing in three or four operations: face and rough the bore, flip and finish the opposite face, then a separate operation for the bolt pattern and side ports. Every flip adds a re-clamping error. If each setup contributes 0.02 mm of positional error, the coaxiality stack can reach 0.04 mm before any cutting error is added.

A simultaneous 5-axis center with a trunnion table and a Ø400 mm rotary table can reach the bore, the end face, the mounting pattern, the cable port and the counterbores in one setup. The part stays clamped once. Positional error stops accumulating. On a housing with two bearing seats on opposite ends, this is often the difference between a 0.03 mm coaxiality result and a 0.06 mm one.

The trade-off is programming time and access. A deep bore inside a narrow housing may not clear the spindle nose at the angle you want. Long reach tooling adds deflection. On some geometries a 4-axis horizontal mill with a tombstone fixture is faster and cheaper than a 5-axis part, because the housing can be reached from two sides without repositioning the trunnion.

For prototype and low-volume work we typically run the first article on a 5-axis center, record the as-machined bore and coaxiality numbers, then decide whether production should stay 5-axis or move to a dedicated fixture on a 4-axis machine. The geometry decides, not the machine list.

  • 1
    Single setupBest for housings with two coaxial bearing seats.
  • 2
    4-axis with fixtureGood for open housings with side ports and one main bore.
  • 3
    3-axis plus flipAcceptable when coaxiality callout is looser than 0.05 mm.
Boundaries

When milling is the wrong choice

Milling from billet makes sense up to a few hundred or a few thousand units, especially when the design is still moving. Tooling cost is zero, lead time is days, and a revision costs a new program rather than a new die. Past that volume, the arithmetic flips. A die-cast or permanent-mould housing with a few critical faces machined will beat a fully milled part on unit cost.

Geometry sets another boundary. A housing with deep internal cooling channels, thin fins or complex internal ribs is often better cast or printed and then machined only where it seats. Trying to mill a 1.5 mm fin 40 mm deep invites chatter and tool breakage, and the finished wall will not be straight.

Size is the third limit. A 4,000 mm maximum processing size covers most industrial and traction motor housings, but a housing that is long and slender relative to its wall thickness will deflect under its own weight and under clamping. In those cases a fabricated and welded housing, machined at the bearing seats only, is more stable and cheaper.

The honest answer is that CNC machining of motor housings is a finishing and locating process. It is excellent at producing accurate bores, flat flanges and correct hole patterns. It is a poor way to produce large hollow shapes with deep internal detail, and no amount of machine time fixes that.

Inspection

How to tell a good housing from a drawing that passed

A housing can meet every dimension on the print and still fail in the application. The usual cause is that the print measured the part in a free state, while the application bolts it down and loads it. A flange that is flat within 0.02 mm free can be 0.05 mm out once four bolts pull it against a gearbox face.

So the inspection plan should mirror the assembly. Measure roundness and taper inside the bore at several depths. Check coaxiality between bearing seats by sweeping a mandrel or using a CMM with the part supported the way it will be mounted. Verify perpendicularity of the flange to the bore axis, not to a convenient face.

For low-volume and prototype work we run 100% inspection before shipment and issue reports on request. That covers raw material verification, in-process checks at the boring and pattern stages, and a final dimensional report. For a housing that will go into a safety-related assembly, ask for the bore and coaxiality numbers specifically. Those are the two that predict field behaviour.

GreatLight has run this route since 2011 across three wholly-owned plants and 7,600 m² of floor space, with 127 high-precision CNC machines including 16 simultaneous 5-axis centers. Housings are one of the part families where the 5-axis capacity earns its keep.

Process

Step by step: from billet to a checked housing

A typical route for an aluminium housing with one through bore and two bearing seats.

  • 1
    1. Freeze the datum schemeAgree with the customer which face and bore are datums A and B. Most measuring disputes start here, not at the machine.
  • 2
    2. Rough with stock leftLeave 0.5 to 1.0 mm radial stock in the bore. Roughing heat and clamping stress are removed in this pass, not the finishing one.
  • 3
    3. Stress-relieve or restFor thin-wall aluminium, let the part sit or run a light stress-relief cycle before finishing. It stops the bore from moving a day later.
  • 4
    4. Finish the bore in one continuous passUse a rigid boring bar and a finishing insert. Target Ra 0.2–0.8 μm on bearing seats. Do not stop mid-cut.
  • 5
    5. Cut the mounting pattern in the same setupDrill and tap the bolt circle, then counterbore. Position comes from the same zero as the bore.
  • 6
    6. Deburr every edge by handA 0.2 mm burr at a bore entry reads as a 0.2 mm assembly error. Break edges to 0.3 × 45° unless the print says otherwise.
  • 7
    7. Measure after unclamping and coolingRoundness, taper, coaxiality and perpendicularity. Record the numbers and ship the report with the parts.
Roughness reference

Surface finish targets for housing features

Values from the shop's standard finish bands. Ask for a print callout when a bearing seat needs better.

FeatureTypical RaWhy it matters
Bearing seat boreRa 0.2–0.8 μmControls bearing fit and running noise
Stator boreRa 0.8–1.6 μmAffects glue bond and heat transfer
O-ring grooveRa 0.8–1.6 μmSealing depends on smooth flank walls
Mounting flange faceRa 1.6–3.2 μmFlatness matters more than roughness here
Outer profileRa 1.6–3.2 μmCosmetic and coating adhesion
Threaded holesAs machinedCheck for burrs before assembly

The trade-off, stated plainly

If your housing has tight coaxiality, a bearing seat finish callout, or volumes under a few thousand units, machine it from billet or cast stock on a 5-axis center and keep the critical features in one setup. If the housing is a large thin-wall shell with deep internal detail and you need thousands of identical parts, cast or fabricate it and machine only the bores and flanges.

FAQs

Questions engineers ask before quoting

What tolerance can you hold in a motor housing bore?

We work to ±0.005 mm on critical features when the geometry allows it. In practice, the achievable number depends on bore depth, wall thickness and material. A shallow bore in 6061 is straightforward. A deep bore in 304 stainless with a 4 mm wall needs a conversation about stock and setup before anyone commits to a number.

Send the print with the datum scheme marked and we will confirm what is realistic in the DFM analysis.

Should the housing be cast or machined from billet?

Billet for prototypes through a few thousand units, and for any design still being revised. Cast for higher volume once the geometry is frozen, with the bearing bores and mounting faces machined afterward.

The crossover point depends on part size and how many faces need machining. A small housing with one bore can stay economical as a milled part for longer than a large one with six machined faces.

How do you stop a thin-wall housing from going oval?

Rough with stock left, let the part relax, then finish in a single continuous boring pass with light clamping. Soft jaws or a expanding mandrel distribute clamping force better than a three-jaw chuck.

We also measure after unclamping. A bore that is round only while clamped is not a finished bore.

Can you machine the stator bore and the mounting pattern in one setup?

Yes, on a simultaneous 5-axis center with a rotary table. That is the main reason to choose 5-axis for a housing: it removes the re-clamping error between the bore and the bolt pattern.

For simple housings with a loose coaxiality callout, a 4-axis fixture can be faster and cheaper.

What materials do you machine housings from?

Aluminium 6061, 6061-T6, 6082, 7075 and ADC12 are the common ones, along with stainless 303, 304, 316 and 17-4PH, steel 1045 and 4140, and titanium TC4 when weight or corrosion demands it.

Magnesium AZ31B and AZ91D are available for weight-critical designs, with the finishing route planned early because magnesium needs specific handling.

What lead time should we plan for?

Quotation and free DFM analysis come back within 12 hours. Production can start within 24 hours of a released order, and parts typically ship in 3–5 days for standard housing work.

Housing geometry with deep bores or difficult fixturing may need a first-article check before the run, so build that into the schedule.

Send the print, get a DFM review and a quote

Upload the housing drawing and we will come back with a machining route, a realistic tolerance assessment and a price within 12 hours. Uploads stay confidential, and an NDA is available on request.

12-hour quoteFree DFM analysis100% inspectionNo minimum order quantity

Follow the 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