Inhoudsopgave
SchakelaarCNC Milling Layer Cutting Path Planning — How to Slice Your Way to Precision
Most programmers treat layer cutting as a default setting they never touch. Set the depth, hit generate, walk away. That works for roughing out a steel block on a lazy Tuesday. It falls apart the moment you need surface quality, dimensional accuracy, or anything resembling a finished part.
Layer cutting — also called Z-level machining or depth-slicing — splits a 3D model into horizontal layers and machines each one independently. Sounds simple. The devil lives in how you slice, how you connect the layers, and how you transition between them. Get any of those wrong and you get chatter marks, uneven stock left on the walls, or a tool that screams through the material like it is personal.
Why Layer Cutting Exists in the First Place
A flat end mill cannot cut a curved surface in one pass. The geometry does not allow it. So you break the surface into thin horizontal slices, each one flat enough for the tool to handle. The thinner the slice, the smoother the result. The thicker the slice, the faster the cycle — but the rougher the walls.
This is the core trade-off every shop floor operator already knows intuitively. What most people miss is that the slice thickness is not the only variable that matters. The order of the slices, the direction of the tool within each slice, and how the tool moves from one layer to the next all change the outcome dramatically.
The Rough-to-Finish Split Is Non-Negotiable
Roughing layers remove bulk material fast. You can push aggressive depths — 2mm, 3mm, even 5mm per pass on steel — because surface quality does not matter yet. The goal is to get close to the final shape as quickly as possible while keeping cutting forces under control.
Finishing layers take the last 0.1mm to 0.3mm off each surface. Here the slice thickness drops to 0.05mm or less. The step-over shrinks. The feed rate drops. Every parameter tightens because the surface finish depends on it. A residual height of 0.01mm or less is the target for precision work. Exceed that and the part fails inspection.
Mixing rough and finish parameters in the same layer strategy is the fastest way to waste tool life and destroy surface quality. Keep them separate. Always.
The Three Main Layer Cutting Strategies and When Each One Wins
Not all layer cutting is the same. The path the tool follows within each slice changes everything — the load on the spindle, the quality of the walls, the amount of air cutting the tool does between passes.
Contour Parallel — The Workhorse
The tool follows the outline of each layer, offset inward by the step-over distance. It is the most common strategy for 2.5D parts and moderate 3D surfaces. The math is simple. The tool stays engaged most of the time. Cutting forces are predictable.
The downside shows up on steep walls. When the slope exceeds about 45 degrees, the step-over on the wall becomes much larger than the step-over on the floor. That leaves visible scallops. For steep surfaces, contour parallel struggles unless you reduce the step-over drastically — which kills cycle time.
This strategy shines on flat areas, shallow pockets, and parts where the walls are nearly vertical. It is the default in most CAM packages for a reason. It works well when the geometry cooperates.
Zig-Zag Raster — Speed Over Surface
The tool cuts back and forth in straight lines across each layer, like a lawnmower. No contour following. No curved tool paths. Just parallel lines with a U-turn at each end.
The advantage is speed. The tool moves in straight segments, which means the CNC controller does not have to decelerate for curves. Cycle time drops significantly on large flat areas. The disadvantage is the U-turns. Every direction change creates a small dwell where the tool dwells longer than intended, leaving a slight bump. On finishing passes, those bumps show up as texture on the surface.
Use zig-zag for roughing large planes. Avoid it for finishing unless the part geometry forces you into it.
Spiral and Radial — When Walls Matter
Spiral cutting starts from the center or from the outside and winds inward (or outward) in a continuous spiral. No sharp corners. No sudden direction changes. The tool load stays constant throughout the pass.
This matters on deep cavities and closed pockets. A contour-parallel tool path in a deep pocket means the tool has to make tight turns at the bottom of each layer. Those turns create heat spikes and tool deflection. A spiral path eliminates the turns entirely. The tool simply keeps cutting as it spirals down.
Radial cutting works similarly but fans out from a center point in straight lines. It is ideal for circular features — flanges, round pockets, bolt hole patterns. The tool moves radially outward, cutting evenly across the entire surface. No one area gets overloaded.
For thin-walled parts, spiral and radial strategies reduce the instantaneous cutting force compared to zig-zag or contour parallel. Lower force means less vibration. Less vibration means better accuracy on delicate geometry.
How to Choose Your Layer Thickness — The Math That Actually Matters
The residual height left on a surface after a layer pass is not random. It is a function of the tool diameter and the step-over distance. The formula is:
Residual height = (step-over squared) divided by (8 times tool diameter)
So a 10mm ball end mill with a 0.5mm step-over leaves a residual height of about 0.003mm. Change the step-over to 1mm and the residual height jumps to 0.012mm. That is four times rougher, and you did not change the tool or the layer thickness at all.
This is why step-over matters more than most people realize. You can run thick layers with a tight step-over and still get a decent finish. Or you can run thin layers with a loose step-over and get terrible scallops. The two parameters are independent, and both need attention.
Adaptive Layer Thickness — Let the Software Do the Thinking
Modern CAM systems can vary the layer thickness based on the local geometry. Flat areas get thick layers. Steep slopes get thin layers. The software analyzes the surface normal and adjusts the Z-increment so that the residual height stays constant across the entire part.
This is called adaptive or progressive layer slicing. The result is fewer total layers on flat regions and more layers where the surface curves sharply. Total machining time drops without sacrificing surface quality.
The alternative — uniform layer thickness — treats every slice the same regardless of geometry. It is simpler to program but wastes time on flat areas and under-cuts on steep ones. For anything beyond a basic block, adaptive slicing is the smarter choice.
Connecting Layers Without Creating Defects
The transition between layers is where most surface defects hide. If the tool jumps from the end of one layer to the start of the next, it leaves a visible seam. If it plunges straight down between layers, the impact load can deflect the tool and leave a dimple.
Ramp Entry Beats Plunge Entry Every Time
A plunge — dropping the tool straight down into the material — creates a shock load. The chip thickness spikes from zero to full engagement in a single step. That spike excites vibration in the tool and the workpiece. On thin walls, it can cause the wall to flex.
A ramp entry angles the tool into the material gradually. A 3-degree ramp with a 2mm lead-in lets the chip thickness build smoothly. Cutting forces ramp up instead of spiking. Tool life increases. Surface quality improves. The trade-off is a few extra seconds of air cutting per layer. That is a fair price to pay.
For deep cavities, helical ramp entry — a spiral plunge — is even better. The tool spirals down while cutting, maintaining constant engagement. No shock. No dwell. Just a smooth transition from one layer to the next.
Layer Order Matters More Than You Think
Most CAM software defaults to cutting from the top down. That works for most cases. But for thin-walled parts, cutting from the bottom up can be better. The reason is clamping force. When you cut the top layers first, the part is held firmly by the fixture. As you cut deeper, the walls get thinner and more flexible. Cutting forces can push the wall away from the tool, leaving extra stock on one side and a gouge on the other.
Cutting from the bottom up reverses this. The thin walls are cut last, when the bulk of the material is already gone and the part is lighter. The clamping force holds what remains, and the tool cuts with less resistance. For aerospace thin-wall components, this simple change in layer order can reduce scrap rates significantly.
The Real Bottleneck Is Not the Path — It Is the Chip Evacuation
Layer cutting generates a lot of chips. Each pass leaves a slot full of swarf. If those chips are not cleared before the next layer, the tool recuts them. That dulls the cutting edge instantly and can jam the flutes on a deep slot.
The path strategy must account for chip flow. Spiral and helical paths naturally push chips outward. Zig-zag paths trap chips in the corners. Contour parallel can work either way depending on the direction you choose.
For deep cavity machining, peck-style layer cutting — cut a few millimeters, retract to clear chips, then continue — is standard. The retract height must be enough to break the chip curl but not so high that you waste time. A 5mm retraction every 5mm of depth is a common starting point. Adjust based on the material. Aluminum clears easily. Inconel does not.
What Goes Wrong When Path Planning Is an Afterthought
The most common failure mode in layer cutting is not wrong dimensions. It is chatter. Chatter happens when the cutting force oscillates at a frequency that matches the natural frequency of the tool-workpiece system. Layer cutting makes this worse because each layer starts with a sudden engagement — the tool bites into uncut material with full chip thickness.
The fix is not a stiffer machine (though that helps). The fix is smoother entry, consistent step-over, and avoiding abrupt direction changes. Spiral paths win here because the engagement angle changes gradually. Zig-zag loses because every U-turn is a directional shock.
Another silent killer is tool marks on vertical walls. When the step-over is too large relative to the wall angle, the scallops become visible ridges. A 0.8mm step-over on a 10mm ball end mill leaves almost nothing on a flat floor. The same step-over on a 60-degree wall leaves a scallop height of nearly 0.15mm. That is a visible defect on any precision part.
The solution is to reduce step-over on steep walls or switch to a strategy that follows the wall contour — contour parallel or spiral — instead of raster. The CAM software should handle this automatically if you set the correct surface finish parameters. If it does not, you are using the wrong software or the wrong settings.