Professional Documents
Culture Documents
X4-MCfSW-7x9-Tutor.indd 1
8/4/2009 12:53:50 PM
Mastercam for
SolidWorks Tutorial
September 2009
TERMS OF USE
Use of this document is subject to the Mastercam End User License Agreement. A
copy of the Mastercam End User License Agreement is included with the
Mastercam product package of which this document is part. The Mastercam End
User License Agreement can also be found at:
www.mastercam.com/legal/licenseagreement/
III
Contents
Introduction .......................................................................................... 1
2D Toolpaths ....................................................................................... 5
1. General Setup - Mold Core.........................................
11
23
83
INTRODUCTION
Boundary creation
Part setup (including tool and material managers)
Toolpath transformations
Backplotting
Verification
Post processing
Communications
Thread management
In this tutorial, you learn to use many strategies to apply toolpaths to parts in Mastercam for
SolidWorks.
Tutorial Goals
Set up a part in Mastercam for SolidWorks.
Define a tool plane and stock.
Create 2D High Speed toolpaths.
Create HST milling toolpaths.
Create FBM Mill and Drill toolpaths.
Backplot and verify toolpaths.
Post toolpaths.
Welcome to Mastercam
Files and Mastercam
Working in the Graphics Window
Basic 2D Design
Basic 2D Machining
For information and availability, please contact your local Mastercam Reseller.
INTRODUCTION 3
method:
Mastercam for SolidWorks HelpAccess Mastercam for SolidWorks Help by selecting Help,
Contents from SolidWorkss menu bar.
Mastercam for SolidWorks videosTo see videos of many Mastercam for SolidWorks
features, choose Videos in the Mastercam X4 Help section of the SolidWorks Help menu.
Mastercam for SolidWorks tutorial videosIn your Start menu, under Mastercam X4 for
SolidWorks, Documentation, You can find a full set of interactive tutorials that are based
on the lessons in this book.
Context Sensitive HelpMost dialog boxes feature a Help button
for SolidWorks Help directly to related information.
Online helpYou can search for information or ask questions on the Mastercam Web
forum, located at www.emastercam.com.
Mastercam ResellerYour local Mastercam Reseller can help with most questions about
Mastercam for SolidWorks.
Technical SupportCNC Softwares Technical Support department (860-875-5006 or
support@mastercam.com) is open Monday through Friday from 8:00 a.m. to 5:30 p.m. USA
Eastern Standard Time.
Documentation feedbackFor questions about this or other Mastercam documentation,
contact the Technical Documentation department by e-mail at techdocs@mastercam.com.
Additional Documentation
You can find more information on using Mastercam for SolidWorks in the book Getting Started in
Mastercam X4 for SolidWorks, which is included in the Mastercam for SolidWorks package. You can
also find a PDF version of the book in the \Documentation folder of your Mastercam for
SolidWorks installation. The default installation path is C:\Mastercam X4 for SolidWorks.
Section 1
2D Toolpaths
LESSON 1
Before generating toolpaths for a part, you must prepare Mastercam for SolidWorks and the part
file. This preparation includes such tasks as selecting a machine definition and defining a tool
plane. Failure to set up the part correctly will give unpredictable results. This lesson introduces the
tutorial part files for Section 1, 2D Toolpaths and shows how to create a machine group.
Lesson Goals
Explore the part files.
Select a machine.
Copy a toolpath.
This tutorial covers only two of the toolpaths: Facing and Area Mill.
Note: To fully machine the part requires more operations than are described in this book.
The part files included for this portion of the tutorial are:
TIP: To customize the Machine Selection list, choose Mastercam X4, Machine Selection,
Manage List. For more information on the dialog box that displays, click the dialog boxs
Help button (
).
4 In the SolidWorks FeatureManager, click
machine group.
TIP: The machine group name can be anything you want, but choose a name that describes
the machine and its operations.
12 If the copied operation is dirty (marked
LESSON 2
The first toolpath you explore in this tutorial is 2D Facing. Your starting part file,
2DToolpath01Tutorial.SLDPRT, already has a single toolpath defined (the 2D Core Mill
operation). In this lesson, you add the facing operation to the part file.
Lesson Goals
Define the parts tool plane.
Set up the parts stock model.
Add the 2D Facing toolpath.
Backplot the toolpaths.
Verify the toolpaths.
Mastercam X4 tab.
The CommandManager displays
Mastercam for SolidWorks commands.
Mastercam for SolidWorks chains the selected geometry, as shown below, and Loop<1>
appears in the Chain Managers Selection tab.
your choice.
The 2D Toolpaths dialog box displays.
TIP: Notice the Chain geometry section in the Toolpath Type page. To the left of the Select
chains button is (1), which means you have specified one chain for the toolpath. The chain
referenced is the one you created in Step 2.
pass option.
then:
a Set Retract to 2.0.
b Set Feed plane to 1.6.
c Set Top of stock to 1.5.
d Set Depth to 1.25.
e Ensure that all values are set to
Absolute.
9 Click OK to finalize your choices.
TIP: To increase Backplots speed, drag the Backplot dialog boxs slider to the right.
3 When Backplot finishes, click OK or Cancel
Verify.
Mastercam for SolidWorks simulates the cutting operation, as shown in the following
picture.
Verify.
Mastercam for SolidWorks simulates both of the cutting operations, as shown in the
following picture.
TIP: To verify the toolpaths more quickly, click the Fast Forward button( ), instead of Play.
Mastercam for SolidWorks then processes the toolpath without updating the screen until the
Verify completes.
4 Click OK or Cancel to close Verify.
Save.
Mastercam for SolidWorks analyzes all operations and creates the NC file for the part.
Because you selected the Edit option, the NC file displays in Mastercam Editor, as shown in
the following picture.
LESSON 3
2D Area Mill
Another toolpath used to cut the mold core part is Area Mill, which will cut the pocket using a
smooth, clean motion. In this lesson, you add the Area Mill toolpaths to the part. Note that the part
file you use contains three toolpaths, the two from the previous part file and an Area Clearance
toolpath.
Lesson Goals
Add the Area Mill toolpath.
Backplot the toolpaths.
Verify the toolpaths.
Mastercam X4 tab.
2D AREA MILL 25
ENDMILL.
2D AREA MILL 27
Verify.
Mastercam for SolidWorks simulates the cutting operation, as shown in the following
picture.
Verify.
Mastercam for SolidWorks simulates all of the cutting operations, as shown in the picture
below. The full verification might take several minutes.
TIP: You can click the Stop button at any time to see how far the verification process has
proceeded, and then click Fast Forward to pick up where Verify left off.
4 Click OK or Cancel to close Verify.
2D AREA MILL 29
Save.
Mastercam for SolidWorks analyzes all
operations and creates the NC file for the
part. Because you selected the Edit option,
the NC file displays in Mastercam Editor.
5 Close Mastercam Editor.
6 Save your work by choosing File, Save
Section 2
3D High Speed Toolpaths
LESSON 1
As you learned in Section 1, before generating toolpaths for a part, you must prepare Mastercam for
SolidWorks and the part file. Because the exercises in this lesson use a different part than the first
three lessons, you need to set up the new part for your machine. As before, this preparation
includes such tasks as selecting a machine definition and defining a tool plane. Failure to set up the
part correctly will give unpredictable results. This lesson introduces the tutorial part files, as well as
teaches you to set up the parts for toolpathing.
Lesson Goals
Understand the part files.
Select a machine.
Create and set the tool plane.
Define the stock.
This tutorial covers only a subset of the toolpath types used to machine the part. These toolpath
types are as follows:
Core Roughing
Rest Roughing
Scallop
Waterline
Note: To fully machine the part (shown in the following picture) requires more operations than
are described in this book.
The part files included for the phone cradle portion of the tutorial are:
TIP: To customize the Machine Selection list, choose Mastercam X4, Machine Selection,
Manage List. For more information on the dialog box that displays, click the dialog boxs
Help button (
).
rectangular base.
The selected face highlights, and its default
name, Face<1>, displays in the Define
View with geometry dialog box.
selection.
The View Manager redisplays.
Mastercam for SolidWorks analyzes the parts geometry and creates stock of the
appropriate size, as shown in the following picture.
LESSON 2
In this lesson, you program the roughing toolpath that removes the majority of the material from
the phone cradle. Because the feature to cut is a dome-shaped core, and because the tool can
approach the feature from the outside, you will create an HST Core Roughing toolpath to rough out
the part. The following picture shows the Core Roughing toolpath being cut on a Makino vertical
machining center.
Lesson Goals
Set a containment boundary.
Set toolpath parameters.
Generate the toolpath.
Backplot and Verify the toolpath.
Post the toolpath.
CAUTION: The steps in this exercise describe only the key settings required to create the
Core Roughing toolpath for the phone cradle part. Your toolpath settings might vary
depending on your selected parameters, including machine definition, tooling, material,
toolpath type, surface finish requirement, and cycle time requirement. For this reason, as
you work through this exercise, review all settings in each dialog box to ensure that the
settings are correct for your situation.
2 If necessary, click the Mastercam X4 tab to
click OK.
In a few moments, the Surface High Speed
Toolpaths dialog box displays.
Roughing.
button.
The dialog box minimizes to uncover the
SolidWorks graphics area.
that displays.
Mastercam for SolidWorks highlights all
four edges of the upper rectangle.
2000.
0.05
15 Click OK.
Verify.
Mastercam for SolidWorks simulates the cutting operation as shown in the following
picture.
Save.
Mastercam for SolidWorks analyzes all operations and creates the NC file for the part.
Because you selected the Edit option, the NC file displays in Mastercam Editor, as shown in
the following picture.
LESSON 3
Before you apply the finishing toolpath, the part needs further roughing. The Rest Roughing
toolpath is a good choice, because it removes only stock remaining from previous toolpaths, rather
than cutting the entire part. Here, you program the Rest Roughing toolpath that will smooth out the
surface of the main phone cradle. The following picture shows the toolpath being cut on a Makino
vertical machining center.
Lesson Goals
Create a containment boundary from construction geometry.
Set the toolpath parameters.
Generate the Rest Roughing toolpath.
Backplot and Verify the toolpaths.
Mastercam CommandManager.
Roughing.
button.
The dialog box minimizes to uncover the
SolidWorks graphics area.
flat endmill.
0.02
14 To set how to compute the remaining
stock:
a Select the Rest Material page
b Select the One other operation option
c Choose the Core Roughing operation,
as shown below.
16 Click OK.
of the toolpath.
3 Click OK or Cancel to close the Backplot
controls.
Verify function.
Mastercam for SolidWorks simulates the
cutting operation. The first picture
following shows the result. The second
picture following shows the part after Rest
Roughing has been completed.
TIP: To turn off the animated display, and so get to the results quicker, click the Fast
Forward button in the Verify dialog box. Verify might still take a while to complete, but not as
long as it would take if Mastercam for SolidWorks needed to concurrently update the
display.
dialog box.
7 Save your work by choosing File, Save
LESSON 4
With the roughing complete, its time to apply a finishing toolpath to the phone cradles surface.
The high speed Scallop toolpath uses a 3D stepover distance that is measured along the surface,
instead of parallel to the tool plane. This ensures a consistent scallop height, regardless of the
surface direction. In this lesson, you create a Scallop toolpath to finish the surface of the main
phone cradle. The following picture shows the toolpath being cut on a Makino vertical machining
center.
Lesson Goals
Set Scallop toolpath parameters.
Generate a Scallop toolpath.
Backplot the toolpath.
Verify the toolpath.
Mastercam CommandManager.
CommandManager.
The Surface High Speed Toolpaths dialog
box displays.
button.
The dialog box minimizes to uncover the
SolidWorks graphics area.
0.0.
15 Select the Steep/Shallow page, and set
17 Click OK.
of the toolpath.
3 Click OK or Cancel to close the Backplot
controls.
Verify function.
Mastercam for SolidWorks simulates the cutting operation for all the toolpaths. The first
picture following shows Verify in progress, whereas the second picture following shows the
completed cut on the actual part.
dialog box.
7 Save your work by choosing File, Save
LESSON 5
The last toolpath covered in the phone cradle tutorial finishes the wall areas of the part. Due to the
angles involved, which can be constrained to between 30 and 90 degrees, a Waterline toolpath is
appropriate. Waterline toolpaths are similar to finish contour toolpaths, but use Mastercam's high
speed toolpath techniques for a smoother, more efficient tool motion. In this lesson, you generate
the Waterline toolpath for the phone cradle part.
Lesson Goals
Set Waterline toolpath parameters.
Generate a Waterline toolpath.
Backplot the Waterline toolpath.
Verify the Waterline toolpath.
Mastercam CommandManager.
CommandManager.
The Surface High Speed Toolpaths dialog
box displays.
button.
The dialog box minimizes to uncover the
SolidWorks graphics area.
0.0.
16 Click OK.
of the toolpath.
3 Click OK or Cancel to close the Backplot
controls.
Verify function.
Mastercam for SolidWorks simulates the
cutting operation.
dialog box.
7 Save your work by choosing File, Save
Section 3
FBM Toolpaths
LESSON 1
FBM Mill
The part files included for the FBM portion of the tutorial are:
Lesson Goals
Set up a machine group.
Define the parts stock.
Generate FBM Mill toolpaths.
Modify FBM Mill parameters.
Backplot and Verify the toolpaths.
Exercise 1: Set Up
1 Load the part file FBMPart01.SLDPRT,
FBM MILL 75
to 2.
This change takes all of the extra stock that
is normal to the Z axis and places it above
the parts front face, which is the tool
plane.
6 Click OK.
FBM MILL 77
outside of part.
FBM Mill will now create rough and finish
toolpaths for the outside edges of the part.
4 Deselect the Create as needed option.
detected features.
The Enter new NC name dialog box
displays.
7 Type a name for the NC file, and click OK.
FBM Mill generates all of the 2D operations needed to machine the detected features, as
shown in the following picture.
FBM MILL 79
5 Click OK.
button.
FBM Mill regenerates the toolpaths, this time including the smaller hole as a detected
feature, as shown in the following picture.
button.
The Backplot controls display in the
PropertyManager.
of the toolpaths.
4 Click OK or Cancel to close the Backplot
controls.
FBM MILL 81
Verify function.
Mastercam for SolidWorks simulates the cutting operation. The following picture shows
the results.
dialog box.
8 Save your work by choosing File, Save
LESSON 2
FBM Drill
FBM Drill is a feature-based machining (FBM) strategy that can detect holes in a solid and
automatically generate a complete series of drill operations for the selected features. With FBM
Drill you can:
Lesson Goals
Generate FBM Drill toolpaths.
Adjust feature detection.
Customize FBM Drill toolpaths.
Backplot the toolpaths.
Verify the toolpaths.
FBM Drill analyzes the part and displays a set of operations for all detected holes, as shown
in the following picture. Notice that the 20mm hole, which was toolpathed by FBM Mill in
the previous lesson, is in the list.
FBM DRILL 85
FBM DRILL 87
holes.
FBM Drill automatically selects all four of
the 8mm holes.
of the toolpaths.
3 Click OK or Cancel to close the Backplot
controls.
Verify function.
Mastercam for SolidWorks simulates the cutting operation. The following picture shows
the results.
FBM DRILL 89
dialog box.
7 Save the file.
Mastercam is a registered trademark of CNC Software, Inc. Copyright 1983-2009. All rights
reserved. SolidWorks is a registered trademark of DS SolidWorks Corporation.
X4-MCfSW-7x9-Tutor.indd 2
8/4/2009 12:53:50 PM