
UG Coding
Master UG NX CAM — from program zero to production-ready five-axis toolpaths.
A practical course on CNC programming with Siemens NX (UG) CAM. Set up the MCS, part, blank and tools; build 2.5D and 3D roughing and finishing operations; control stepover, cut levels and scallop height; move on to 3+2 and simultaneous five-axis, simulation and post processing; then put it all together on real jobs and learn the mistakes that crash machines.
NX CAM Fundamentals.
What Are We Actually Programming in NX CAM? From Model to G-code
Why does one programmer's job run forty minutes while another's runs twenty? This episode animates the whole CNC programming workflow: part, blank and the machine coordinate system; an operation as one tool plus one strategy; cutting and non-cutting moves in a tool path; simulation to catch gouges and collisions; post-processing that turns tool paths into G-code; and finally the machine cutting the part. No button clicking, just the thinking behind NX CAM programming.
Where Should Program Zero Go? MCS, Touching Off & the Clearance Plane
The program was fine, yet the tool plunged five millimeters into the part. The problem was zero. This episode animates what the machine coordinate system is and why the zero on the computer must match the zero the operator finds on the machine; how an edge finder and a tool setter touch off; three rules for where to put program zero, and the pros and cons of zero on top of the stock; and how high the clearance plane should be: too low hits a clamp, too high wastes time.
Part, Blank and Check: Where to Cut, Where Not to Touch in NX CAM
The tool path looked perfect in the software, so why did the tool hit a clamp? Usually because the geometry wasn't set. This episode animates why the part must include every finished face (miss one and you gouge), how to choose a bounding block or offset blank, why clamps, vises and the table belong in check geometry with check stock, how the In-Process Workpiece stops later operations from cutting air, and how a cut area or trim boundary limits where an operation cuts.
How Do You Choose and Build a Cutting Tool? Diameter, Stick-out & Holder
A long, thin cutter chatters in a deep pocket; a shorter one runs smooth. This episode animates how to choose and build cutting tools: why the tool path sits one radius away from the part, why diameter is limited by the corner radius, how flat, bull nose and ball end mills divide the work, why stick-out matters more than flute length, and why the holder belongs in your simulation. All numbers are examples; follow your tool maker's guidance.
Why Rough, Semi-Finish and Finish? Stock, Deflection and Machining Methods
Cut from the blank straight to size with one tool, and the bottom of the wall ends up oversize and the thin wall bends. Why? This episode animates why roughing and finishing have opposite goals, what stock is and how part stock and floor stock are set separately, the three reasons to leave stock (tool deflection, heat and uneven stock), how semi-finishing evens it out, and how NX machining methods manage stock and tolerance in one place. All numbers are examples.
Your First Complete Program: From Blank to Finished Part
You have the drawing. What comes first? In the season one finale, we animate one block of aluminum from blank to finished part: study the drawing and set the datum, set up the coordinate system and clearance plane, define part, blank and check geometry, and build the tool list; then face milling, Planar Mill for the profile, Cavity Mill for roughing, finishing walls and floors, spot drilling before drilling and peck drilling for deep holes; and finally full simulation, post-processing to G-code and a measured first part.
2.5D Milling & Drilling.
How Do You Mill a Large Face Fast and Flat? Face Mills, Engagement, Stepover
Why does one face take an hour and leave step marks, while another is flat and bright in a few passes? This episode animates the three keys to face milling: how big the face mill should be, how to line it up with the part so inserts don't chip, why the stepover is usually sixty to seventy-five percent of the diameter, and how Zig Zag and Zig affect speed and surface texture. All numbers are examples; follow your tool supplier's advice.
Planar Mill vs Floor and Wall: Boundaries, Cut Levels and When to Use Each
Planar Mill draws lines, Floor and Wall picks faces. So what's the real difference? This episode animates the four Planar Mill boundaries (part, blank, check and trim) and the material side, the floor and three ways to set cut levels, how Floor and Wall works straight from the model's floors and walls with a floor blank thickness instead of a blank, and when to choose each operation.
How Do You Choose a Cut Pattern? Zig Zag, Zig, Follow Periphery, Follow Part, Profile
Why does Zig Zag leave leftover material around an island while Follow Part leaves even stock? This episode puts the common cut patterns side by side: why Zig Zag is fastest but needs a profile pass, why Zig is steady but slow, where Follow Periphery and Follow Part take their offsets from, how Profile finishes walls, why narrow slots call for Trochoidal, and three rules of thumb for choosing.
How Should the Tool Enter and Leave? Helical Entry, Arc Engage & Safe Transfers
Why does a flat end mill snap when it plunges straight into a pocket? This episode animates the non-cutting moves in a tool path: why an end mill has no cutting edge at its center, helical and ramp-on-shape entries for closed areas, coming in from outside with an arc in open areas, how to retract, and whether transfers should go up to the clearance plane or just a minimum clearance.
Drilling, Tapping and Reaming: Why Deep Holes Need Peck Drilling
Why does a drill snap when you drill a deep hole in one go? This episode animates hole making: spot drilling so the drill doesn't wander, peck drilling to clear chips from deep holes, chip breaking for long chips, why tapping feed equals spindle speed times pitch, reaming a slightly undersized hole for precision, and the sequence of spot, drill, then tap or ream.
Chamfers, Deburring and Small-Tool Corner Cleanup
Every dimension passes, yet the part is rejected: burrs on the edges, and pocket corners that are too round. This episode animates the finishing touches: which part of a chamfer mill's cone should cut, and how contact diameter and offset are set; deburring as one light chamfer pass along sharp edges; why the smallest inside corner radius equals the tool radius; and how a reference tool lets a small tool clean only the corners the big tool missed. Season two finale.
3D Roughing.
Why Is Cavity Mill the Workhorse of Roughing? 3D Model, Cut Levels, Stock
Why can one Cavity Mill operation rough a part full of slopes and curves, when Planar Mill would need a pile of boundaries? This episode animates how Cavity Mill works: it reads the part and the blank and takes the difference as the material to remove, slices it into cut levels, finds the cut area and islands on each level, builds Follow Part toolpaths level by level, and leaves even stock over the 3D surface, with steps on slopes and curves. All numbers are examples.
How Deep Should Each Cut Be? Cut Levels, Flat Ledges and Ranges
One millimeter per cut takes over an hour; five millimeters makes the tool chatter and leaves a slab on a ledge. So how deep should each cut be? This episode animates Cavity Mill cut levels: why the common depth per cut is a maximum, how depth affects time, tool load and step height, why every flat ledge needs its own level and how automatic cut levels add one, and how to split the depth into ranges, dense on curves and sparse on straight walls. All numbers are examples; follow your tool supplier's advice.
Where the Big Tool Can't Reach: Rest Roughing, In-Process Workpiece, Reference Tool
After a big tool roughs a part, corners, slots and ledges still hold thick material, and a second pass with a small tool can spend most of its time cutting air. This episode animates the two tools for rest roughing: the in-process workpiece, which turns the previous operation's result into the next blank, and the reference tool, which finds where the previous tool couldn't reach. You'll see what each one sees, when to use which, and practical settings like stepping down tool sizes and minimum material removed. All numbers are examples.
Adaptive Milling: Why Constant Load Cuts Faster and Saves Tools
Does your roughing scream and chip tools at every corner? The tool suddenly gets wrapped in material, and the engagement angle jumps from ninety degrees to nearly one hundred eighty. This episode animates adaptive milling: the load decides the path, contact width stays constant, and corners are taken with smooth arcs and small loops. With a steady load you can cut deep, narrow and fast, using the whole flute and getting longer tool life.
Roughing Deep Pockets with Plunge Milling
Roughing a deep pocket, and the long tool chatters and leaves waves on the walls? A tool behaves like a cantilever beam: double the stick-out and the deflection grows about eight times. This episode animates plunge milling: the tool plunges along Z like a drill, the force runs along its axis into the spindle, and even a long tool barely bends. We cover the crescent each plunge removes, how to set the step, the scallops it leaves behind, and when to choose plunge milling over adaptive milling.
Speed, Feed, Depth, Stepover: Chip Thickness Explained
Reduced the stepover to play it safe, and the tool came out hot and worn? This episode animates where cutting parameters come from: spindle speed from surface speed and diameter, feed rate from speed, flutes and feed per tooth. What really decides tool life is chip thickness. When the stepover is smaller than the radius, chips get thinner, and without a higher feed the edge rubs and heats up. We also compare the two ways to pair depth and stepover. Season three finale.
3D Finishing.
How to Finish Steep Walls: Z-Level Profile Milling
The top came out smooth, but the steep walls are full of steps? This episode animates why: a projected toolpath measures its stepover horizontally, so passes spread apart on steep walls. Z-level profile milling splits the part by height and runs one loop around the wall on each layer, for even marks and steady cutting. We also cover depth per cut, the steep area option, level-to-level connections and cut order. Season four opener.
Surface Finishing: Fixed Contour and Area Milling
Finished a curved surface with Cavity Mill and got rings of steps like rice terraces? This episode animates how fixed contour milling works: the drive method lays out a pattern above the part, then projects it along the tool axis onto the surface, and the ball nose rides along it. We cover area milling, the most common drive method, cut patterns, measuring stepover on a plane versus on the part, plus ball nose tools, scallop height and the streamline drive.
Steep vs Gentle Areas: Why Split Them? The Steep Angle
One finishing operation for the whole part, and either the gentle top looks like a contour map or the walls are full of steps? This episode animates the steep angle: how it sorts the part into steep and gentle areas, why both paths leave the same spacing at forty-five degrees, how to build two matching operations with one ball nose tool and one angle, and how a small overlap hides the seam between them.
Scallop Height: How to Calculate Ball Nose Stepover
Stepover too big and the surface is ridged, too small and one surface takes four hours? This episode animates scallop height: where the ridge between ball nose passes comes from, the approximation scallop ≈ stepover squared over eight times the radius, and how to work out the stepover from it. Double the stepover and the scallop goes up four times; a bigger ball allows a bigger stepover. We also cover setting stepover by scallop height in NX, then adjusting from test cuts.
Corner Cleanup: Clearing Stock in Corners with Reference Tools
Finished the surfaces, but every inside corner still has a ridge, and a small tool snapped trying to clean it? This episode animates why stock stays in corners when the tool radius is bigger than the fillet, how corner cleanup finds the corners and builds the toolpath for you, when to use single or multiple passes, and why you step down from big tools to small ones with a reference tool. Plus three details: tool radius, stick-out and corner feed.
Engraving Text and Lines: How to Cut Clean Marks
Engraved a part number with a planar mill and got blurry strokes and a drifting line? This episode animates how engraving really works: the tool tip runs right on the stroke with no radius offset, why single-stroke fonts matter, how depth sets line width with a pointed tool, why curved faces need contour text instead of planar text, and how to engrave lines with a curve drive and negative stock.
Why Surfaces Show Tool Marks: Climb vs Conventional, Runout, Feed
Every size in tolerance, but the part was rejected for tool marks? This episode animates where tool marks come from: fine marks along the feed spaced by feed per tooth, runout that makes one tooth do all the cutting and leaves one mark per turn, light and dark bands from zig zag paths that alternate climb and conventional milling, and marks across the feed from the stepover. Learn to recognize the direction and spacing, and you'll know what to change. Season four finale.
Five-Axis, Simulation & Post.
3+2 Positioning: Tilt First, Then Cut with Three Axes
Holes on a sloped face and slots on the side force a three-axis machine into repeated setups, and the error keeps stacking up. This episode animates three plus two positioning: the five-axis machine uses its two rotary axes to tilt the part to the right angle and lock it, then cuts with only the three linear axes. In NX you give each face its own tool axis, and cavity mill, planar mill and drilling work as is. One setup, a shorter tool, more rigidity, with one limit: the angle stays fixed during the cut. Season five opener.
Simultaneous Five-Axis: Controlling the Tool Axis with Variable Contour
A twisted surface needs many fixed angles with three plus two, leaving witness lines, and cutting a deep cavity straight down means too much stick-out. This episode animates simultaneous five-axis: all five axes move together and the tool axis changes along the path. NX Variable Contour combines a drive method, a projection vector and a tool axis. See why a lead angle gives a ball nose tool a better finish, the risks of sudden axis changes and singularities, and why simulation is a must.
Swarf Milling and Impeller Blades: Cut a Whole Surface with the Flank
Point milling impeller blades with a ball nose tool takes hours and still leaves scallops. This episode animates swarf milling: many blades are ruled surfaces made of straight lines, so the flank of the tool can lie along those lines while the tool axis turns, cutting a whole face in one sweep. It also covers swarf drive and the multi-blade module in NX, gouging and leftover on non-ruled surfaces, and keeping the tool axis clear of neighboring blades.
Catch Gouges and Collisions Before the Machine: Toolpath Verification and Simulation
You checked the toolpath, yet the holder scraped the fixture and a blade got gouged? This episode animates four layers of checking before the first cut: replay for entries and exits, three-D dynamic cutting to compare gouges and stock, holder and fixture collision checks, and full machine simulation driven by posted code to catch over-travel and interference.
Post Processing: How a Toolpath Becomes G Code
The same program on another five-axis machine, and the table suddenly flips half a turn? This episode animates post processing: a toolpath is neutral data, tool positions and tool axis directions, and the post processor translates it for one machine's structure and controller. On five-axis machines one tool direction has two table solutions, and the wrong one flips the table. One machine, one post processor, and always simulate, dry run and single-step a new post.
Turning and Mill-Turn Programming Basics
Turn it, move it to a mill, and the cross hole ends up off center? This episode animates turning basics: the part spins and the tool doesn't, so one two-D profile is enough; the order of facing, roughing, finishing, grooving and threading; why the nose radius affects size; why constant surface speed needs a spindle limit; and how mill-turn uses live tooling and spindle indexing to finish everything in one setup. Season five finale.
Real Jobs & Career.
Process Libraries: Programming Similar Parts with One Click
Same flange, so why does one programmer finish in ten minutes? This episode animates process libraries: where programming time really goes; how to store the coordinate system, tools, operation order and parameters as a reusable group; feature-based programming that follows the hole count automatically; and why a library needs tested parameters, maintenance and simulation. Season six opener.
Real Job #1: A Pocket Part from Roughing to Corner Cleanup
How do five seasons of methods turn into one complete program? This episode animates a full aluminum pocket job: setting the coordinate system, blank and tool list; adaptive roughing and rest roughing; semi-finishing to even out stock; Z-level walls and area-milled floor; small-tool corner cleanup; and simulation with fixtures before posting G-code. Five tools, six operations, start to finish.
Real Job #2: The Complete Process for a Five-Axis Part
Five setups on a three-axis machine and the holes never line up? This episode animates a complete five-axis process: fixture stub and coordinate system; three-axis roughing, then three plus two for the sloped face; positional drilling on every face; simultaneous five-axis only on the twisted surface, with tilted, smooth tool axes; full machine simulation, a machine-specific post and a careful first part.
Crashes, Gouges and Broken Tools: The 8 Most Common Causes
Are crashes, gouges and broken tools really just bad luck? This episode animates the eight most common causes: zero mismatch, a low clearance plane, fixtures not set as check geometry, a missing holder; a tool mismatch and out-of-date toolpaths; straight plunges and load spikes from corners and long stickout. Plus an eight-point checklist you can use today.
From CNC Programmer to Process Engineer
Anyone can generate a toolpath, so what separates a programmer from a process engineer? In this series finale: programming answers how to cut, process engineering answers why; the three skills to build, shop floor experience, cost awareness and standardization; a recap of all six seasons; and practical advice: watch your programs run, build your own data, and keep asking why. Thank you for watching.