Mastercam Development Process
Mastercam Development Process
This is not an example to teach any software details at all, although what you remem-
ber will always benefit you. It is only a presentation example. Just follow the individ-
ual steps but do not try to learn them or remember all the details. This is just a
demonstration, one that the instructor often presents in front of the students, but also
one that is well documented, so you can try it for yourself anytime, following the writ-
ten instructions. When you try to recreate the process for the first time, it is a good
idea to adhere to the written text exactly as is, even if you do not always know what
you are doing, or even agree with every detail presented. Once you are more familiar
with Mastercam, you can choose your own personal method of development, and
modify the process to suit your own preferences. The development process starts
with a given drawing - coming from the engineering office, from the customer, or
from any other source. An engineering drawing is the basic requirement. We will use
the drawing shown on the previous page.
Tool
Tool Description Comment Operation
number
Tool 2 T02 ∅ ½ spot drill 90° tool point G82 cycle / 0.2 sec. dwell
The example part in the drawing is made from a 4x3x1/2 aluminum plate (AL 6061).
Part zero will be at the lower left corner, and at the top of the part, and three tools will
be used:
■ T01 will make a single cut around the part, in the climb milling mode
■ T02 will spot drill all six hole locations to the chamfer diameter of 0.28: 0.25+0.015+0.015=0.2800
■ T03 will drill all holes through the 1/2 inch material, with a clearance of 0.05 below the part for the drill
penetration (breakthrough clearance)
Mastercam will calculate the exact length of the drill point and determines the depth
for both T02 and T03 tools.
Rapid
Tool Number H-offset D-offset RPM IPM
Z-clearance
Job Setup
Since Version 7, Mastercam provides a Job Setup feature, that allows you to select or
set various parameters, such as the stock size, cutting tools, holders, speeds and
feeds, and many others.
Observe the various options on the following screen, and try to think about their pos-
sible meaning:
We want to change several items, namely the Stock Origin, Material, as well as to
check or uncheck some boxes. The data in the boxes that contain values is changed
easily by pointing the mouse into the box, and replacing the current value with the
new value. To check or uncheck a box, just click in the small square.
To change the stock origin from the middle of the block to the lower left corner (which
we defined as the part zero), just click once on the red arrow, then click once on the
lower left corner of the block. The arrow should be repositioned as shown in the illus-
tration on the next page.
On the same screen, change the values in individual boxes to match the illustration.
Material Selection
The next step is to set the three tools required for the development example, from the
Job Setup screen.
Tools Selection
You can select tools separately, or from the Job Setup dialogue box. When you select
Tools... button from the Job Setup, you can define new tools, or select the ones you
want from an extensive Mastercam tool library. Initially, the tool manager display is
empty - there are no tools. Our tools are standard, so we use predefined tools.
The next illustration shows the dialogue box for the tools.
To select the other two tools, follow the same procedure - pick the Filter... box again,
and select Drill and fill-in the Tool Diameter, the Equals option (0.5 for T02, and 0.25
for T03, one tool at a time). The Tools Manager will now have three tools listed.
Gview | Isometric
You may also use the zooming features of Mastercam to position the stock outline on
the screen, as you prefer. Zooming can be done by four zooming icons, or function
keys (icon order corresponds to the description order that follows):
From the Main Menu, select File | Save, and save the current work as
DEVELOPMENT. Now, we are ready to create the required toolpath geometry.
There are several possible methods to develop the toolpath geometry, and this is just
one of them. The Gview can be set to either Isometric or Top, whichever you prefer.
Cplane must be set to T (Top)! Here are the details - with illustrations:
1 Step 01:
When you open Mastercam Mill, the Main Menu appears. Before you create any
geometry along the XY axes, you must select at which Z-depth the tool will be working
for any given tool:
With the mouse, select Z: 0.0000 from the menu. Type-in -0.3 and press the Enter key.
The Z-value on the menu will now be Z: -0.3000.
1 Step 02:
Create one rectangle as the basic contour outline - start in the Main Menu.
1 Step 03:
As the next step, we create the three lines that bound the cutout. Just enter the coor-
dinate values, when prompted at the bottom of the screen. Again, start in the Main
Menu:
Select Main Menu. The three lines should look like the above illustration.
1 Step 04:
The bottom line in the cutout must be separated into two. This is an editing process,
where existing geometry is changed. Again, start in the Main Menu.
The part of line between selection <2> and <3> is now gone. Select Main Menu.
1 Step 05:
The two chamfers are next, using the Chamfer command. Start in the Main Menu.
Chamfer:
Enter first distance <0.25> 0.375
Chamfer:
Enter second distance <0.25> 0.375
Chamfer: select first line
<select entity shown as 1>
Chamfer: select second line
<select entity shown as 2>
Chamfer: select first line
<select entity shown as 3>
Chamfer: select second line
<select entity shown as 4>
The geometry at this point should look like the following illustration.
1 Step 06:
Next, we fillet the two small 0.05 radii, using the filleting command. As the Fillet com-
mand is used often, it appears in both the Create and the Modify menus:
The result is two 0.05 radii at the bottom, as shown in the following illustration.
Now, we have to change the radius from 0.05 to 0.55 to fillet the large radii - select Ra-
dius from the screen menu, and change it:
The result is two large radii at the top of the cutout, as shown in the following illustra-
tion.
1 Step 07:
In this step, we create the small circle for one of the six holes on the bolt circle. Any
hole is OK to start with, so we select the one at the East position (3 o’clock position).
Since the holes will be drilled below the part, we need to draw the circle at the bottom
of the part. Breakthrough clearance can be added in the toolpath definition later. Part
is 1/2 inch thick, so the new Z-depth will be at -0.5:
With the mouse, select the Z: -0.3000 from the menu. Type-in -0.5 and press the Enter
key. The Z-value on the menu will now be Z: -0.5000.
1 Step 08:
In this last step, we need to create the remaining five circles. This can be done by
transforming existing geometry, using the Xform command from the Main Menu:
When you press the Enter key a special display dialog will appear. Fill in the data as
shown in the screen dialogue box:
There are six circles on the screen, the original one in red, and the result of the Xform
command in magenta. These are only temporary colors, and we don’t need them any
more. To clear the temporary colors to their original colors, go back to the Main
Menu:
This concludes the process of toolpath geometry creation. This is also the right time
to save the geometry you have just created. From the Main Menu, select:
When the standard Windows interface will appear; just accept the name of the work
DEVELOPMENT, press the Save box, and delete the old file of the same name.
■ Note ...
Selection of the Main Menu after each step is not normally necessary, as the Backup
selection can be used more efficiently. However, starting each step from the Main
Menu allows for easier repeat of each step at the beginning of your training.
Before starting the toolpath development, the display shows both the stock outline
and the geometry created - Gview | Isometric view is shown in the illustration:
Toolpath Development
The sole purpose of developing the toolpath geometry was to create a unique data-
base of mathematical objects that Mastercam can process, and then create a CNC
part program. Now is the time to use the toolpath geometry for individual tools.
Select Top view from the Gview submenu, and Toolpaths from the Main Menu. In this
menu, there are three options that relate to the 2D applications. They are:
Contour
Drill
Pocket
Since the first tool application is milling of a contour (not a pocket), select Contour
from the menu:
In the Windows dialogue box, accept the DEVELOPMENT as the new NCI filename, by
pressing at the Save box. The selection asks for a chaining method. Chaining is a fea-
ture of Mastercam that allows you to select entities in a certain order, usually for the
cutting purposes. On the screen, there is a prompt:
Select Chain from the menu. Pick entity shown as <1> in the following illustration
(left figure), and maintain the recommended picking location, it is very important! The
selected contour will be highlighted, and an arrow will appear, showing the direction
of the cut (right figure):
You may contour more than one set of entities, so Mastercam gives you a choice on
the menu. Mastercam also offers several chaining methods. For this example, there
are no more entities to chain, and no special chaining required, so select Done from
the menu to terminate the chaining.
At this point, the first page of the Contour Properties screen will appear - the Tool pa-
rameters. This screen shows most of the data taken from the Job setup, and allows
for modifications. Fill-in the tool parameters to correspond to the screen as shown:
Now, select the second tab, Contour parameters, at the top of the screen, to fill-in the
contour parameters for the T01, to be as shown:
When you mark and click on the Lead in/out... box, another screen will appear, de-
scribing the entry and exit parameters. These parameters are used to start away from
the first entity, and end away from the last entity chained.
Mastercam gener-
ated toolpath will
show on the screen.
Complete toolpath is
shown below.
The same process will repeat for the second and the third tool, both of them drills. Re-
peat the setting of Tooling parameters for the second tool (T02) - the spot drill:
Fill the above screen (0.28 is the chamfer dia.), and select the Drill/Counterbore tab.
After you enter the drilling parameters, make sure to check the Tip comp... box. Note
that we have set the depth to 0.0, which means Mastercam will calculate the depth
from Z0, based on the tool tip values. Click on the Tip comp... box, and fill-in the pa-
rameters relating to the tool tip only (no breakthrough value is needed).
Press the OK box, after the tip angle of 90° has been entered.
For the third tool, the 0.25 drill (T03), the same process will be exactly the same. Re-
peat the setting of Tooling parameters for the T03 - the drill:
The Drill: add points menu will appear, select Manual, and pick the 6 holes by their
center. After the last hole, press the (Esc) key, then Done to terminate the selection
process and see the path. It will be the same as the previous one. Fill-in the next three
dialogue boxes as shown in the following illustrations.
The Operations menu opens up a listing of all three operations (T01, T02, and T03) in
the development example. Press the Select All box, to mark all three operations in the
operations manager, for further processing. The illustration on the next page shows
the operation manager display.
Operations Manager
Operations Manager is a very powerful way to see what operations have been done,
what tools have been used, and what files have been generated. By clicking on an
item in the manager, you can edit settings, backplot, postprocess, and perform many
other tasks.
Change the Gview to Isometric, then press Run from the backplot menu. The follow-
ing illustration shows the isometric toolpath for all three tools:
Feel free to experiment with other views, including the N-See 2000 option.
The final step is the post processing of the toolpath and all the cutting data collected
during the program development. Your program output may vary slightly from the
one shown, depending on the current configuration of the Mastercam software.
Post Processing
Post processing is a func- %
O1234
tion of Mastercam that for- (PROGRAM NAME - DEVELOPMENT)
mats the program output (DATE=DD-MM-YY - 07-12-00 TIME=HH:MM - 08:56)
to be compatible with a (1" TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - 1.)
specific machine and con- N1G20
N2G0G40G49G80G90
trol system. Press the Post N3T1M6
option in the Operation N4G0G90G54X-1.6Y-1.S1528M3
Manager, answer all the N5G43H1Z1.M8
questions about files (ac- N6Z.1
N7G1Z-.3F24.45
cept defaults), and the final N8G41D1X-1.
program will appear. N9G3X-.4Y-.4J.6
N10G1Y2.7321
N11X.2679Y3.4
If you study the program N12X3.7321
carefully, it may be close N13X4.4Y2.7321
to your preferences, but it N14Y-.4
may still need work. Mas- N15X3.3
N16G2X2.75Y.15J.55
tercam only offers a ge- N17G1Y.325
neric post processor, and N18G3X2.7Y.375I-.05
it is up to the user or the N19G1X1.3
dealer to modify it to the N20G3X1.25Y.325J-.05
desired output format. N21G1Y.15
N22G2X.7Y-.4I-.55
N23G1X-.4
Setup Sheet N24G3X-1.Y-1.J-.6
N25G1G40Y-1.6
N26G0Z1.
Setup sheet is not a part of N27M5
the post processing, but it N28G91G28Z0.M9
may be a desired selection N29M01
(1/2 TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA. - .28)
in some cases. N30T2M6
N31G0G90X2.75Y1.875S1833M3
To make a setup sheet, N32G43H2Z1.M8
N33G98G82Z-.0841R.1P.2F8.8 (*SHOULD BE Z-0.14)
start from the Main Menu, N34X2.375Y2.5245P.2
select NC utils, and Setup N35X1.625P.2
sheet. Accept the defaults, N36X1.25Y1.875P.2
and the setup sheet will be N37X1.625Y1.2255P.2
N38X2.375P.2
displayed on the screen. N39G80
You can also customize N40M5
the setup sheet, and you N41G91G0G28Z0.M9
can print it. N42M01
(1/4 TOOL - 3 DIA. OFF. - 3 LEN. - 3 DIA. - .25)
N43T3M6
N44G0G90X2.75Y1.875S3667M3
Conclusion N45G43H3Z1.M8
N46G98G81Z-.6251R.1F8.8
N47X2.375Y2.5245
This concludes the com- N48X1.625
plete development pro- N49X1.25Y1.875
N50X1.625Y1.2255
cess using Mastercam as N51X2.375
the software for a CNC pro- N52G80
gram generation. N53M5
N54G91G0G28Z0.M9
N55M30
Don’t forget to save your %
files!