Mastercam Lathe Lesson 1 Sample
Mastercam Lathe Lesson 1 Sample
GUIDE
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
LATHE-LESSON-1
FACE, ROUGH, FINISH AND CUTOFF
Mastercam Training Guide
Objectives
You will create the geometry for Lathe-Lesson-1, and then generate a toolpath to machine the
part on a CNC lathe. This lesson covers the following topics:
n
Inspect the toolpath using Mastercam’s Verify and Backplot by:
p
Launching the Verify function to machine the part on the screen.
io
Using Backplot to identify the correctness of the toolpaths.
Generating the NC- code.
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-1
Lathe-Lesson-1
LATHE-LESSON-1 DRAWING
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-2
Mastercam Training Guide
TOOL LIST
Two tools will be used to create this part.
Tool #1 Face, Rough and Finish the outside diameters
Holder: Outside Diameter Rough Right Hand - DCGNR-164D.
Insert: 80 Degree Diamond Insert – CNMG-432.
Geometry Creation
TASK 1: Setting the Environment
TASK 2: Setting the Construction Planes
D t f le
TASK 3: Create the Geometry
n
TASK 4: Create the Fillets (Radius)
TASK 5: Save the Drawing
p
Toolpath Creation
io
TASK 6: Define the Stock and Chuck Parameters
no m
Lathe-Lesson-1-3
Lathe-Lesson-1
Geometry Creation
TASK 1:
SETTING THE ENVIRONMENT
Before starting the geometry creation you should set up the grid and toolbars as outlined in the
Setting the Environment section at the beginning of this text:
1. Set up the Grid. This will help identify the location of the origin.
2. Load the Workspace – SETTINGS>Load Workspace>Lathe to machine a part on the
Lathe.
3. Set the MACHINE TYPE to the Lathe Default.
TASK 2:
SETTING THE CONSTRUCTION PLANES:
n
p
io
no m
tr r
2. Click on Lathe diameter>+D +Z (WCS) as shown below:
ut
is o
Sa
ib
Lathe-Lesson-1-4
Mastercam Training Guide
TASK 3:
CREATE THE GEOMETRY – THE RIGHT HAND FACE IS AT Z0
This task explains how to create the geometry of this part. In this lathe part you only need to
create half of the geometry, the geometry above the center line.
Lines 1 through 5 will be created first and then the fillet and chamfer will be created.
Create Line #1
D t f le
1. Watch the videos Lesson-1 - Introduction and Lesson-1 - Task 1 to 3.
n
2. Select from the pull down menu CREATE>Line>Endpoint…
p
io
no m
tr r
ut
is o
Sa
ib
3. The Line ribbon bar appears.
4. Move the cursor over the center of the grid and as you get close to the origin a visual cue
appears. With this visual cue highlighted click the left mouse button.
Lathe-Lesson-1-5
Lathe-Lesson-1
5. You are prompted to “Specify the second endpoint”. Click in the D value space
(Diameter) (as shown by the arrow below) and enter a value of 1.0. Hit the Enter key and
enter a value of 0 for the Z, hit the Enter key again. Note the value of Y is set to Zero, this
does not need to be input.
6. Click on Apply .
7. A vertical line should be visible as shown below:
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
NOTE: If you make a mistake creating lines, click on the Accept icon and click on the
Undo icon . Then redo the Line.
Lathe-Lesson-1-6
Mastercam Training Guide
Create Line #2.
8. You are next prompted to “Specify the first endpoint”. Click on the end of the line that
was just created as shown below and as you get close to the end point a visual cue
appears. This is the cue that will allow you to snap to the endpoint of this line. With
this visual cue highlighted pick the end point of the line.
D t f le
n
9. You are next prompted to “Specify the second endpoint”. On the Line ribbon bar click in
p
the D value space and enter 1.0. Hit the Enter key and enter a value of -1.5 for the Z. Note
io
the value of Y is set to Zero, this does not need to be input. Hit the Enter key once again to
complete this line.
no m
tr r
ut
is o
Sa
Create Line #3
ib
11. You are next prompted to “Specify the first endpoint”. Click on the end of the line that
was just created as shown below:
12. You are next prompted to “Specify the second endpoint”. On the Line ribbon bar click in
the D value space (Diameter) and enter a value of 1.45. Hit the Enter key and enter a value
of -1.5 for the Z. Hit the Enter key once again to complete this line.
Lathe-Lesson-1-7
Lathe-Lesson-1
Create Line #4
14. You are next prompted to “Specify the first endpoint”. Click on the end of the line that
was just created as shown below:
15. You are next prompted to “Specify the second endpoint”. On the Line ribbon bar click in
the D value space (Diameter) and enter a value of 1.45. Hit the Enter key and enter a value
of -2.0 for the Z. Hit the Enter key once again to complete this line.
D t f le
n
p
16. Click on Accept .
io
17. Fit the image to the screen by clicking on the Fit to Screen icon as shown below:
no m
tr r
ut
is o
18. Then by clicking on the Un-Zoom .8 icon as shown below:
Sa
ib
Fit
Use this function to maximize your view of visible geometry in the graphics window.
When you use this function, the system positions and sizes the displayed geometry to fill as
much of the graphics area as possible.
In addition to using the View menu, you can access this function from the right-click menu, from
the toolbar, by pressing [Alt+F1], or by pressing the Home key on your keyboard.
Unzoom .8:
This reduces the size of the displayed geometry to 80% of its current size.
Lathe-Lesson-1-8
Mastercam Training Guide
Create Line #5
19. You are next prompted to “Specify the first endpoint”. Click on the end of the line that
was just created as shown below:
20. You are next prompted to “Specify the second endpoint”. On the Line ribbon bar click in
the D value space (Diameter) and enter a value of 0. Hit the Enter key and enter a value of
-2.0 for the Z. Hit the Enter key once again to complete this line.
D t f le
21. Click on the OK icon
n
to complete this feature.
22. Select the Screen Fit icon to fit the part to the screen .
p
23. Your geometry should look like the figure below:
io
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-9
Lathe-Lesson-1
TASK 4:
CREATE THE FILLETS
1. Select CREATE>Fillet>Entities…
D t f le
n
p
io
no m
tr r
ut
is o
Sa
Fillet Entities
Use this ribbon bar to apply fillets to existing entities.
ib
Before selecting the entities to fillet, choose the fillet style (normal, inverse, circle, clearance),
and enter the desired radius value.
Then choose the first and second entities. Mastercam's auto-preview feature displays a
temporary fillet at the selected location.
You can also choose to trim to the fillet or to leave the selected lines untrimmed. Trimming is
the default, so for no trimming, select the No Trim button.
2. The Fillet Entities ribbon bar appears and you are prompted to “Fillet: Select an entity”.
Lathe-Lesson-1-10
Mastercam Training Guide
3. Click in the space for radius and input .050 and then hit the tab key.
4. You are now transported over to the Fillet Style field. Click on the drop down arrow to
review the various fillet radius styles and then ensure Normal is selected before moving on.
5. Ensure the Trim option for fillet is activated, the icon is depressed as shown below:
D t f le
n
6. Click on line 1 and then click on Line 2 as shown below:
p
io
no m
tr r
ut
is o
Sa
ib
7. Click on the OK icon to complete this feature.
Lathe-Lesson-1-11
Lathe-Lesson-1
9. Select CREATE>Fillet>Entities…
10. The Fillet Entities ribbon bar appears and you are prompted to “Fillet: Select an entity”.
D t f le
11. Click in the space for radius and input .125 and then hit the tab key.
n
p
12. You are now transported over to the Fillet Style field. Ensure Normal is selected before
io
moving on.
no m
tr r
ut
13. Ensure the Trim option for fillet is activated, the icon is depressed as shown below:
is o
Sa
ib
Lathe-Lesson-1-12
Mastercam Training Guide
14. Click on Line 1 and then click on Line 2 as shown below:
n
p
io
17. This completes the geometry for this part.
TASK 5:
no m
tr r
SAVE THE DRAWING
ut
is o
1. Select File.
Select Save As…
Sa
2.
3. In the “File name” box, type Lathe-Lesson-1.
4. Save to an appropriate location.
ib
5. Select the Save button to save the file and complete this function.
Lathe-Lesson-1-13
Lathe-Lesson-1
Toolpath Creation
TASK 6:
DEFINING THE STOCK AND CHUCK PARAMETERS
1. Select the screen Fit icon.
n
c. The Lathe - Lesson-1 Geometry is showing.
p
io
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-14
Mastercam Training Guide
4. Select the plus in front of Properties to expand the Machine Group Properties.
5. This is optional - To expand the toolpaths manager window, click on the outside of the
window with the left mouse button (hold the button down) and drag it to the right.
D t f le
n
p
io
no m
tr r
ut
is o
Sa
Lathe-Lesson-1-15
Lathe-Lesson-1
7. Select the Stock Properties button in the Stock Setup page as shown in the screenshot
below:
Note: To learn more about Stock Setup refer to the Tips and Techniques section on the
Mastercam Training Guide – Lathe DVD that accompanies this book.
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
8. In the Machine Component Manager-Stock window click on the Geometry button and
select Cylinder as shown below:
Lathe-Lesson-1-16
Mastercam Training Guide
9. In the Stock setup activate Use Margins and set the values as shown below. Note that
Axis is set to –Z.
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
10. Click on the OK icon to complete this feature.
11. Still on the Stock Setup page activate Fit screen to boundaries.
Lathe-Lesson-1-17
Lathe-Lesson-1
12. Select the Chuck Properties button in the Stock Setup page as shown in the screenshot
below:
D t f le
n
13. In the Chuck Jaws setup set the values as shown below:
p
io
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-18
Mastercam Training Guide
15. Click on the Tool Settings page:
16. Make changes as shown below then click on the Select button:
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-19
Lathe-Lesson-1
17. Select Lathe – library from the drop down Material List dialog box as shown below:
D t f le
n
p
18. Select ALUMINIUM inch - 6061 from the Default Materials list.
io
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-20
Mastercam Training Guide
21. Select the screen Fit icon.
Notice the stock setup outline as indicated by broken lines as shown below:
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-21
Lathe-Lesson-1
TASK 7:
FACE THE FRONT OF THE PART:
In this task you will use a facing tool to face the front of the part in one cut.
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
3. When prompted to “Enter new NC name” select the OK button to accept LATHE-
LESSON-1 as shown below:
Lathe-Lesson-1-22
Mastercam Training Guide
After selecting the OK button you are confronted with Toolpath parameters page. The first
task here will be to select Tool #1 an OD Rough- Right – 80 deg.
4. Click on Tool #1 OD ROUGH RIGHT and make changes in the Toolpath parameters page
as shown below:
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
5. Select the Face parameters page as shown below:
Lathe-Lesson-1-23
Lathe-Lesson-1
D t f le
n
p
io
no m
tr r
ut
is o
Sa
Lathe-Lesson-1-24
Mastercam Training Guide
8. Your screen should look like the image below:
D t f le
n
p
io
no m
tr r
Note: the new Toolpath called 1-Lathe Face. This is where all the toolpath information is
ut
is o
kept. If changes are required to this toolpath just click on the parameter icon
Sa
and the Screens from steps 4 through 8 will be available. This is handy
in case a mistake was made in setting the toolpath parameters or in case a modification
needs to be made.
ib
9. To experience how this works, click on the Parameters icon .
10. Click on the Toolpath parameters tab or the Face parameters tab as shown below:
Lathe-Lesson-1-25
Lathe-Lesson-1
As you can see, all the toolpath settings (parameters) are available in case a change or
correction is required.
TASK 8:
ROUGH THE OUTSIDE DIAMETERS
In this task you will use the same tool as used for the previous facing operation Tool #1 an
OD Rough- Right – 80 deg.
n
p
io
no m
tr r
ut
is o
2. In the Chaining window Chaining mode is set to Partial by default.
Sa
ib
Lathe-Lesson-1-26
Mastercam Training Guide
3. Select Arc 1 as the start of the Partial chain.
After you have selected the arc ensure that the arrows are pointing up and to the left of the part
D t f le
n
p
io
5. Select the OK button to exit the Chaining dialog window.
6. In the Toolpath parameters page select the same tool used to face the part Tool #1 OD
ROUGH RIGHT and make sure the settings are the same as shown below:
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-27
Lathe-Lesson-1
7. Select the Rough parameters page and make changes as shown below:
D t f le
n
p
io
no m
tr r
ut
is o
8. Select the Lead In/Out button select the Lead out page and extend the contour by .2 as
Sa
shown below:
ib
Lathe-Lesson-1-28
Mastercam Training Guide
TASK 9:
FINISH THE OUTSIDE DIAMETERS
In this task you will finish the outside diameters in one cut using Tool #1 an OD Rough-
Right – 80 deg.
D t f le
n
p
io
2. Select Last in the Chaining dialog box.
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-29
Lathe-Lesson-1
4. Select the same tool used to rough the part; Tool #1 OD Rough Right tool from the tool list
and make changes as shown below if required:
D t f le
n
p
io
no m
tr r
ut
5. Select the Finish parameters page and make changes as shown below:
is o
Sa
ib
Lathe-Lesson-1-30
Mastercam Training Guide
Corner Break: Select the check box to automatically create radii or chamfers on all outer
corners of the toolpath. Click the button to edit the corner break settings.
6. Select the Corner Break button and make changes as shown below if required:
Corner Break
Use this dialog box to automatically
create radii or chamfers on all outer
corners of lathe finish toolpaths.
You can also set the feed rate when the
tool creates the radii or chamfers.
D t f le
n
p
io
no m
tr r
ut
is o
7. Select the OK button to complete this feature.
8. Select the Lead In/Out button select the Lead out page and extend the contour by .2 as
Sa
shown below:
ib
Lathe-Lesson-1-31
Lathe-Lesson-1
TASK 10:
CUTOFF THE PART
In this task you will cutoff the part using a .125 wide cutoff tool.
1. From the menu bar select Toolpaths>Cutoff…
D t f le
n
2. Select the Alt key and the T key on the keyboard to hide the toolpath lines.
io
no m
tr r
ut
is o
Sa
ib
3. Move the cursor over the corner (where Line 1 and Line 2 meet) until the visual cue
for End point displays and then click on this point as shown below:
Lathe-Lesson-1-32
Mastercam Training Guide
4. Scroll down if required in the tool window and select the OD Cutoff Right Width .125 tool
and make changes as shown below in the Toolpath parameters page:
D t f le
n
p
io
no m
tr r
5. Select the Cutoff parameters page and make changes if required as shown below:
ut
is o
Sa
ib
Lathe-Lesson-1-33
Lathe-Lesson-1
TASK 11:
BACKPLOT THE TOOLPATH
In this task you will use Mastercam’s Backplot function to view the path the tools take to cut
this part.
Backplot will enable you to review the cutting motions and identify any problem areas when
cutting the part.
When the toolpaths are being Backplotted Mastercam displays tool path information on the
right of the screen. Information such as the current tool position in X and Z coordinates.
For more information on Backplot see the Tips and Techniques section on the
multimedia DVD supplied with this text.
1. To pick all the operations to backplot pick the Select All icon
D t f le circled below:
n
p
io
Another method to Select all the operations is by clicking on the Toolpath Group-1 in the
no m
ib
3. Maximize the Backplot/Verify window if required.
4. Select the Home Tab if required.
5. Activate the options shown below in the Visibility section of the Home tab.
Initial Stock
This displays the stock before machining.
Click to cycle through three states:
On
Translucent
Off
Tool
This displays the tool during Backplot or Verification. Click to
cycle through three states as mentioned above
Lathe-Lesson-1-34
Mastercam Training Guide
6. At the top of the screen select the View tab, the Isometric icon and then select Fit.
8. Activate the Both option in the Toolpath section of the Backplot tab.
Both
This displays the entire toolpath and the tool as it travels over
the displayed toolpath.
D t f le
n
p
io
no m
9. In the lower right corner of the screen now set the run Speed to slow by moving the slider
tr r
bar pointer over to the left as shown below.
ut
is o
Sa
10. Now select the Play Simulation button to review the toolpaths.
ib
11. Now hit the rewind button on the controls to move back to the start position.
12. After reviewing the Backplot of the toolpaths select the Close button in the top right
hand corner to exit Backplot.
Lathe-Lesson-1-35
Lathe-Lesson-1
TASK 12:
VERIFY THE TOOLPATH
Mastercam's Verify utility allows you to use solid models to simulate the machining of a part.
The model created by the verification represents the surface finish, and shows collisions, if
any exist.
This allows you to identify and correct program errors before they reach the shop floor.
Backplot and Verify are very similar. The differences between these two functions are that
Backplot offers basic simulation options. Whereas Verify offers material removal, collision
checking and precision control.
For more information on Verify see the Tips and Techniques section on the
multimedia DVD supplied with this text
1. In the Toolpaths Manager pick all the operations to verify by picking the Select All icon
n
p
io
3. Maximize the Backplot/Verify window if required.
4. Now select the Home Tab if required.
no m
tr r
ut
is o
5. Activate the options shown below in the Visibility section of the Home tab. Initial Stock not
Sa
activated.
ib
6. Activate the Color Loop to change the color of the tools for the verified part.
Color Loop
Changes the color of the toolpath or cut stock by
operation or by tool change.
7. At the top of the screen select the View tab, the Isometric icon and then select Fit.
Lathe-Lesson-1-36
Mastercam Training Guide
8. In the lower right corner of the screen now set the run Speed to slow by moving the slider
bar pointer over to the left as shown below.
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
10. Select the Close button in the top right hand corner to exit Verify.
TASK 13:
SAVE THE UPDATED MASTERCAM FILE
Lathe-Lesson-1-37
Lathe-Lesson-1
TASK 14:
POST AND CREATE THE CNC CODE FILE
Please Note:
Users of the Mastercam Home Learning Edition (HLE) will not be able to Post and Create the
CNC code file.
1. Ensure all the operations are selected by picking the Select All icon from the
Toolpaths manager.
2. Select the Post selected operations button from the Toolpaths manager.
D t f le
Please Note: If you cannot see G1 click on the right pane of the Toolpaths manager window
and expand the window to the right.
n
p
io
no m
tr r
3. In the Post processing window, make the necessary changes as shown below:
ut
is o
Sa
ib
Lathe-Lesson-1-38
Mastercam Training Guide
About Post Processing
NC file:
Select this option to save the NC file. The file name and extension are stored in the machine
group properties for the selected operation. If you are posting operations from different machine
groups or Mastercam files, or batch processing, Mastercam will create several files according to
the settings for each machine group.
Edit:
When checked, automatically launches the default text editor with the file displayed so that you
can review or modify it.
n
7. The CNC code file opens up in the default editor.
p
io
no m
tr r
ut
is o
Sa
ib
8. Select the in the top right corner to exit the CNC editor.
9. This completes LATHE-LESSON -1.
Lathe-Lesson-1-39
Lathe-Lesson-1
LATHE-LESSON-1 EXERCISE
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-40
Mastercam Training Guide
D t f le
n
p
io
no m
tr r
ut
is o
Sa
ib
Lathe-Lesson-1-41