Machine Simulation Tutorial Good
Machine Simulation Tutorial Good
April 2016
Mastercam 2017 Machine Simulation
Date: April 2016
Copyright 2016 CNC Software, Inc. All rights reserved.
Software: Mastercam 2017
TERMS OF USE Use of this document is subject to the Mastercam End User License Agreement.
The Mastercam End User License Agreement can be found at:
http://www.mastercam.com/companyinfo/legal/LicenseAgreement.aspx
Be sure you Information might have been changed or added since this document was
have the latest published. The latest version of this document is installed with Mastercam or can
information! be obtained from your local Reseller. A ReadMe file (ReadMe.pdf)installed
with each releaseincludes the latest information about Mastercam features and
enhancements.
iii
Contents
Introduction ....................................................................................................... 5
Tutorial Goals................................................................................................. 5
General Tutorial Requirements ....................................................................... 5
Machine Simulation Tutorial Requirements ................................................... 6
1. Welcome to Machine Simulation ......................................... 7
Lesson Goals ................................................................................................. 7
Exercise 1: Opening the part file ........................................................... 7
Exercise 2: Preparing the simulation environment .............................. 10
Exercise 3: Viewing The Simulation .................................................... 17
Exercise 4: Selecting a Different Machine........................................... 23
2. Using the Machine Simulation Workflow .......................... 25
Lesson Goals ............................................................................................... 25
Exercise 1: Backplotting the Toolpaths ............................................... 25
Exercise 2: Preparing and Simulating the Toolpaths ........................... 29
Exercise 3: Viewing the Simulation..................................................... 33
Exercise 4: Adjusting the Fixture ........................................................ 37
Exercise 5: Verifying Material Removal............................................... 39
3. Toolpath Analysis with Machine Simulation...................... 41
Lesson Goals ............................................................................................... 41
Exercise 1: Analyzing Before Fixturing ................................................ 41
Exercise 2: Analyzing Before Machine Selection ................................ 44
4. Machine Simulation for 3-Axis Toolpaths .......................... 53
Lesson Goals ............................................................................................... 53
Exercise 1: Simulating Stock Removal................................................ 53
iv MASTERCAM 2017 2017
Tutorial Goals
Introduce you to the machine simulation workspace.
Illustrate the machine simulation workflow.
Show the benefits of using machine simulation.
Analyze toolpath motion with machine simulation.
Simulate both 3-axis and multiaxis toolpaths.
MACHINE SIMULATION
LESSON 1
1 Welcome to Machine Simulation
This chapter introduces you to the Machine Simulation interface, including selecting a
machine for simulation, running a simulation, and selecting options for displaying your
part.
Lesson Goals
Starting Machine Simulation
Navigating through the Machine Simulation interface
Selecting a different machine
d Click OK.
3 Open the Swarf part file that was provided with this tutorial.
MACHINE SIMULATION
OPENING THE PART FILE 9
If the Levels Manager is not displayed, select Levels on the View tab to toggle
the display.
5 Notice that the part is located on the main level and the fixture is on level 6.
MACHINE SIMULATION
10 MASTERCAM 2017 / Welcome to Machine Simulation
MACHINE SIMULATION
PREPARING THE SIMULATION ENVIRONMENT 11
Mastercam includes models of the most popular mill and router machines in
the industry, including examples of all three major 5-axis machine groups.
Table/table
Table/head
Head/head
The machine names are abbreviated to include information about the
configuration:
MACHINE SIMULATION
12 MASTERCAM 2017 / Welcome to Machine Simulation
MACHINE SIMULATION
PREPARING THE SIMULATION ENVIRONMENT 13
By default, Machine Simulation loads all visible surface and solid geometry as
the workpiece, but you can control this by selecting one of these options.
6 Click the Fixture drop-down list. Select From Level and select level 6.
MACHINE SIMULATION
14 MASTERCAM 2017 / Welcome to Machine Simulation
Mastercam stores the simulation startup settings in the part file when you
save the file after running simulation. The next time you open this file, you can
go directly to running the simulation.
MACHINE SIMULATION
PREPARING THE SIMULATION ENVIRONMENT 15
The simulation interface lies on top of the Mastercam interface and shows the
part positioned in the machine.
If you cannot see your part, click Workpiece in the Simulation tab to display
it. If your display includes additional windows, choose View, Reset to match
the picture shown above.
10 Close the CutSim and Measure windows.
MACHINE SIMULATION
16 MASTERCAM 2017 / Welcome to Machine Simulation
The Move List displays the coordinates for each toolpath move.
12 Repeat the previous step and select the following windows:
Analysis (Toolpath)
Machine
Report
All of these windows will be used during the tutorial.
The window layout should now look like the following image:
You may have to dock the Machine tab with the other tabs, as it may appear
above the others.
MACHINE SIMULATION
VIEWING THE SIMULATION 17
Moving the slider bar to the left side decreases the speed of the
simulation, but increases the detail of the simulation.
Moving the slider bar to the right side increases the speed of the
simulation, but decreases the detail of the simulation. The simulation skips
an increasing number of steps and if a collision occurs in the skipped
steps, it is still reported.
3 Click Run to begin the simulation.
The simulation proceeds step by step through the toolpath. Notice that the
progress bar along the bottom of the screen and the Move List in the upper
right corner both update as the simulation continues.
4 An error message will display,
notifying you of a collision. Click Yes
to All to continue running the
simulation.
MACHINE SIMULATION
18 MASTERCAM 2017 / Welcome to Machine Simulation
To look more closely at the motion, move your mouse to the workpiece
center and roll your mouse wheel to zoom in.
MACHINE SIMULATION
VIEWING THE SIMULATION 19
6 Click the Move List tab at the bottom of the report window to display the list
of coordinates for each toolpath move.
8 Move the slider on the progress bar at the bottom of the screen all the way to
the left to start at the beginning of the toolpath.
MACHINE SIMULATION
20 MASTERCAM 2017 / Welcome to Machine Simulation
MACHINE SIMULATION
VIEWING THE SIMULATION 21
12 Click and hold the left mouse button while moving the cursor down in the
simulation window. This action rotates the part down and allows you to see
the toolpath more clearly.
13 Click Run to play the simulation again.
MACHINE SIMULATION
22 MASTERCAM 2017 / Welcome to Machine Simulation
The workpiece focus mode lets you concentrate on just the tool motion.
14 Set the focus back to Machine and set the view to Isometric.
16 Exit the Machine Simulation and return to the main Mastercam screen.
MACHINE SIMULATION
SELECTING A DIFFERENT MACHINE 23
This exercise includes just a few of the possible viewing options in Machine Simula-
tion. You try more in the following chapters.
MACHINE SIMULATION
24 MASTERCAM 2017 / Welcome to Machine Simulation
5 Increase the simulation speed with the slider (as shown in Exercise 2) and then
click Run.
6 When the simulation is complete, click the Report tab to see the results. No
collisions are reported.
7 Click Exit to close Machine Simulation and return to the main Mastercam
screen.
Testing your parts in different positions and on different machines is an integral part
of the machine simulation process. The next chapter goes into more detail on this
process, including backplot and material removal verification as part of the recom-
mended workflow.
MACHINE SIMULATION
LESSON 2
Using the Machine Simulation
2
Workflow
Now that you have a basic idea of how Machine Simulation works, this lesson goes
into more detail on how Machine Simulation can fit into your machining process.
Adding Machine Simulation to your workflow helps you choose the best setup for
each part and machine.
Lesson Goals
Backplotting toolpaths to analyze toolpath motion
Simulating toolpaths to check fixturing and machine motion
Verifying toolpaths to confirm material removal
The toolpaths included in the part file machine the green area of the part. This
part is ideal for 5-axis toolpaths, because you can potentially machine the
whole part in one setup. This would be difficult on a 3-axis machine.
3 Use the Levels Manager to display the vise on Level 2.
MACHINE SIMULATION
BACKPLOTTING THE TOOLPATHS 27
This is just one possible fixturing solution for this part. In every case, you must
decide how to hold the part in the machine.
MACHINE SIMULATION
28 MASTERCAM 2017 / Using the Machine Simulation Workflow
Turning these options off keeps the part stationary in the graphics window
and moves the tool around the part.
7 Click OK to close the Backplot Options dialog box.
MACHINE SIMULATION
PREPARING AND SIMULATING THE TOOLPATHS 29
As the backplot progresses, watch the tool and holder for any collisions with
the part or fixture. Rotate the part or zoom out if necessary to get a better
view of the tool motion.
MACHINE SIMULATION
30 MASTERCAM 2017 / Using the Machine Simulation Workflow
For more information on additional machines for simulation, please contact your local
Mastercam Reseller.
1 Copy the HERMLE800 folder provided with this tutorial to the following
location:
C:\Users\Public\Public Documents\shared Mcam
2017\MachineSimulation\MachSim
Each folder represents a machine and contains the files needed to simulate
that machine:
XML file with the kinematic machine structure
GIF file that displays in the startup settings dialog box
STL models that represent the machines physical components
2 Select the dialog box launcher in the Machine Simulation group on the
Machine tab.
MACHINE SIMULATION
PREPARING AND SIMULATING THE TOOLPATHS 31
Click the Machine drop-down list and select the Hermle800 machine
that now appears in the list.
Set Geometry to From Level and 5.
Set Position to Translation in XYZ.
Set Y to 2.5 and Z to -3.
Select From Level and select level 2.
Enter 0.012 for the Simulation tolerance.
MACHINE SIMULATION
32 MASTERCAM 2017 / Using the Machine Simulation Workflow
MACHINE SIMULATION
VIEWING THE SIMULATION 33
5 Click Isometric and Fit to display the entire machine in the simulation
window.
3 Click on the first collision in the Report tab to jump to that toolpath section.
MACHINE SIMULATION
34 MASTERCAM 2017 / Using the Machine Simulation Workflow
MACHINE SIMULATION
VIEWING THE SIMULATION 35
11 Right-click in the graphics view and select Other Views, Right to move to the
right side view.
MACHINE SIMULATION
36 MASTERCAM 2017 / Using the Machine Simulation Workflow
This position gives you a better view of the collision between the spindle and
the fixture.
MACHINE SIMULATION
ADJUSTING THE FIXTURE 37
12 On the side of the Move List, pull the slider bar down to step through the
two collisions in this operation.
13 Exit Machine Simulation when you are satisfied and return to Mastercam.
MACHINE SIMULATION
38 MASTERCAM 2017 / Using the Machine Simulation Workflow
3 Click Simulate.
5 Click Isometric and Fit to display the entire machine in the simulation
window.
6 Click Run to simulate the toolpaths.
MACHINE SIMULATION
VERIFYING MATERIAL REMOVAL 39
3 Click Simulate.
Because you selected stock in the simulation settings, machine simulation
automatically opens in material removal mode.
MACHINE SIMULATION
40 MASTERCAM 2017 / Using the Machine Simulation Workflow
You can see the tool actually removing material from the part as it moves
through the toolpaths.
Flute collisions are reported on two of the operations. One way to fix this
issue would be to return to Mastercam and extend the tool shank length for
the tool that is used by these operations.
5 Click Exit to close the simulation window and return to Mastercam.
The final workflow step is to cut the part on the actual machine. Since you have tested
this machining strategy in several ways, you can feel confident that the part will cut
correctly.
The next chapter provides information about additional toolpath analysis in machine
simulation.
MACHINE SIMULATION
LESSON 3
Toolpath Analysis with Machine
3
Simulation
Mastercams Machine Simulation provides several tools for evaluating your toolpath
efficiency and accuracy. These tools can help you determine the best cutting strategy,
fixturing, and positioning for your multiaxis parts.
Lesson Goals
Inspecting part positioning
Analyzing tool motion
Adjusting analysis options
The part file has a simulation machine and position already assigned.
MACHINE SIMULATION
ANALYZING BEFORE FIXTURING 43
5 Click on the issue in the Report tab and machine simulation jumps to where
the problem occurs.
6 Zoom in to the part and click Right to get a clearer view.
MACHINE SIMULATION
44 MASTERCAM 2017 / Toolpath Analysis with Machine Simulation
MACHINE SIMULATION
ANALYZING BEFORE MACHINE SELECTION 45
3 Select the dialog box launcher in the Machine Simulation group on the
Machine tab.
MACHINE SIMULATION
46 MASTERCAM 2017 / Toolpath Analysis with Machine Simulation
If the toolpath is not displayed, click Toolpath in the Visibility section of the
Simulation tab.
7 To see the tool motion more clearly,
click the Machine tab, right-click on
the workpiece in the tree control,
and choose Hide.
MACHINE SIMULATION
ANALYZING BEFORE MACHINE SELECTION 47
10 Rotate the part and zoom in if necessary to get a better view of the color
changes.
MACHINE SIMULATION
48 MASTERCAM 2017 / Toolpath Analysis with Machine Simulation
12 Select the yellow color from the Colors dialog box and click OK.
MACHINE SIMULATION
ANALYZING BEFORE MACHINE SELECTION 49
The new color provides a better contrast and makes it easier to see the
direction changes.
14 Select Sequence from the drop-down list at the top of the Analysis tab.
This analysis colorizes the toolpath in a hot to cold gradient, which identifies
the following attributes:
Machining start and end points
Cutting method (zigzag or one way)
Cut order (inside to outside, outside to inside)
MACHINE SIMULATION
50 MASTERCAM 2017 / Toolpath Analysis with Machine Simulation
The default colorization uses ten gradients, starting with red at the beginning
of the toolpath and ending with blue. You can see where the toolpath begins
and ends and that it moves in a zigzag pattern.
MACHINE SIMULATION
ANALYZING BEFORE MACHINE SELECTION 51
TIP: You can add more gradients by clicking the Add button at the top of
the Analysis dialog box.
MACHINE SIMULATION
52 MASTERCAM 2017 / Toolpath Analysis with Machine Simulation
MACHINE SIMULATION
LESSON 4
4 Machine Simulation for 3-Axis Toolpaths
Whether youre creating 3-axis or 5-axis toolpaths for your parts, Machine Simulation
lets you see your part being machined virtually so you can optimize your toolpath
motion. Even 3-axis toolpaths can benefit from the stock removal and fixture testing
that Machine Simulation offers.
Lesson Goals
Using an STL file to simulate stock removal
Testing fixturing options in Machine Simulation
Creating a presentation of simulation results
NOTE: Mastercam will ask you to switch from Metric to English. Select
All settings and click OK.
54 MASTERCAM 2017 / Machine Simulation for 3-Axis Toolpaths
2 Use the Levels Manager to display the vise on level 1000, the jaw on level
1001, and the stop on level 1002.
MACHINE SIMULATION
SIMULATING STOCK REMOVAL 55
5 Select the dialog box launcher in the Machine Simulation group on the
Machine tab.
MACHINE SIMULATION
56 MASTERCAM 2017 / Machine Simulation for 3-Axis Toolpaths
If you dont see the workpiece, click the drop-down arrow below the
Workpiece button and select Show.
7 Confirm that Toolpath is selected to display the tool motion.
MACHINE SIMULATION
ADDING A FIXTURE AND STOCK 57
8 Zoom into the part and click Run to view the simulation.
9 When the simulation is complete, click Exit to return to the main Mastercam
screen.
Now that youve seen the basic tool motion, you can adjust the simulation
environment to check stock removal and test fixturing.
MACHINE SIMULATION
58 MASTERCAM 2017 / Machine Simulation for 3-Axis Toolpaths
4 Select the vise, jaw, and stop in the graphics window and press [Enter] to
return to the dialog box.
5 Click the Stock drop-down list and select Load STL file.
MACHINE SIMULATION
ADDING A FIXTURE AND STOCK 59
6 Click the button to the right of the Stock drop-down list and select
pocket_stock.stl that was provided with this tutorial.
7 Click Simulate.
9 Zoom in on the part in the machine. The STL file displays as blank stock.
MACHINE SIMULATION
60 MASTERCAM 2017 / Machine Simulation for 3-Axis Toolpaths
MACHINE SIMULATION
SIMULATING WITH DIFFERENT FIXTURES 61
MACHINE SIMULATION
62 MASTERCAM 2017 / Machine Simulation for 3-Axis Toolpaths
5 Select all the toolpaths in the Toolpaths Manager except the FBM Mill
operation.
6 Select the dialog box launcher in the Machine Simulation group on the
Machine tab.
7 Use the following parameters on the Simulation tab:
MACHINE SIMULATION
SIMULATING WITH DIFFERENT FIXTURES 63
9 Use the following buttons on the toolbar to make it easier to see the
toolpaths and stock removal:
Click Toolpath on the Simulation
tab to display the tool motion.
MACHINE SIMULATION
64 MASTERCAM 2017 / Machine Simulation for 3-Axis Toolpaths
MACHINE SIMULATION
SIMULATING WITH DIFFERENT FIXTURES 65
11 When the simulation is complete, click Exit to return to the main Mastercam
screen.
MACHINE SIMULATION
66 MASTERCAM 2017 / Machine Simulation for 3-Axis Toolpaths
Conclusion
Congratulations! You have completed the Machine Simulation tutorial. Now that you
have mastered the skills in this tutorial, explore Mastercams other features and func-
tions.
You may be interested in other tutorials that we offer. The Mastercam tutorial series is
in continual development, and we will add modules as we complete them. Visit our
website, or select Help, Tutorials from the File tab to see the latest publications.
Mastercam Resources
Enhance your Mastercam experience by using the following resources:
Mastercam HelpAccess Mastercam Help by selecting Help, Contents from
Mastercams File tab or by pressing [Alt+H] on your keyboard. Also, most
dialog boxes, function panels, and ribbon bars feature a Help button that
opens Mastercam Help directly to related information.
Mastercam ResellerYour local Mastercam Reseller can help with most
questions about Mastercam.
Technical SupportCNC Softwares Technical Support department (860-875-
5006 or [email protected]) is open Monday through Friday from 8:00
a.m. to 5:30 p.m. USA Eastern Standard Time.
Mastercam TutorialsCNC offers a series of tutorials to help registered users
become familiar with basic Mastercam features and functions. The Mastercam
tutorial series is in continual development, with new modules added as we
complete them. Visit our website, or select Tutorials from the Help menu to
see the latest publications.
Mastercam UniversityCNC Software sponsors Mastercam University, an
affordable online learning platform that gives you 24/7 access to Mastercam
training materials. Take advantage of more than 180 videos to master your
skills at your own pace and help prepare yourself for Mastercam Certification.
For more information on Mastercam University, please contact your
Authorized Mastercam Reseller, visit www.mastercamu.com, or email
[email protected].
Online communities You can find a wealth of information, including many
videos, at www.mastercam.com. For tech tips and the latest Mastercam news,
follow us on Facebook (www.facebook.com/mastercam), Twitter
(www.twitter.com/mastercam), or Google+ (plus.google.com/+mastercam).
MACHINE SIMULATION
MASTERCAM DOCUMENTATION 67
Mastercam Documentation
Mastercam installs the following documents in the \Documentation folder of your
Mastercam installation:
Whats New in Mastercam 2017
Mastercam 2017 Installation Guide
Mastercam 2017 Administrator Guide
Mastercam 2017 Transition Guide
Mastercam 2017 Quick Reference Card
Mastercam 2017 ReadMe
Contact Us
For questions about this or other Mastercam documentation, contact the Technical
Documentation department by email at [email protected].
MACHINE SIMULATION
68 MASTERCAM 2017 / Machine Simulation for 3-Axis Toolpaths
MACHINE SIMULATION
Attention! Updates may be available.
Go to Mastercam.com/Support for the latest downloads.