Advanced Toolpath Editing in Powermill 2019: Learning Objectives
Advanced Toolpath Editing in Powermill 2019: Learning Objectives
Learning Objectives
• Go through some of PowerMill’s basic editing options as well as some of the more advanced
toopath options that even a 3-axis programmer can take advantage of
• Learn how to run a full machine simulator and detect collisions or near collisions
• Learn how to find potential problematic areas during the simulation and correct them before
sending the file to the machine
• Gain a basic overview of PowerMill software's different types of tool axis options for
simultaneous programming
• Learn how to manipulate specific regions of a toolpath and override the behavior of the
machine tool
Description
This class will venture into some of basic editing tools that are offered with PowerMill.
We will them apply these to some of the advanced editing tools, like the Dynamic Machine
Control and Editing Within a Region. We will demonstrate these editing tools live.
Speaker(s)
Christopher Marion is Product Specialist with the Advanced Manufacturing group of products
that are offered by Autodesk. He is based out of the Windsor, Ontario, Canada office. He offers
support, training and technical consultation in PowerMill, PowerShape, FeatureCAM & Fusion
Production across North America.
His 20+ years of direct industry related experience in subtractive manufacturing has given him
the ability to convey his knowledge to others during conversation about these products. Before
coming to Autodesk, Christopher worked as a CAM programmer, a Designer (plastic injection
molds and fixturing) and as a continuous improver in process planning and development.
In Christopher’s free time, he enjoys spending time with his wife, son, daughter and dog Jasper.
He loves to spend time on the ice coaching and playing hockey (He’s Canadian, what did you
expect?) as well as root for his favorite inept sports teams (Detroit Tigers, Lions and Red
Wings).
Page 1
Table of Contents
PowerMill Introduction……………………………………………………………………………...….3
Screen Layout…………………………………………………………………………...………...…….4
Mouse Manipulation……………………………………………………………………………..……..5
Interactive Mouse Examples……………………………………………………….…………..6
Toolpath Editing………………………………………………………………………………..……….7
Basic & Intermediate Editing…………………………………………………………………...……..8
Ramp Moves……………………………………………………………………………….…….9
Speeds & Feeds………………………………………………………………………………..11
Leads & Links………………………………………………………………………….………..13
Reorder Segments……………………………………………………………………………..18
Toolpath Transformations……………………………………………………………………..19
Editing Feeds on Surfaces…………………………………………………………………….22
Moving Start Points…………………………………………………………………………….23
Edit History Replay……………………………………………………………………………..24
Edit Named Parameter…………………………………………………………………...……26
Dynamic Machine Control…………………………………………………………………………....28
Collision Checking…………………………………………………………………………...…29
Colliding Sections……………………………………………………………………...……….30
Replace Tool………………………………………………………………………...………….31
DMC - Swap Configuration…………………………………………………………...……….32
DMC – Change Tool Axis One Region……………………………………………...……….33
DMC – Change Tool Axis Multiple Regions………………………………………...……….35
DMC – Creating Workplanes………………………………………………………...………..37
Edit Within Region…………………………………………………………………………………….39
Tool Axis to Lean……………………………………………………………………………….40
Tool Axis to Fixed Direction……………………………………………………………...……42
Axis Interpolation…………………………………………………………….................……..45
Page 2
PowerMill Introduction
PowerMill is a stand-alone CAM system that quickly produces additive toolpaths, inspection
probe paths, and gouge-free NC toolpaths from CAD models using 2.5D machining, 3-axis
machining, or multi-axis simultaneous machining. These toolpaths can then be checked for
collisions against other models (for example, clamps) and the tool holder before being output
to cutter location and tape files.
PowerMill has a wide variety of direct interfaces. It supports IGES, VDA, and STL data
formats, which enables you to import data from any CAD system that supports these neutral
formats.
Using PowerMill's simulation, you can load entire machine tools to verify toolpaths and
visualise machine and cutting tool actions from different perspectives.
Page 3
Screen Layout
The following window is displayed when starting up PowerMill
1 Quick Access Toolbar - Enables you to quickly access frequently used ribbon commands, such as Save,
without having to navigate the ribbon.
5 View toolbar - Provides quick access to common views and shading options in PowerMill. The full range of viewing
options are available on the view tab.
6 ViewCube - Enables you to interactively orientate the contents of the graphics window.
7 Status and Information toolbar - Enables you to create and activate workplanes, display various preset and user-
defined settings. If you hover the cursor over a button, help is displayed. The help can be, for example, a brief description
of the item beneath the cursor, or information about the calculation that is in progress
Page 4
Mouse Manipulation
Page 5
Interactive Manipulation Examples
Let’s get familiar with PowerMill’s mouse and interface controls.
Go to the browser the is located at the top of the Explorer on the left-hand side of the UI. Clicking on the
browser tab will display the home page of where we will be working during this lab.
Then click on the Autodesk University Las Vegas 2018 link to go to the next page. From here, click on
the Model Manipulation link to get to the interactive examples on basic mouse functions needed to
progress further in this course.
These examples should only take approximately 10 minutes. Please read through everything carefully
Page 6
Toolpath Editing
A huge advantage PowerMill has over its competitors, is that a lot of changes that the programmer needs to
make to a calculated toolpath can be done afterwards. PowerMill allows quick Modification to non-cutting
segments items like speeds and feeds, change entry and exit moves (leads and links) as well as intuitive
toolpath editing functionality which enables you to easily reorder or remove segments of a toolpath, and to
modify the properties of toolpath segments such as start and end points.
Toolpath editing allows for quick tidy up unwanted toolpath segments, which leads to more efficient toolpaths.
Additionally, toolpath editing is used to improve the safety of your toolpaths by avoiding collisions or alleviating
problems on specific machine tools. For example, editing the tool axis across a segment to avoid a collision
with the machine spindle or table.
You can access many of the functions you need to edit toolpaths from the Toolpath Edit tab on the ribbon.
Page 7
Basic & Intermediate Toolpath Editing
Let’s get familiar with some of PowerMill’s basic and intermediate toolpath editing options.
Go back to the browser and navigate to the Advanced Toolpath Editing page.
Click on the Toolpath editing link (shown above), then click on the image in the Basic &
Intermediate Editing section to load in the project.
Page 8
Ramp Moves
PowerMill has the intelligence to warn the user about movements into the stock that need some attention
during roughing operations. In this first example, expand the Toolpaths branch that is located in the Explorer
and expand the 1_Ramp Moves folder. In this folder is the uncalculated toolpath Plunge Warning.
We need to activate this toolpath before we can calculate it. Right click on the toolpath to open up the menu of
options available on this toolpath. Select Activate from the menu. You will notice that the toolpath in the
folder has now been bolded.
Now:
Page 9
After the toolpath calculates, the following warning will display.
Reading the warning, PowerMill is letting the user know that there are areas within the roughing toolpath that
are potentially plunging into stock. Depending on the material that is being machined, the toolpath should be
edited to adjust to these movements. Press OK to proceed.
Since PowerMill’s cutting segments and non-cutting segments are independent from each other, we can simply
add ramp moves after the calculation.
The non-cutting segments update quick to allow the user to move onto programming their part instead of
waiting for the entire toolpath to recalculate itself.
Page 10
Speeds and Feeds
Simply changing the speeds and feeds of a particular toolpath can be a daunting task for some CAM systems.
With PowerMill, this is relatively simple process.
In the folder 2_Speeds and Feeds there are (2) toolpaths that have the default speeds and feeds values of
1500 RPM and 70 IPM. Since these are drilling toolpaths, these feeds could potentially cause damage to the
tool.
To fix this:
Page 11
Again, this was a very simple process to change the speeds and feeds for the active toolpath without having to
recalculate the toolpath.
There is another toolpath in the same folder. Activate Peckdrill_Holes and enter in the following values:
▪ 650 RPM
▪ 4 IPM cutting
▪ 20 IPM plunge
▪ 1200 IPM skim
Page 12
Leads & Links
Entry moves and exit moves are easily driven and modified after the calculation of the toolpath. Allowing the
ability to make these changes freely can save lots of time since there is no waiting for calculation times. This
also allows drastic time savings because of improved efficiencies.
Look at the image below, this is an image of Raster Top that is located in folder 3_Vertical Arc Leads
Page 13
1. Go to the Lead ins tab
2. In the 1st choice option, select Vertical arc and enter in the following values:
Angle - 90
Radius - 0.125
3. Press Apply
Notice that the lead in moves (orange segments) updated instantly. Now place the same values in the
leads outs tab.
The movement into each segment and the movement out of each segment looks much smoother. However,
we are still left with retract moves that are unnecessary.
Go into Toolpath Connections and go to the Links page. Change the 1st choice option to Skim and
uncheck the Apply constraints checkbox. Then press the Apply button.
Still not very efficient. Change the 1st choice option to On surface. Try using Circular arc. Observe the
differences.
Page 14
While these arc moves may not pose any issues on the machine tool. Let fix this to utilize the rapid travel
feedrates.
7. Press Apply
Now look at the statistics on the toolpath (Right click on the toolpath, select Statistics)
Page 15
Let’s look at a different toolpath. Active toolpath Swarf Pocket in folder 4_Pocket Center Leads
Notice that the toolpath starts on the wall of this vertical pocket.
The lead out page will adopt all the settings that were placed into the
lead ins page. This saves time manually placing this information in if
you want them to be the same.
Page 16
Open up folder 5_Horizontal Arc Leads and activate toolpath Swarf Corner No Leads
1. Apply horizontal arc moves to the leads ins and lead outs
2. Apply appropriate link moves
Page 17
Reorder
The reorder function allows the user to take selected segments or all segments associated with the
toolpath and change the placement as to where these segments occur or change the segment
direction.
1. Add vertical arc lead in and lead outs of 90 degrees and 0.125 radius
2. Change the links to circular links with a constraint value of 0.25
Notice that the toolpath is still very inefficient. This is because the program did not have the direction set to
both (climb and conventional directions) before calculating the toolpath.
This can be modified by going to the Toolpath Edit tab and selecting the Reorder icon. This will open up a
form with all of the cutting segments listed. Select the alternate directions icon on the left hand side of the box.
Without recalculating the toolpath, we can changed the cut direction from climb only, to both directions.
Page 18
Toolpath Transformations
Transforming options like copying, moving, rotating and mirroring can all be applied to toolpaths.
Activate the toolpath Multiple Passes that is inside the folder Copy Multiple. Then go to the Toolpath Edit
tab and select the Transform icon.
Then, in the floating toolbar, select the copy option and place a value of 10 in the field.
At the bottom of the interface in the green field (in the status bar), place a value of 0 0 0.125 and hit enter.
Close the toolbar and press the green check mark on the ribbon to accept the change. PowerMill will keep the
original toolpath and create a copy Multiple Passes_1
Activate this toolpath and right click on it. Select the very first item Simulate from Start. The Simulation tab
will activate automatically. Press the Play button.
Page 19
Notice how the toolpath, starts and the bottom and cuts upwards.
Page 20
Let’s try a different type of transformation. Open folder 8_Mirror Toolpath and activate toolpath
Multiple Passes Copied.
This part is symmetrical about the X axis. We will mirror this toolpath to the other side of the part to save some
time.
Go to the Toolpath Edit tab and select the Transform icon. Select the Mirror icon. When the floating toolbar
pops up, select the ZX button. You see the preview of the new toolpath in purple.
Page 21
Editing Feedrate on Selected Surfaces
In some cases, we may want to control how the tool cuts at certain locations in the toolpath. We can select
certain surfaces and change the feedrates independently from the rest of the programmed toolpath.
Open folder 9_Edit Feed On Surfaces and activate toolpath Swarf Corner With Leads
Right click on the toolpath in the explorer and search for the sub menu Edit. Another menu will fly out. Select
the option Update Feed Rate On Chosen Surfaces…
A pop-up dialog box will appear. In the graphics window, select the large interior fillet where the toolpath is
cutting and then press the icon on the dialog box to create a set (left). Then select the acquire icon (right) to
add this surface to the set. Leave the cutting parameters the same.
To view the change. Go to the Toolpath tab and select the Feeds within the Draw group.
Page 22
Moving start Points
PowerMill allows the movement of start and end points on a closed toolpath.
Go the Toolpath Edit tab in the ribbon and apply some appropriate leads and links to avoid the toolpath lifting
and plunging on the wall of the circular pocket. Once finished, select the Move Start Points icon.
The ribbon interface will alter to give only the options available in this editing tool, there are two options for
moving start points. The default option is to move all the start points at one time. Draw a line to where the
new start points should take place.
Try using the Single option. Drag the control points individually. Notice how the leads and links adjust
automatically.
Page 23
Edit History Replay
Some applied edits will replay themselves if the toolpath needs to be recalculated for items that cannot be
edited outside the calculation (ie, thickness, tolerance, stepovers………)
Open folder 11_Edit Reply in the Explorer and activate toolpath Toolpath_Limiting. Let’s make some
changes to the toolpath.
4. Go to a top view
7. Press Apply
Page 24
12. Right click on toolpath Toolpath_Limiting_1_1 and press Select Surfaces
13. Right click on the toolpath again and select settings
14. Press the recycle icon to open the parameters of the toolpath
15. Change the Thickness to 0.02 and hit Calculate
Notice that the toolpath re-generated itself to the new thickness value that was applied and then it replayed the
edits back to it that we just applied earlier.
Page 25
Edit Named Parameters
There are times where you may want to change a certain parameter in multiple toolpaths.
Go to folder 12_Edit_Named_Parameter.
There are seven toolpaths in this folder. The toolpaths labelled Swarf_Wall _1 thru Swarf_Wall_6 all have a Z
maximum height value of -1.5. This value was a mistaken left in during the calculation.
Toolpath Swarf_Master has the appropriate value of 0, which allows the toolpath to machine from the top of
the walls down to the bottom. We want to apply this value to the others in this folder.
Page 26
4.In the Enter Parameter Name field, type in ZRange.Maximum.Active and press the green checkmark.
Notice now that each one of those toolpaths now cuts from the top of the wall down to the bottom of the wall
like the Swarf_Master does.
Page 27
Dynamic Machine Control
When programming parts with 4th and 5th axes movements, a large benefit in programming is being able to use
a simulation file to check the behavior of the toolpath in the machining environment before outputting code and
finding faults before it is too late.
Another large benefit is being able to use the machine simulation file (MTD) to correct these faults either before
or after the toolpath has been calculated.
Page 28
Collision Checking
During the toolpath calculation, generally PowerMill gouge checks against the model with the cutting portion of
the tool assembly. After the calculation, a colored status light is displayed. These status lights give
information about the safety of the toolpath. A white check mark, means that the toolpath is gouge free.
It is up to the user to take this safety to the next level. They have the option to check for collisions against the
tool assembly after the toolpath calculation or during the toolpath calculation.
Go up to the Browser and select on the image in the Dynamic Machine Control section. Expand the
Toolpaths branch and expand the Collision Checking folder & activate toolpath Finish Locks.
The toolpath indicates that is has been calculated as gouge free. Let’s make sure that the whole tool assembly
is safe before it gets sent out to the machine.
4. Press OK
Notice that the status light has changed from white to blue.
This indicates that the entire tool assembly is safe to within
0.05 to the model.
Page 29
Colliding Segments
Toolpath segments can be selected and deleted to suit the program needs.
Go to the Toolpath edit tab and select the Verification icon. Leave the parameters and press Apply.
Press OK
Un-shade the model by pressing the F3 key or pressing the icon on View toolbar
2. Once the dialog box opens, select the first line (1),
hold the shift button and select the last line (30).
Then press the red X in the top left corner.
Page 30
Replace Tool
Open folder Replace Tool and activate toolpath Finish_Pocket_Replace
Run the same verification as we did in the last two examples. Once the PowerMill box warns the user about
the collision, press OK.
3. Press Apply
PowerMill will now replace the original tool with this new
tool and update the collision status. Since there are still
collisions involved, repeat the process, but select tool
1 1/4in Button Ultra Slim Long.
4. Press Apply
5. Press OK
Page 31
DMC – Swap Configuration
This editing tool can be used to easily modify a 3 axis, 3+1 axis or 3+2 axis toolpath to avoid potential near collisions
or actual collisions using a replica of the machine tool (MTD file).
Open folder DMC – Fix and activate toolpath Raster_Flats_Safe. Run the verification with the same parameters.
PowerMill indicates a collision at a depth of 0.12, minimum tool over hang is 3.12
Open the Tools branch in the Explorer. The tool that is associated with this toolpath is already active.
Right click on 1in Button HeatShrink Long and select Settings. Go to the holder tab and adjust the overhang to
3.125 and press Close
Notice the status light on that toolpath changed from red to blue, indicating that it is now a safe toolpath.
Normally we would be satisfied with sending this off to the machine, however since we have a machine simulation
file (MTD), we can run a full machine simulation to verify this.
The machine file will attach itself to the tool holder and the Simulation tab will open. Press the play button.
Activate toolpath Raster_Flats_Unsafe and run the verification. This time there were no collisions because we
already fixed the overhang on the previous toolpath.
Page 32
1. Go to the Toolpath Edit tab and select the Dynamic Machine Control icon
2. Press the Swap Configuration icon (this flips the machine tool to the alternate solution)
Page 33
DMC – Change Tool Axis in One Region
Let’s look at another example. Activate toolpath Raster_Wall_One_Solution and simulate. The simulation should
stop once PowerMill detects the collision between the toolholder and the model.
Press OK to continue
5. Press Close
Page 34
DMC – Change Tool Axis In Multiple Regions
The Dynamic Machine Control now also allows us to select different regions in the toolpath to make edits.
Activate toolpath Corner_Multiple_Solutions in folder DMC – Fix. Running a simulation will surely cause a
collision to the toolholder. But since this toolpath wraps around both walls, a single solution is not possible.
Go to the Toolpath Edit tab and select the Dynamic Machine Control icon
Press the Select Regions icon opens the following dialog box, then:
10. Drag the tool to the opposite side and enter the values
in the position form C -135 & B -30
12. Close the forms if any are open, then press the green
checkmark
Let’s fix this by going to the Toolpath Edit tab and selecting the Reorder icon
Manually select the first half of the toolpath by selecting with a box
Page 36
DMC – Creating Workplanes
The DMC also allows the user to preplan their next toolpath by creating the tip with the machine tool and then
applying it to a new toolpath.
Page 37
13. Go to the Workplane page and select
workplane 1 from the dropdown menu
Page 38
Editing Within A Region
Page 39
Tool Axis to Lean
Using the Edit Within Region tool allows the ability to edit the tool axis of selected (partial) segments of a toolpath
while preserving the toolpath contact positions.
Go up to the Browser and select on the image in the Edit Within Region section. Expand the Toolpaths
branch and expand the Apply Lean folder. Activate toolpath Corner_Finishing_Lean.
Change the leads and links to appropriate moves then simulate it. The toolpath will stop simulating because of
a collision between the holder and the model.
At this point, we could re-calculate the toolpath with an appropriate tool axis movement to utilize some live five
capabilities. However, we can take advantage of a powerful editing tool that PowerMill provides to the user.
Go to the Toolpath Edit tab and select the Edit Within Region icon.
Page 40
Click on the Specify Changes tab, then:
Page 41
Tool Axis to Fixed Direction
During the simulation, you may have noticed that there was quite a bit of movement in the rotary axis when the
toolpath cut on the side of the model that has the wavy cut outs. Since we applied a lean to the entire toolpath,
the tool axis by default stays perpendicular to the toolpath segment.
Let’s use the same tool, but this time we will only edit the portion of this toolpath to eliminate the unnecessary
table movement.
Right click on the toolpath and simulate from start. This time pause the simualtion in the area we are trying to
fix, but try to pause it close to the A20 C180 mark (turn on the Machine Tool position to view the angles). Once
paused, type in these values into the A & C axis fields.
Page 42
Go to the Toolpath Edit tab and select the Edit Within Region icon. Change the Define Region By option to
Polygon.
Select a box around the portion we are going to modify and press Save Selection
Go to the Specify Changes tab and select the icon next to the Tool Axis.
Select the icon in the Direction section to input the new vector.
Click on the Align with tool icon to change the new vector to how we have the tool aligned currently in the
simulation.
Press Apply, but do not hit cancel. Leaving the tab open allows the option to undo the changes. Just simply
move the box out of the way by dragging it.
Page 43
Run the simulation on the toolpath. The tool axis it that region now stays fixed to the new vector we applied.
However, the interior corner in the opposing side of the part is causing a large violent change of direction.
Pause the simulation near A20 B315. Place these value in the Machine Tool Position form
Go back to the Select Regions tab and keep the selection on Polygon. Create a polygon in the corner and
press Save Selection.
Go to:
1. Specify Changes
7. Press Apply
Do not close the Edit Within Region tool, but simply drag it out of the way.
Page 44
Axis Interpolation
In the previous example, we changed the behavior of the tool axis by creating a new vector from the placement
of the tool. Let’s us the same editing tool in this next example, but choose an alternitive method instead.
Open folder Axis Interpolation and active toolpath Corner_Finishing_Axis Interpolation. This toolpath
already has the lean tool axis applied to it, but the rotary table swings in the back of machine during the cycle.
We can draw the tool axes at each point in the toolpath by going to the Toolpath tab and selecting the Tool
Axes icon in the Draw group.
Zooming into the same area as the previous example, we can clearly see how the tool would behave at each
point in the toolpath in the wavy section of the model.
We will use an option in PowerMill to smooth these tool axis combs within a area that we will define.
Page 45
Go to the Toolpath Edit tab and select the Edit Within Region icon
Use the Polygon method to select a box around the wavy section in the back of the model
Tip: When creating the polygon, look for axes that are vertical in both the lefthand and righthand sides
of the bounding box. This will make all of the tool axes in between straighten towards these on the outside.
4. Press Apply
Page 46
Do not close the Edit Within Region tool, just drag it out of the way for now.
Notice how the tool axis behave in the wavy portion of the model
Now follow these steps from above and do the same operation in the interior corner on the opposing side of
the part.
Page 47
Another minor issue that we can correct is the orientation of the table during the simualtion. You may or may
not have noticed, but the table tips towards the back of the machine. The angle isn’t that great, but it may be
difficult for the operation to see what is happening.
Let’s modify this so the table tips towards the front of the machine.
Page 48
Click on the icon next to
Orientation vector
Run the simulation and view the results. The table should tip towards to operator.
Page 49
Extra Time?
Feeling good about what you’ve learned here?
Try and use some of the options we went through today, and fix the following toolpaths.
Yellow Pocket:
Raster Wall:
Autodesk Scribe:
Tip: Use a combination of machine simulation and Edit Within Region to establish the fixed direction. Using
the reordering function to bypass the cutting behavior (use the move to end option).
Page 50
Thank You!
I’d like to thank you all for attending my lab here at Autodesk University 2018. Hopefully you gained some
knowledge and understanding of how a great product like PowerMill provides amazing toolpath editing options
for its users.
Even if you are a beginner or an well versed programmer, you can see for yourself how much control the
software allows with little ease.
If you’d like to find out more about what PowerMill can provide for you or your company, go visit
https://www.autodesk.com/products/powermill/overview. You can download a free 30 day trial there and review
some great information listed there.
Here is another great link on the complete catalogue of manufacturing software Autodesk provides
https://www.autodesk.com/solutions/manufacturing
Page 51