# Introduction to 5-Axis Milling

PowerMill Class
Lesson 3: Introduction to 5-Axis Milling

## Introduction: Introduction to 5-Axis Milling

In this third and final lesson, we will take our first look at 5-axis milling in PowerMill. This lesson will serve as a introduction to 5-axis simultaneous and 3+2 milling in PowerMill, as well as a review of the topics covered in the previous two lessons. As always, we will use PowerMill's fundamental workflow to help guide us through the programming of this part.

## Setup

• Open PowerMill, and drag and drop model file into the graphics area
• Model file will need to convert

We need a new workplane to help us machine this part.

• Box select the entire model
• Select the Create Workplane drop down menu from the home tab
• Select the Top of Selection Workplane
• Activate the new workplane and name it Top

We need to create a block to machine our part from.

• Select the block option from the home tab
• Calculate the block size
• Coordinate System: Named Workplane
• Top
• Accept the dialog box

Let’s calculate the safe area for our tooling.

• Open the toolpath connections dialog from the home tab
• Select calculate on the right-hand side of the dialog box in the safe tab
• Apply the changes and close the dialog

Now that our setup is complete, we are ready to begin creating tools and toolpaths to program our model!

## Basics Review

Now we need a tool rough our model with.

• Create an tip radiused tool
• Diameter: 0.75”
• Length: 1”

We need to add a holder because this model will involve 5 axis processes

• Upper diameter: 1.25”
• Lower diameter: 1”
• Length: 0.25”
• Overhang: 2”
• Lower/Upper diameter: 1.25”
• Length: 1”
• Name the tool D.75TR.0625 and close the tool dialog

• In the 3D Area Clearance tab, select Model Area Clearance
• Name: D.75TR.0625-RGH
• Offset Model
• Tolerance: 0.01”
• Axial thickness: 0”
• Stepover: 0.25”
• Stepdown: 0.25”
• Calculate the toolpath

Let’s verify the toolpath because this will be necessary when we have the tool at orientations other than vertical.

• Right click on the toolpath and select verify then toolpath
• Check for gouges first, select apply
• If no gouges, select collisions
• Holder clearance: 0.075”
• Shank clearance: 0.0375”

If no gouges or collisions occur, the symbol next to the toolpath in the explorer should now appear as a blue checkmark.

Now we can move onto the finishing strategy for the top pocket. First, we’ll need to create a pocket feature.

• Use the detect feature to create a pocket feature and name it ‘TopPocket.’

Let’s create a tool to finish our top pocket.

• Create an end mill
• Diameter: 0.5”
• Length: 1.5”
• Add appropriate shank and holder
• Name the tool EM.5 and close the tool dialog

Now we can choose our finishing strategy.

• Select a Feature Pocket Profile strategy and name the strategy EM.5-FIN-TopPocket
• Tolerance: 0.001”
• Thickness: 0”
• Stepdown: 0.25”
• Lead in/out: surface normal arc
• Angle: 90
• Calculate the toolpath
• Verify the toolpath as we did before, then run a ViewMill simulation.

## Swarf Finishing

Swarf finishing maintains contact between the cutting portion of a tool and any continuous surfaces that need to be finished. We will perform this strategy on the wall of the boss feature and the sloped surface.

For the tooling for our swarf strategies, we will use the EM.5 tool that we already created.

• Activate EM.5

With our tool selected, now we can create our Swarf Finishing toolpath

• Select the Swarf Finishing strategy from the Toolpath Strategy Dialog
• Give the toolpath a descriptive name like EM.5-SWARF-wall
• Leave all options as default.
• Select the surfaces that make up the wall around the boss.
• Calculate the toolpath.
• Verify the swarfing toolpath and run a ViewMill simulation.

NOTE: slow the simulation down, as swarfing toolpaths are often very short.

Repeat the same strategy as above for the sloped surface of the boss and name the toolpath EM.5-SWARF-slope. Once we attempt to simulate, we will immediately get a warning popup due to a possible rapiding of the tool into the part. We can revise this by editing the settings of our new swarf toolpath.

• Open the toolpath settings for EM.5-SWARF-slope
• Rapid Moves:
• Type: Sphere
• Center: (0,0,-1.125)
• Calculate

• Swarf Finishing
• Position
• Offset: -0.05"

After recalculating the toolpath, we can verify and simulate the second swarfing strategy. As you can see, the tool axis is automatically adjusted to swarf the necessary surfaces.

Now that our swarfing processes are finished, we can move onto programming the pockets.

## 3+2 Machining

This is where we will need to incorporate techniques for 3+2 programming. From an ISO 1 view, we will program the pocket that is visible first. We won’t be able to machine the entire pocket with a vertical tool axis, so we need to create a new workplane that has its z-axis perpendicular to the floor of the pocket.

• Create a new workplane using the Workplane Aligned to Geometry option
• Pin the workplane to the bottom of the pocket
• Location isn’t important as long as the z-axis is perpendicular to the bottom
• Name the workplane Pocket1
• Create a pocket feature for the first pocket that we’ll be programming using the same process from previous videos and name it SidePocket1.

Because we have a new workplane, we need to change our safe area or we could gouge the model.

• Go into the toolpath connections, and recalculate the safe area after changing the workplane to Pocket1.

Create a stock model representing all of our previous toolpaths

• Create a stock model by right clicking stock model and selecting create stock model.
• Accept the default values for the stock model
• Drag all toolpaths into the stock model then right click the stock model and calculate
• Edit the view of the stock model
• Right click and select drawing options
• Show rest material

Create a tool for roughing out the pocket.

• Create an end mill
• Diameter: 0.25”
• Add appropriate shank and holder
• This is especially important for this process as it isn’t a vertical tool axis
• Name the tool EM.25 and close the tool dialog

Create a roughing strategy for the pocket.

• Select the Feature Pocket Rest Area Clearance strategy and name it EM.25-RGH-Pocket1
• Offset Model
• Tolerance: 0.01”
• Axial thickness: 0”
• Stepover: 0.075”
• Stepdown: 0.125”
• Go into the workplane section and select Pocket1
• Rest: Stock model
• 1
• EM.5-SWARF-slope
• Lead in/out: ramp with height of 0.1”
• Calculate the toolpath.
• Verify the roughing strategy and then perform a ViewMill simulation. Once everything appears in order, let’s move onto finishing the pocket.

We will use the EM.25 tool again for our finishing pass.

Create an appropriate toolpath for the finishing strategy.

• Select a Feature Pocket Profile strategy and name it EM.25-FIN-Pocket1
• Tolerance: 0.001”
• Radial and Axial thickness: 0”
• Stepdown: 0.375”
• Angle: 90
• Calculate the toolpath

Verify that our finishing pass will be error free and then perform the appropriate simulation. If everything looks good, try to program the second pocket on your own. If you ever get stuck, simply review that process used for the first pocket.

Once the second pocket has been finished, we can move onto the NC code.

## NC Code

Our toolpaths have been simulated and appear successful, so now it’s time for us to generate the NC code.

• Right click on NC programs in the explorer and select Create NC Program
• Give the program an appropriate name
• Right click on NC programs in the explorer and select Preferences
• Select the desired postprocessor for our NC code
• Drag all toolpaths into the program and run a full simulation.
• Right click on the program
• Simulate from Start
• Generate NC code by simply right clicking on the program and selecting Write.

Note: This exercise is for educational purposes. While this exercise outlines the process of generating your NC Code, no actual code is to be generated as a part of this class.

## CLASS PROJECT

Share a photo of your finished project with the class!

Nice work! You've completed the class project