Mastercam X
Reference Guide
July, 2005
IMPORTANT NOTICE!
Software License
If you have paid a license fee, CNC Software, Inc. ("CNC") a Connecticut
corporation with its principal place of business at 671 Old Post Road, Tolland,
Connecticut, 06084 hereby grants to you a non-exclusive, non-transferable license
(the "License") to use this software program (the "Software") and its
accompanying documentation (and, if applicable, to permit your authorized
employees to use them), solely in accordance with the terms and conditions of this
Software License Agreement . You may use the Software solely for your internal
business purposes and solely in conjunction with the accompanying hardware or
software device, method, scheme or other security measure provided by CNC
which allows a user to access the Software and prevents unauthorized access to the
Software (the "Security Mechanism"). The Software, any updates to the Software
(including any that you download through the Internet), and the Documentation
shall hereinafter collectively be referred to as the "Software" and are all governed
by this License.
Restrictions
You may not use the Software without a Security Mechanism provided by CNC or
CNCs suppliers. When CNC or CNCs suppliers provide you with a single-user
Security Mechanism, the Software may only be used (in executable code form
only) on a single computer to which the Security Mechanism is physically
attached. In the event CNC or CNCs suppliers provide you with a multiple-user
Security Mechanism for use over an internal network (a "Network Security
Mechanism"), the Software may be used: (a) in executable code form only; (b) only
on end-user computers that are connected to the internal network to which the
Network Security Mechanism is attached; and (c) only by the number of users and
iii
accessed by the number of end-user computers for which licenses were purchased
and as further allowed by the Network Security Mechanism. You may physically
transfer the Software from one computer equipped with a single-user Security
Mechanism to another only if the Security Mechanism is included in the transfer
and is installed with the new computer.
You shall not: (a) copy (except as provided below), adapt, modify the Software; (b)
publish, display, disclose or create a derivative work from the Software or any part
thereof; (c) de-compile or translate, disassemble, create or attempt to create, by
reverse engineering or otherwise, the source code form of the Software from the
executable code of the Software; (d) remove any proprietary notices, labels or
marks from the Software; (e) sell, rent, lease, distribute or otherwise transfer or
provide all or any part of the Software to any person or entity without the prior
written consent of CNC; (f) use the Software to provide outsourcing, service
bureau, time sharing or other services to any third party; or (g) sublicense, assign,
delegate or otherwise transfer your rights in the Software, under the Software
License Agreement or any of the related rights or obligations for any reason
without the prior written consent of CNC. You shall not circumvent, bypass,
modify, reverse engineer, disassemble, disable, alter, enhance or replicate the
function of the Security Mechanism in any manner whatsoever. Any attempt to do
so shall result in automatic termination of this License without prejudice to all
other legal rights and remedies of CNC.
Copying Restrictions
You may make one (1) copy of the Software for backup or archival purposes,
provided that you reproduce all proprietary notices of CNC on any such copy.
Non Transferable
You may not transfer or assign the Software or this Software License Agreement or
any rights or obligations hereunder. Any attempt to do so will automatically
terminate this License without the need for notice. This termination is without
prejudice to all other legal rights and remedies of CNC.
Confidentiality
Enforcement Obligations
You acknowledge that the Software contains proprietary trade secrets of CNC and
you hereby agree to maintain the confidentiality of the Software using at least as
great a degree of care as you use to maintain the confidentiality of your own most
confidential information. You agree to reasonably communicate the terms and
conditions of this Software License Agreement to those persons employed by you
who come into contact with the Software, and to use reasonable best efforts to
ensure their compliance with such terms and conditions, including, without
limitation, not knowingly permitting such persons to use any portion of the
Software for the purpose of deriving the source code of the Software or defeating
the Security Mechanism.
In the event you become aware that any person or entity in your employ or under
your control in a manner not authorized by this Software License Agreement is
11
12
13
14
15
16
17
18
19
110
using the Software, you shall immediately use reasonable best efforts to have such
unauthorized use of the Software immediately cease. You shall promptly notify
CNC in writing of any unauthorized use of the Software of which you become
aware.
Limited Warranties
Limitation of Liability
IN NO EVENT WILL CNC, OR ITS EMPLOYEES, SHAREHOLDERS, DISTRIBUTORS
OR SUPPLIERS BE LIABLE TO YOU FOR ANY INDIRECT, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION, SPECIAL,
PUNITIVE OR EXEMPLARY DAMAGES FOR LOSS OF BUSINESS, LOSS OF
PROFITS, BUSINESS INTERRUPTION, OR LOSS OF BUSINESS INFORMATION)
ARISING OUT OF OR IN CONNECTION WITH THIS SOFTWARE LICENSE
AGREEMENT OR THE SUBJECT MATTER HEREOF EVEN IF CNC HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CNCS ENTIRE LIABILITY
WITH RESPECT TO ITS OBLIGATIONS UNDER THIS SOFTWARE LICENSE
AGREEMENT OR OTHERWISE SHALL NOT EXCEED THE AMOUNT OF THE
LICENSE FEE PAID BY YOU FOR THE SOFTWARE. SOME JURISDICTIONS DO
NOT ALLOW THE EXCLUSION OR LIMITATION OF IMPLIED WARRANTIES OR
LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE
LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO YOU.
Indemnification
You shall indemnify and hold harmless CNC, its officers, directors, employees,
suppliers and agents from and against all losses, settlements, claims, actions, suits,
proceedings, judgments, awards, damages, liabilities, costs and expenses
including, without limitation, reasonable attorneys fees (collectively "Losses")
which arise out of or as a result of any breach of this Software License Agreement
by you or your employees, agents, resellers, dealers or sub-dealers and shall
reimburse CNC for any and all legal, accounting and other fees, costs and expenses
reasonably incurred by any of them in connection with investigating, mitigating or
defending any such Losses.
Educational Pricing
Termination
General
Export Restrictions
11
12
13
14
15
16
17
18
19
110
the United States to (i) any country destination to which export is restricted by the
Export Administration Regulations of the United States Department of Commerce;
(ii) any country subject to sanctions administered by the Office of Foreign Assets
Control, United States Department of the Treasury; or (iii) such other countries to
which export is restricted by any other United States government agency. You
further agree that you are solely responsible for compliance with any import laws
and regulations of the country of destination of a permitted export or re-export,
and any other import requirement related to a permitted export or re-export.
Exceptions to Security
Mechanism Requirements
Survival
All provisions of this Software License Agreement relating to confidentiality, nondisclosure, CNCs proprietary rights, disclaimers, and limits of liability, or
indemnification by Customer shall survive termination of this License for any
reason.
Reservation of Rights
Trademarks
vii
Contents
1. Introduction to Mastercam X ..........................................1
X
7/7/05
7/7/05
ix
2. Design .....................................................................................115
X
7/7/05
16
7/7/05
xi
7/7/05
16
Modifying Geometry..........................................................227
Editing Entities....................................................................227
Trim / Break submenu ..................................................227
Join entities .....................................................................234
Close arc ..........................................................................234
Convert NURBS ..............................................................234
Modify NURBS ...............................................................235
Simplify ...........................................................................235
Transforming Entities .........................................................236
Assigning New Attributes to Transformed Entities .....238
Xform Translate ..............................................................238
Xform Translate 3D ........................................................240
Xform Mirror ..................................................................241
Xform Rotate ...................................................................242
Xform Scale .....................................................................244
Xform Offset ...................................................................245
Xform Offset Contour ....................................................246
Xform Project ..................................................................248
Xform Rectangular Array ...............................................250
Xform Roll .......................................................................251
Xform Drag .....................................................................253
Xform STL .......................................................................253
Analyzing Entities ...............................................................254
Analyze Entity Properties ..............................................255
Analyze Position .............................................................257
Analyze Distance ............................................................257
Area / Volume submenu ................................................258
Analyze Chain .................................................................260
Analyze Contour .............................................................261
Analyze Angle .................................................................262
Analyze Dynamic ...........................................................263
Database / Number submenu ......................................264
Test Surfaces and Solids submenu ...............................266
Changing Entity Attributes .................................................267
7/7/05
xiii
Drafting ...............................................................................344
Drafting Dimensions ..........................................................344
Smart Drafting Dimensions................................................345
7/7/05
16
3. Machining .............................................................................365
X
X
7/7/05
xv
7/7/05
16
7/7/05
xvii
X
X
Index........................................................................................577
7/7/05
16
7/7/05
chapter 1
Introduction to
Mastercam X
This chapter covers the following topics:
Starting Mastercam
This document assumes that you have successfully installed
Mastercam X, have completed the necessary post-installation procedures, and are ready to begin using Mastercam to design and machine
parts.
Note: For information on installing Mastercam, see the
Mastercam X Installation Guide included with your software, or
contact your local Reseller.
In this section, you will learn about:
Starting up Mastercam
Troubleshooting HASP and NetHASP issues (page 3)
IMPORTANT: If you have upgraded from a previous
Mastercam version, see the Mastercam X Transition Guide for
important information on converting Mastercam files, libraries,
and post processors.
Although you access Mastercam from a single executable, it is actually
a customized suite of modular products, each of which is optimized
for a specific type of machining. The Mastercam family of products
includes Mastercam Design, Mastercam Router, Mastercam
Mill, Mastercam Lathe, and Mastercam Wire. Separate add-on
modules are available for Mastercam Solids, Mastercam Nesting,
and Mastercam Engraving.
Note: Mastercam Wire will be available with a future release.
X To start Mastercam:
1 Doubleclick the Mastercam icon on your Windows
Desktop:
Getting Help
Topics in this section include:
Tabbed dialogs deliver help on dialog boxes. Click the Field definitions tab to view field definitions.
Every topic provides an e-mail link you can use to contact CNC Software Technical Documentation for feedback.
Mastercam X Documentation
Your Mastercam installation includes a suite of documentation tools
you can use to make the most of your Mastercam experience. These
documents are designed to get you up and running quickly, and to
provide ongoing education and support as you work with basic and
advanced features.
In addition to the Mastercam X Getting Started Guide you are
currently reading, your Mastercam X documentation includes:
mouse wheel or the scroll bar on the right side of the Reader
window.
You can view PDF documents in three different page layouts. This
affects how some Reader functions work, and also affects links in the
PDF document. To change the layout, choose View, Page Layout and
one of the following options:
Single PageSelects all the text on a page of the PDF document
(with the exception of graphics or text that is part of a graphic).
To select all text on the current page, choose Edit, Select All.
Select a link to display the page the link is on.
ContinuousArranges the pages in a continuous vertical column.
To select all the text in the PDF document (with the exception
of graphics or text that is part of a graphic), choose Edit,
Select All.
PDF Guidelines
Embedded links within the documentred text, or a hand
icon that displays when the cursor is moved over texttake
you to information on the selected topic.
You can expand and collapse the Bookmark list. To expand a
bookmark (show subtopics), click on its plus symbol (+). To
collapse it (hide subtopics), click the minus symbol ().
If the Reader toolbar does not appear, press the F8 key to
display it.
To search for a word or phrase, click the binocular icon to
begin a search.
Note: For more information on working with PDFs, refer to the
Reader Help.
www.mastercam.com
www.mastercamedu.com
Phone
(860) 875-5006
Fax
(860) 872-1565
FTP Address
ftp://ftp.mastercam.com
Internet Address
http://www.mastercam.com
support@mastercam.com
AutoCursor
Title bar Menu bar ribbon bar
Prompt area
Interactive
prompt
Status bar
Graphics window
(page 12)
Status bar
(page 12)
Sketcher
(page 21)
Toolbars
(page 14)
Chaining
(page 23)
Interactive prompts
(page 15)
Rightclick menus
(page 23)
Tool tips
(page 15)
Shortcut keys
(page 25)
Dialog boxes
(page 16)
Ribbon bars
(page 17)
Toolpaths
(page 26)
Learning Mode
(page 20)
Graphics window
This is the main workspace in Mastercam where you view, create, and
modify geometry, drafting entities, and toolpaths.
Figure 1-2: Mastercam graphics window
Status bar
The Status bar appears along the bottom of the Mastercam window.
You use its functions to edit the current settings for entity colors,
attributes, levels, and groups, and to define the view and orientation
of entities in the graphics window.
Figure 1-3: Mastercam Status bar
Note: You can also access Status bar functions from various
Mastercam menus and toolbars.
To customize the Status bar by changing the order in which the fields
appear or removing options, click the Status bar configure option (!).
This opens the Customize Status bar dialog box where you can
change the Status bar layout or reset it to the default setting.
TIP: Unless you select entities prior to making changes,
changing attributes, views, and planes applies only to the entities and toolpaths you create; existing entities and toolpaths
retain the attributes that were effective when they were
created.
You can use the Status bar and Analyze functions to change
attributes associated with existing entities. For more information, see Changing Entity Attributes on page 142.
You can show or hide the Operations Manager pane by choosing the
View, Toggle Operations Manager function. Hiding the Operations
Manager expands the graphics window view to fit the full width of the
Mastercam window.
TIP: Use standard Windows methods to resize the Operations
Manager pane, the graphics window, or the entire Mastercam
window, as necessary.
The Toolpath Manager tab is where you define setup parameters, such as file defaults, tool settings, stock setup and
safety zones. You also use this tab to view, organize and edit
machine groups, toolpath groups, and operations. A toolpath
operation consolidates all the information needed to create a
particular toolpath.
If Mastercam Solids is installed, when you work with a solid
model, the Solids Manager tab lists each solid in the current
file. You can expand the tree structure of a solid to view its
history (a list of the operations that were performed to
construct the solid), and its toolpaths.
Toolbars
Toolbars are collections of functions represented by icons. Arrows in
the toolbar represent a submenu of functions you can view and select
in a drop-down list.
Figure 1-5: Example: toolbar
Interactive prompts
Some functions use interactive prompts. Prompts appear as small text
boxes in the graphics window after you select a function. They guide
you through performing the necessary actions required to complete
the function. For example, the following prompt appears when you
choose the Create line endpoint function from the Create, Line
menu:
After you select an endpoint in the graphics window, the first prompt
is replaced with another instruction:
Tool tips
Tool tips display when you hover the mouse over a function icon or a
button in a dialog box or ribbon bar. They help you to identify the
function or option.
Figure 1-6: Example: Tool tips
Button
Dialog boxes
Dialog boxes appear when you must enter information to complete a
selected function. Many dialog boxes allow you to interact with the
graphics window. For example, you can enter values in the dialog box
fields by temporarily returning to the graphics window and selecting a
position, entity, or toolpath.
You can expand some dialog boxes to show additional fields. By
default, they appear in a contracted format.
Figure 1-7: Example: dialog box, contract and expand
Ribbon bars
Ribbon bars function like dialog boxes but look similar to toolbars.
Ribbon bars open when you activate many Mastercam functions. You
use them to create, position, and modify the geometry.
Figure 1-8: Example: ribbon bar
TIP: When you create geometry with ribbon bars and dialog
boxes, you can edit an entity as long as it remains live. You will
learn more about entity states later in Live, fixed and phantom
entities on page 22.
In the Mastercam workspace, a blank Ribbon Bar displays just above
the graphics window to indicate the default ribbon bar position.
When you choose a function that uses a ribbon bar, the function
ribbon bar replaces the blank Ribbon Bar placeholder. You can
change the default position, and dock or undock the ribbon bar. If you
undock the blank Ribbon Bar, it is removed from the Mastercam
window until you choose a function that uses a ribbon bar. Then the
ribbon bar displays in the last undocked Ribbon Bar position.
TIP: You can also hold down the Shift key and press the field's
shortcut key to hard-lock the field.
Learning Mode
Learning mode is similar to a tool tip, but applies only to ribbon bars.
It provides information on the ribbon bar and its functions, including
the default shortcut keys. When Learning mode is active, it appears
when you place the cursor in any ribbon bar button or field.
Figure 1-10: Example: Learning mode
Selection ribbon bar is also active any time you can select entities
prior to choosing a function.
The General Selection ribbon bar has a Standard Selection mode and
a Solids Selection mode. The default mode is Standard Selection. If
you initiate a Mastercam function that might apply to wireframe or
solid entities, you can use options to switch between selection modes.
Figure 1-12: General Selection ribbon bar
Sketcher
Sketcher is the suite of Mastercam X functions you use to create basic
geometry dynamically by moving the mouse and clicking in the
graphics window. Basic geometry includes points, lines, arcs, splines,
fillets, chamfers, and primitives. It does not include drafting, transform, modify, surfaces, or solids.
Figure 1-13: Sketcher toolbar
Live entities are those in the process of being created. You can
edit their properties using options in the selected function
ribbon bar or dialog box, remove them from the graphics
window, or fix them.
Entities become fixed entities when they have been accepted,
for example, when you press Enter or click OK or Apply to
complete a function.
When you create entities dynamically using the mouse, they
are drawn with a dashed white line. This is called the
phantom state. When you choose the final position to create
the entity, the entity becomes live.
Figure 1-14: Example: Phantom entity
Chaining
Chaining is the process of selecting and linking pieces of geometry so
that they form the foundation of a toolpath, surface, or solid. When
you chain geometry, you select one or more sets of curves (lines, arcs,
and splines) that have adjoining endpoints. Chaining differs from
other selection methods because it associates order and direction to
the selected curves. Chaining order and direction affect the way
Mastercam generates surfaces, solids, and toolpaths.
Mastercam provides several chaining methods in the Chaining dialog
box, which opens whenever a function requires you to chain entities.
As you chain geometry, the entities appear highlighted in the same
color as selected entities.
The Chain Manager lists all the chains for the operation and provides
the utilities you need to rechain geometry. Since chaining determines
the cut order, tool rapid moves, and the direction of tool movement,
you may find that you need to modify the chaining after generating a
toolpath. For more information, see Chaining on page 134 and Toolpath Chaining Techniques on page 524.
Rightclick menus
Mastercam provides a number of rightclick menus. For example, in
the Toolpath Manager tab, rightclick to access an extensive list of
functions and submenus for working with machine groups, toolpath
groups, toolpaths, operations, setup sheets and more. In the Toolpath
parameters dialog box and tab, rightclick to choose from a number
of functions related to tools, tool libraries, and toolpath parameters
for the selected toolpath operation.
Toolpath Manager
Here are just a few of the places where you can use rightclick menus:
Levels Manager
View Manager
Tool Manager
Materials List
Chain Manager
Two special types of rightclick menus include the customized rightmouse button menu (you configure this menu for quick access to your
favorite functions when working in the graphics window), and the
data entry shortcut menu, available in many numeric ribbon bar and
dialog box fields.
Shortcut keys
Mastercam provides special keyboard assignments you use, instead of
clicking icons, to access ribbon bar and dialog box options. These are
referred to as shortcut keys. For example, you can use the following
shortcut keys when working with the Point endpoints ribbon bar
function:
S - Save
D - Keep duplicates
E - Exit (fixes live entity and exits function)
You can view shortcut keys using tool tips and by activating Learning
mode. Mastercam help topics also list all available shortcut keys for a
specific function, ribbon bar, and dialog box.
Another type of shortcut key is associated with every Mastercam
function that appears in a menu or toolbar. You use this type of
shortcut to choose a function, instead of using the mouse to select it
from the menu or toolbar. Typically, function shortcuts are associated
with function keys (F1-F12), or a combination of Shift, Ctrl, Alt keys
and other alphanumeric characters.
IMPORTANT: The default keyboard shortcuts provided with
Mastercam X are consistent with those available in prior
versions of Mastercam. For information on mapping
Mastercam functions to your own, custom keyboard shortcuts,
see Mapping Customized Keyboard Shortcuts on page 64.
Toolpaths
In Mastercam, a toolpath represents the tool data and movements
used to remove material from stock. The toolpath contains a set of
rules that define the types of chains and parameters allowed, as well
as how they are applied to an operation. Each operation conforms to
the rules of a specific toolpath. An operation typically contains one or
more chains. Each toolpath you create displays as an operation in a
machine group that you can view and edit from the Toolpath
Manager tab.
To create a toolpath, you select a machine type, choose a function
from the Toolpaths menu or toolbar, and chain one or more pieces of
the parts geometry or select points, surfaces, or solids. You then select
the tool and enter other toolpath parameters. When you accept the
parameters, Mastercam generates the toolpath operation, which
appears in the Toolpath Manager tab under the active machine group.
TIP: You can also create different toolpath groups to organize
and manage operations.
Operation Libraries
Operation libraries are collections of toolpath operations that have an
.OPERATIONS extension. To save an operation to a library, use the
Export function from the Toolpath Manager rightclick menu. You
can use the Import function in this menu to import a saved operation,
with or without its geometry, into the current part file, provided it can
be supported by the selected machine definition.
Tool Libraries
Tool libraries store tool definitions that have a .TOOLS extension. Tool
libraries are useful for storing common tools or for storing tools for
specific jobs. You can create a separate library for each machine tool
in your shop or for sets of machines that use similar tools. You can use
one of several tool libraries that come with Mastercam, or you can
create your own tool libraries. Use the Tool Manager to view and
manage libraries and tool definitions.
Note: Although you use different tool managers to define mill/
router and lathe tools, they are stored in a single tool library.
Material Libraries
Material definitions are stored in libraries, just like tool definitions.
When you select a material, Mastercam copies the definition to your
part file. Material definition files have a .MATERIALS extension and
consist of base feed rates and tables of adjustments for different operation types and tool types. When you select a material and a tool for
an operation, Mastercam can use the information in the material
definition to help calculate proper default feed rates and spindle
speeds for the selected operation and tool.
Mastercam Menus
In addition to using customizable toolbars and rightclick menus,
you can access most Mastercam functions through a series of standard, drop-down menus and submenus located across the top of the
Mastercam window. Primary menus include:
File Menu
Use File menu functions to open, edit, print, and save files.
Edit Menu
This menu provides access to functions you use to edit geometry,
such as the Join entities, Modify NURBS, Convert NURBS, and
Simplify functions, and the Trim / Break submenu functions. Other
Edit menu functions allow you to cut, copy, paste, delete, or select all
entities in the graphics window.
Use the Undo and Redo functions to reverse or repeat one or more
sequential events that occur as you work with a file. (An event is a
single function-based operation such as create line or transform entities.)
You can also use the Set Normal and Change Normal functions to set
the direction of multiple surface normals relative to the current
construction plane.
View Menu
The View menu helps you manage the appearance and orientation of
the Mastercam graphics window.
Analyze Menu
Use Analyze menu functions to view and edit entity properties.
Some analyze functions provide a report function that lets you save
the information to a file. You can also use analyze functions to modify
the color, line style and width, or point style attributes of a single
entity, or apply the same attributes to all the selected entities.
Create Menu
This extensive menu includes all Sketcher (Create Geometry), Curve,
Surfaces, and Drafting functions.
Use these functions to create points, lines, arcs, splines, curves, fillets,
chamfers, surfaces, drafting entities and basic geometry including
rectangles, rectangular shapes, polygons, ellipses, spirals, and helixes.
From the Primitives submenu, you can create a cylinder, cone, block,
sphere or tourus surface. If your installation includes Mastercam
Solids, you can also create solid primitive shapes.
Additional functions allow you to create letters, define a bounding
box, and convert a solid to a 2D profile.
Solids Menu
Functions in this menu are available only if your Mastercam installation includes Mastercam Solids.
Xform Menu
Use Xform (transform) functions to move or copy selected entities by
mirroring, rotating, scaling, offsetting, translating, stretching, and
rolling them.
With some functions, you can join the copied entities to the originals.
When you perform a transform function, Mastercam creates a temporary group from the original entities and a result from the transformed entities.
You can also use the Machine Definition Manager and the Control
Definition functions in this menu to set up or modify machine and
control definitions.
The machine type you choose modifies the Mastercam interface so
that only the toolpath options and limits supported by the machine,
control, and post processor are available. This prevents Mastercam
from creating tool motion that cannot be executed by the machine. In
a Mastercam part file, the machine definition is part of the machine
group properties you view and modify in the Toolpath Manager. As
soon as you select a machine type, only the toolpaths available for the
selected machine type are enabled in the Toolpaths menu.
Toolpaths Menu
Functions in this menu allow you to create and edit the toolpaths
required to cut the part using the specified machine definition. Toolpath functions appear in this menu only after you select a machine
definition from the Machine Type menu, or choose a machine group
from the Toolpath Manager. These functions vary based on the
machine type associated with the active machine group (Mill, Lathe,
Router). Here is an example of the Mill toolpaths menu:
Screen Menu
This menu is where you specify default settings and manage the
display of geometry in the graphics window. The Clear colors option
lets you remove the group and result colors that result from
performing a transform function (Xform). Mastercam creates a
temporary group from the originals (red) and a result (purple) from
the transformed entities. You can set system attributes, and activate,
deactivate, or customize the appearance of the selection grid, which
is a matrix of reference points that the cursor snaps to when you
sketch a point.
Settings Menu
Use the Settings menu functions to set up Mastercam to your specifications.
You can define, save, or load the default values and preferences
(Configuration) you want to work with. Other functions allow you to
create customized toolbar configurations and states, drop-down
menus, function key mappings, and a customized right-mouse
button menu. The configuration and customization parameters you
define can be saved to named files that you load when you need
them, even on other Mastercam installations.
You can also run third-party applications, VB scripts, and create, edit,
or run Mastercam macros. Other tools let you optimize your PCs
RAM management when running Mastercam.
Notes:
Although you can create multiple configuration .CONFIG files,
toolbars and states (.MTB), and key map (.KMP) files, each
containing different values, you can load only one of each file
type at a time.
Changes made to configuration settings apply only to the
current session unless you save them to a configuration file.
For more information on customization tools, see Customizing
Your Workspace on page 40, and Setting Defaults and Preferences (Configuration) on page 68.
Help Menu
This menu provides access to a variety of information about
Mastercam, including:
Mastercam Help
Mastercam X Reference Guide PDF (requires Adobe Acrobat
Reader)
Mastercam product information (licensing, version, installed
products, serial number)
Online updates
Mastercams corporate website
(www.mastercam.com)
Note: For more information on getting help with Mastercam, see
Mastercam Support and Services on page 8.
CAM-related
toolbars hidden
Vertically docked
Sketcher toolbar
CAD-related
toolbars hidden
Vertically docked
Lathe Toolpaths toolbar
Note: When you start Mastercam, it opens the default toolbar file
specified in the configuration file. You set the toolbar and other
startup parameters in the Settings, Configuration function,
Start / Exit page. You will learn more about configuring
Mastercam defaults in Setting Defaults and Preferences (Configuration) on page 68.
To access the Customize dialog box, choose Settings, Customize
from the Mastercam menu. Fields and options in the Customize
dialog box are organized and displayed in two tabs: Toolbars (default)
and Drop-downs / Right-mouse button menu.
Figure 1-18: Toolbars tab (Customize dialog box)
Note: Use the Toolbar States button to access the Toolbar States
dialog box. You can also access this dialog box directly from the
Mastercam Settings menu. For more information on working
with toolbar states, see Creating and Saving Toolbar States on
page 59.
To create or modify drop-down menus, including the right-mouse
button menu, click the Drop-downs / Right-mouse button menu
tab.
Figure 1-19: Drop-downs / Right-mouse button menu tab
(Customize dialog box)
Open
Save as
Reset
Selected
function
Function
description
(tooltip)
TIP: When you click the function icon, a brief description (tool
tip) of the function displays below the function list. You can
also display tool tips in the Mastercam window by moving the
cursor over toolbar icons, or buttons and fields in ribbon bars
or dialog boxes.
Use drag and drop methods to quickly add, delete, or rearrange the
functions in a toolbar.
Description
No drop zone: The dragged icon is in a location
where it cannot be dropped. If you drop it there,
no change occurs. The icon remains in the toolbar
from which it was dragged or, if dragged from the
Customize dialog box, it is not added to a new or
existing toolbar.
Add function: If you drop the dragged icon to this
location, the function is added either to a selected
toolbar or to a new toolbar. If you do not drop the
icon on an existing toolbar, Mastercam automatically creates the new toolbar.
Remove function: If you drop the dragged icon to
this location, it is removed from the selected
toolbar. This does not delete the function from
Mastercam; it is removed only from its position in
the toolbar.
Then hold down the button as you drag the function from the
Toolbars tab to a new location.
4 If you are adding the function to a new toolbar, skip to Step 5.
the menu. The toolbar is deleted from the current toolbar file
and no longer appears in the toolbar list or the Mastercam
window. If you delete a standard toolbar, Mastercam displays
a warning message on startup informing you that it cannot
find the toolbar. <<Reviewers: The error message happens
when starting up the daily. Will it happen in the commercial
release? Also, what happens to toolbar states created for the
MTB file? What if they are assigned to MD files? Can they be
deleted regardless?>>
TIPS:
To add the deleted toolbar back to the toolbar file, you must
recreate it using the procedure for Adding Functions and
Toolbars on page 48.
To remove the toolbar from the Mastercam window without
deleting it from the toolbar file, deselect the check box that
appears next to the toolbar name in the Show these toolbars list.
TIPS: Drop-down
menus that contain other
drop-down menus
(submenus) are indicated by a right arrow
icon.
To display a popup list
of functions in the
submenu, hold the
cursor over the
submenu title.
When adding a function or a drop-down
menu by dragging it
to another menu, if
the target menu is
contracted, you can
expand it by holding the cursor over it. This allows you to
drop the new items in a selected position. If you drop a function or submenu in a contracted menu, it is added to the end
of the menu.
To rename the new menu, continue with Renaming Dropdown Menus on page 53.
option.
3 In the menu name text field, type the new name and then
ences first. But it doesnt tell them how to find out where it is
used. Other than searching every toolbar / drop-down in
their configuration, can they open the .MTB file and search
for occurrences? If so, how? Please provide additional information on how can the user can find where the menu that
they want to delete is being used. >>
Right-mouse button menu tab, click the Category dropdown arrow and choose a category from the list to display its
functions.
2 Choose a function by selecting it with the left mouse button.
Here are a few things to keep in mind when working with submenus:
Horizontal and
vertical separators
tab, choose the Separator button with the left mouse button.
2 Hold down the mouse button and drag the separator to any
remove.
2 Drag and drop it anywhere in the Mastercam window that is
Note: You can also access this dialog box by choosing Settings,
Customize and clicking the Toolbar States button in the Toolbar
tab.
Figure 1-29: Toolbar States dialog box
Show
Hide
dialog box, type the name of the new toolbar state in the
name field and choose Save. The new toolbar state is added
to the toolbar file and displays in the Toolbar States list.
options:
To change the current display status of a single toolbar and close the
menu, select it from the list. The selected toolbar changes to show or
hide in the Mastercam window, based on its initial setting.
Use other menu options to access the Customize and Toolbar States
dialog boxes, or to quickly select and load a toolbar state from the
current .MTB file.
You can map any Mastercam function to a key sequence you define.
Rather than selecting a function from a menu or toolbar with the
mouse, use your custom keyboard shortcut to open the function.
Key map files have a .KMP file extension and reside in the \CONFIG
directory of the Mastercam installation location. You can load a new
key mapping file at any time during the Mastercam session. Key
mapping files are also portable. You can copy and use them on other
Mastercam workstations, provided you save them in the correct directory (\CONFIG).
The combinations of key sequences you can use to create keyboard
shortcuts are listed below (where Key is the alphanumeric character
or keyboard function keys F1-F12).
Alt+Key
Ctrl+Key
Ctrl+Alt+ Key
Shift+Alt+Key
Shift+Ctrl+Key
Shift+Ctrl+Alt+Key
F1-F12
Reset
Open Save as
Current Key
map filename
down arrow and choose a category from the list to display its
functions.
3 In the Commands section, select the icon of the function to
new shortcut key field and use the keyboard to type the key
sequence.
down arrow and choose a category from the list to display its
functions.
3 Select the Command associated with the shortcut to delete.
4 In the Current keys text field, select the shortcut and click
Configuring Mastercam X
Mastercam default settings are stored as files with a .CONFIG extension in the Mastercam \CONFIG directory. Mastercam uses settings
from the configuration file as default values when you restart or
initialize operations, for example, when creating a new part, or
opening and importing existing parts.
Mastercam provides a number of standard configuration files with
your initial installation, in both inch and metric units. You can
customize them, create your own, and even merge configuration files.
If multiple users share a single Mastercam installation, each unique
user can automatically load a customized default configuration file
when logging in to the workstation and running Mastercam.
Mastercam uses only one configuration file at a time. However, when
running Mastercam, you can change the configuration file as often as
necessary.
Use the Settings, Configuration function and System Configuration
dialog box to review and set Mastercam default values, and to manage
the configuration files that store these values.
Save As
Merge
When you change a setting on a page, the question mark preceding its
name in the topic list becomes a check mark so that you can track
where you have made changes during an editing session. To save
these changes, you must save the configuration file. Otherwise, the
changes are applied to the current session and persist only until you
close and restart Mastercam.
In this section, you will learn to configure Mastercam by setting
parameters in the following properties pages:
Dimension Attributes
(page 83)
Dimension Settings
(page 87)
Tolerances
The options you define in the Tolerance properties page control the
precision with which Mastercam performs certain operations, for
example, how close entities must be to be considered coincident or
chained, and how smooth curves and surfaces will be. Smaller tolerances produce more precise parts, but also generally create larger
files.
Figure 1-36: Tolerances properties page
(System Configuration)
because two endpoints that are closer than the system tolerance will be considered coincident.
TIP: To edit this field, select the check box.
Files
Use the Files properties page to select the files you want Mastercam to
use as defaults, define the default data paths for saving different file
types, configure Most Recently Used (MRU) drop-down menu
settings, and set options for opening and saving files.
Figure 1-37: Files properties page (System Configuration)
The Data Paths column lists files formats you can save out from
Mastercam and allows you to set a default data path for saving each
type, for example, C:\Metric\MCX\.
The Files Usage column lists all the file types for which you can open
a default file during Mastercam processing, for example, libraries,
control and machine definitions, and post processors. Mastercam
opens the default files you set in this list, when necessary.
In the Data Paths and File Usage lists, first select an item in the list.
Then use the Selected item field, located below the list, to specify the
default value.
You also use this page to activate Mastercams AutoSave functions.
AutoSave lets you save the current geometry and operations automatically at specific time intervalsfor example, every 10 minutes and to
define other AutoSave behaviors. Use this option to reduce data loss
in the event of a hardware or power failure.
Converters
When you open part files that are not in the current .MCX Mastercam
format or when you save them to an external file format, Mastercam
automatically runs a conversion program, based on the selected file
type (for example, IGES, VDA, STEP, SAT, Parasolid, DWG, or DXF.)
In the Converters properties page, you set defaults for file conversions, including:
TIP: When converting files, use the File, Open function and
choose Options to override or set additional conversion
parameters.
Screen
Use the Screen properties page to set the graphics parameters that
control how Mastercam looks and operates, and to define your
personal display and selection preferences.
Figure 1-39: Screen properties page (System Configuration)
Colors
You can set default colors for many different aspects of the
Mastercam interface, such as the graphics background (including
gradients), geometry, construction origin, grid, groups, and various
Mill, Lathe, Solids, and Surfaces components.
Notes:
To preserve changes to default color settings for subsequent
Mastercam sessions, you must save the configuration file.
To temporarily change default colors for selected entities or
new entities you create during the current Mastercam session,
use the Color function from the Status Bar.
Chaining
Use this page to define the way Mastercam chains entities, including:
Shading
Shading values determine how surfaces and solids appear when
shaded. Use this page to set default shading parameters such as color,
ambient lighting, spot lighting, hidden edges, and other properties.
Figure 1-42: Shading properties page (System Configuration)
Notes:
To temporarily override default shading parameters during the
current Mastercam session, choose Shade Settings from the
Screen menu or Shading toolbar to open the Shading Settings
dialog box.
To make permanent changes to shading parameter defaults,
use the Settings, Configuration function and Shading properties page. Then save the changes to the .CONFIG file.
Solids
Options in this page allow you to pre-define how Mastercam creates
and displays solids, including:
Notes:
You can also enable or disable Auto-Highlight from the Solids
Manager right-click menu.
To change default shading parameters for solids display during
the current Mastercam session, choose Shade Settings from
the Screen menu or Shading toolbar to open the Shading
Settings dialog box.
To set default shading parameters for Mastercam geometry,
including solids, use the Shading properties page.
Printing
Use this page to set initial, default parameters for printing part drawings, including line width, color printing, header name and date, and
solid shading.
Figure 1-44: Printing properties page (System Configuration)
Notes:
When printing, use the Page Setup dialog box to change
default settings and to set other properties (paper size and
orientation, page margins, image scaling).
To change printer driver properties, choose Properties from the
Print dialog box.
CAD Settings
The CAD Settings properties page is where you set design and drafting
preferences, including defaults for:
Note: You can override many of these defaults using Status bar
options and when using functions to create, edit, and analyze
geometric and drafting entities.
TIPS:
As you modify options in the drafting dimension properties
pages, you immediately see their effect in the preview
diagram area of each page. Use the preview to verify your
selections.
To temporarily change drafting default parameters for the
current Mastercam session, choose Drafting Options from
the Create, Drafting submenu.
Dimension Attributes
You define the following defaults in the Dimension Attributes properties page:
Dimension Text
The default text properties you can set for drafting dimensions in this
page include:
Font
Text alignment/
orientation
Ordinate dimension:
display negative sign
If you select the Factors option, dimension text height also determines tolerance text height, dimension arrowhead height and width,
and witness line gap and extension, based on factors you enter in the
Factors of Dimension Text Height dialog box.
If you do not select the Factors option, you can set these parameters
directly on the Dimension Text properties page (tolerance text height)
or the Leaders/Witness properties page (witness line and arrow head
parameters).
Note Text
Drafting notes and labels are blocks of text (one or more lines) that
you insert into a drawing. Notes are standalone blocks of text,
whereas labels have one or more leader lines used as pointers. When
you create note and label drafting entities, Mastercam uses the
following settings in the Note text properties page to format the text.
Font
Mirroring
If you select the Factors option, note text height also determines
note/label arrowhead height and width, based on factors you can
enter in the Factors of Note Text Height dialog box. If you do not
select the Factors option, you can set the note/label arrowhead
height and width parameters directly in the Leaders/Witness properties page.
Leaders / Witness
In Mastercam, leader lines (drafting lines with single arrowheads that
function as pointers) most often point from a dimensions text to its
witness lines. Witness lines are lines that project from a dimensioned
object to indicate the extent of the leader lines. Use this page to set
the default properties for:
Dimension Settings
The Dimension Settings properties page lets you associate dimensions, labels, leaders and witness lines with entities as the entities are
created. You can set the method Mastercam uses to regenerate associated drafting entities. You can limit the views in which entities can be
displayed, and define increments used for baseline dimensions.
Figure 1-50: Dimension Settings properties page
(System Configuration)
Start / Exit
This page is where you set the default values to use during Mastercam
startup, and to automate certain functions when you exit Mastercam.
You can select the editor that launches when you edit NC files after
post processing, and specify the add-on programs that run when you
start or exit Mastercam.
Figure 1-51: Start / Exit properties page
(System Configuration)
Startup configuration file: Select one of the startup configuration files included with Mastercam. The startup configuration file contains all the settings in effect when you start
Mastercam. The file name may indicate the Mastercam
product (for example, MILL) and the units (for example,
Metric).
Note: Mastercam provides two default configuration files that
display in the drop-list as DEFAULT (English) and DEFAULT
(Metric). The configuration files cannot be deleted.
Metric: When selected, indicates that the current configuration file units are metric (millimeters).
Note: These options are available only when a user-defined (not a
DEFAULT) configuration file is loaded.
Toolpaths
Use this page to configure how toolpaths are created, maintained,
and displayed, and to define the setup sheet program to use.
Figure 1-52: Toolpaths properties page
(System Configuration)
Notes:
To change tool display parameters for a selected operation,
click Parameters in the Toolpath Manager and choose Tool
Display in the Tool Parameters tab.
Although tool display defaults are in effect when Mastercam
starts, if you change them, subsequent toolpaths of the same
type that you create or import (for example, contour) use the
modified parameters for the duration of the Mastercam
session.
Post Processing
The default post processing properties you define in this page control
what happens when you run the post processor. These settings
include, for example, whether to save the NC file or to edit the existing
file. If you save the file, you can choose what to use for the NC file
extension, and whether to overwrite the existing file automatically or
request that Mastercam prompts you to verify the overwrite on each
save. You can also send the NC program to the machine automatically.
You can configure Mastercam to create an ASCII NCI file (called an
Operation file).
Figure 1-53: Post Processing properties page
(System Configuration)
Backplot
Use this property page to set parameters that affect how a tool moves
and appears on the screen during a backplot operation. These parameters include:
Tool Appearance
Tool color and material
Holder color and material
Motion colors
Figure 1-54: Backplot properties page (System Configuration)
The parameters you choose are for display purposes only and do not
affect the part when it is machined.
Although the General Settings display parameters are available for
each Mastercam toolpath type, the following options affect only the
display of milling tools during backplot:
Similarly, the following Tool Appearance options also apply only to the
display of milling tools during backplot.
Verify
You set up default properties in this page for toolpath verification
operations initiated from the Toolpath Manager.
Figure 1-55: Verify properties page (System Configuration)
Use this dialog box to select the configuration settings you want to
merge with the current configuration file and to specify which
sections to merge.
Units: Uses only the units from the new configuration file.
(default)
All settings: Loads all settings from the new configuration
file.
Note: You can also use the Current field near the bottom of the
System Configuration dialog box to switch current units by
selecting an alternate configuration file.
Machine Definitions (what they are and why you use them)
Control Definitions and Toolpath Defaults (page 102)
Working with Post Processors (page 102)
Mastercam machine definitions are virtual descriptions of the actual
machine tools you will use to cut a part. They determine the functions
and tool parameters you can choose when creating toolpath operations. With machine definitions, you generate more accurate NC
output because you define each machine tool and its unique characteristics.
Each Mastercam machine definition consists of:
Control definition
Post processor
Machine
groups and
components
Graphical machine
configuration
Default toolbar
state (optional)
When you use the Machine Definition Manager to create and save
machine definitions, Mastercam assigns one of the following file
extensions, based in the selected machine type:
.MMD (Mill)
.LMD (Lathe)
.RMD (Router)
TIP: Use one of the following methods to access the Machine
Definition Manager:
From the Mastercam menu, choose Machine Type, Machine
Definition Manager.
From the Toolpath Manager, choose Files, and then click
Edit in the Machine - Toolpath copy section.
Note: By centralizing parameters and settings that were distributed throughout prior versions of Mastercam, machine and
control definitions make it easier for you to maintain this information. A centralized source also makes it easier to provide
machine layout and control information when requesting post
creation or customization.
Mastercam
(V9, V8 and V7)
Parasolid
Pro/Engineering
SAT
(Save As Text)
VDA
(Verband der Automobilindustrie)
Rhinocerous 3D NURBS
SolidWorks
Solid Edge
AutoDesk Inventor
ASCII
(American Standard Code
for Information Interchange, comma delimited)
Catia V4 / V5
HPGL Plotter
(Hewlett-Packard Graphics
Language)
CADKey CDL
AutoCAD
STEP
(Standard for the
Exchange of Product
data)
IGES
(Initial Graphics Exchange
Standard)
Notes:
If you do not have Mastercam Solids installed, you can still
machine an imported solid. However, Mastercam Solids must
Saving Files
When you save a Mastercam file to a native .MCX format, you automatically save all geometry, attributes, levels, views, planes, machine
definitions, control definitions, stock setup, machine groups, toolpath groups, and operations data.
You can optionally save a bitmap thumbnail image of the geometry,
add descriptive text, such as instructions for working with the file or
contact information, and set a default directory where the file will be
saved.
To define the options to use for saving files, choose Options
from the Save as dialog box. Use the following drop-down list
to select the options, and then click outside of the list to close
it.
You can also reduce the amount of navigation required to save files to
new filenames by presetting their directory paths. This is especially
helpful when working with large groups of related files. Choose one of
the following options:
Use Last Directory: Use the path that was set when any file of
any type was last opened or saved.
Use Default Directories: Use the file directory settings from
the Mastercam configuration file as the default directories for
each file type.
Use Project Directory: Resets the path to a specified location. Choose this option, and then click the Browse button
(...) to navigate to the destination path.
Note: You can also set the directory default and other options
using Options in the File, Open dialog box. The directory default
setting is applied globally to file open and save as functions.
TIPS:
To help you quickly identify the file you want to work with,
view the thumbnail image in the Open File dialog box. After
opening the file, use the File menu Properties function to
view its text description.
Another helpful function you can use to save only selected
entities is the File, Save Some function. When you choose
this function, use general selection methodsincluding
maskingto select only the entities to save from the current
file, and then save the entities to a new file.
X To select an editor:
1 In the Open dialog box, choose Editor.
2 In the Choose File Editor dialog box, use one of the following
Or, choose Other from the list and click OK. Complete the
following steps:
a Use options in the Select an Editor dialog box to navigate
The editor you chose in Step 2 opens in its own window and
loads the selected file for editing.
Notes:
Use the Settings, Configuration function Screen properties
page to choose a graphics support type. To configure additional
settings, use the Printing and Shading properties pages.
Mastercam supports only Windows-based printer drivers.
X To print or plot entities:
1 From the File menu, choose the Print function to open the
Preview button. You can print directly from the Print Preview
dialog box, or close it to return to the Print dialog box where
you can make any necessary changes.
6 In the Print dialog box, click OK to print or plot the entities.
TIP: If you choose the Print Preview and Page Setup functions
from the File menu, the values for your PCs default printer
driver are used in the Print Preview and Page Setup dialog
boxes.
To set up default values for line width (including color to line width
mapping), and other printing options, use the Printing page in the
Settings menu, Configuration function. For more information, see
Setting Defaults and Preferences (Configuration) on page 68.
chapter 2
Design
This chapter introduces the concepts, functions, and techniques that
you use to create and modify geometry.
In this chapter, you will learn about:
The AutoCursor ribbon bar is dockable. You can leave it docked in the
toolbar area or drag it to another position. When docked, it remains
visible even when inactive. When undocked from the toolbar area and
positioned elsewhere in the Mastercam window, it automatically
closes when it is not needed (inactive). When activated by your selections, it reappears where you last placed it.
When you move the cursor over geometry on the screen, you can
configure AutoCursor to display a visual cue when it detects a specific
position type (for example, origin, arc center, endpoint, or midpoint).
Visual Cues
Visual cues are graphic symbols that appear to the right of the cursor
when AutoCursor detects a specific position type. They identify the
type of position AutoCursor has highlighted to ensure that you select
the correct entity and position. For example, if you set AutoCursor to
detect and snap to the endpoints of existing entities, as soon as you
move the cursor close to an endpoint, it snaps to that position and the
visual cue for endpoints appears.
Mastercam visual cues include
Origin
Midpoint
Arc Center
Point
Endpoint
Quadrant
Intersection
Nearest
Horizontal /
Vertical
Tangent
Perpendicular
Position Type
Point entities
Centers of arcs
TIP: When AutoCursor is active, you can temporarily deactivate its snap-to settings by holding down the Ctrl key as you
click to select a position.
FastPoint mode
AutoCursor settings
AutoCursor override
FastPoint button
To enter coordinates
You can enter fractions or decimal values (example, 3/8 or .375). The
FastPoint field also accepts formulas, including addition (+), subtraction (-), multiplication (*), division (/), and parentheses.
TIP: Use algebraic notation when entering formulas. For
example, for a position of X6, Y3, Z0.5, enter
X(2*3)Y(5-2)Z(1/2), or 6,3,.5. The Fastpoint entry method is
consistent with prior versions of Mastercam.
Note: FastPoint mode is modal; when you activate it, you cannot
move outside of the field into any part of the application,
including other AutoCursor buttons, until you press Enter or Esc.
button.
Figure 2-4: AutoCursor Settings button
AutoCursor settings
2 In the AutoCursor Settings dialog box, select the position
endpoint.
7 Now move the cursor. Notice that the line snaps in 45-degree
specify the second endpoint and create the line. The line is a
live entity at this point and can be edited.
8 Draw additional lines or, to fix the line and exit the function,
click OK.
TIP: Remember to clear AutoCursor settings when they are no
longer needed. If you forget that you have customized
AutoCursor behavior, you can experience unexpected results
when working with other Mastercam functions.
AutoCursor Override
From the list, select the position type you want AutoCursor to snap to
(applies only to the current selection). This feature is particularly
useful when the geometry is crowded or confusing and you need help
identifying a specific entity and position type.
Figure 2-7: AutoCursor Override drop-down list
bar.
endpoints of a line.
3 For the next line, click the drop-down arrow next to the
line.
6 Click OK to fix the line and exit the function.
De
lta
Note: When you press Enter to apply the specified values, the
Relative Position ribbon bar closes. Use the current functions
ribbon bar or dialog box to select additional positions or modify
the live entity.
You can enter relative position values using one of the following
methods.
X To specify the new position using Delta coordinates
1 If you used the Shift+click method to select a position and
the Along mode and select a line, arc, or spline nearest to the
endpoint from which you will specify the along length.
2 In the Length field, type the distance from the selected entity
Selecting Entities
When creating geometry, you can use several selection methods to
select positions and other entities in the graphics window, including
Masking
Entity selection
Selection method list
If the General Selection ribbon bar is available for use when no other
function is active, you can select entities prior to choosing a function
by using the cursor or combinations of the cursor and keystrokes,
such as Shift+click. Then choose a function to apply to the selected
entities.
Some functions work in conjunction with the General Selection
ribbon bar. In these functions, the General Selection ribbon bar
becomes active when you are prompted to select entities for the function.
In + / Out+
Intersect
Masking
A selection mask is a defined set of criteria you use to quickly select
entities in the graphics window. Using a selection mask with a
complex part file ensures that you select only and all of the specific
entities you want.
When working with selection masks, you can
Save the selection mask criteria to a file (.MASK) that you can
later open and reuse.
Open an existing selection mask file and apply it.
To use a mask for selection, click the All or Only buttons in the
General Selection ribbon bar.
Choosing All opens the Select All dialog box. Use this dialog
box to define and apply a mask that automatically selects all
entities in the current file that match the mask criteria. You
can choose to apply the criteria and select all entities, or only
entities in a specified group, including groups created by
Xform functions.
Choosing Only opens the Select Only dialog box. Use this
dialog box to set restrictions on the entities that are available
for selection in the graphics window. When you apply the
Only mask, you use other General Selection methods to
select only those entities that match the mask criteria you
define. Until you clear the mask, you are restricted from
selecting entities that are excluded from the mask.
In the Select All or Select Only (Masking) dialog box, you can open an
existing mask file to apply or choose the mask criteria, including any
combination of entity types, colors, levels, line styles, line widths,
point styles, arc diameter, or line lengths that match a specified value
and filter.
Here are some examples of how you can create and apply All and Only
masks. To use these examples, you must open or create a part that
contains lines and entities in more than one color.
ties button.
3 In the Entities criteria, doubleclick the Lines check box
all lines from the part, press the keyboard Delete key.
X To select all entities of a specific type and color in the current
part file
1 From the General Selection ribbon bar, choose All.
2 In the Select All dialog box, choose the Entities button.
3 In the Entities criteria list, select one or more entity types to
include.
4 To set the Colors criteria, choose the Colors button.
5 Select the check box next to the color of the entities to
include.
6 Click OK to apply the mask and exit the dialog box.
7 All entities of the specified type and color are selected in the
with. Until you clear the mask, you cannot select any other
entity type.
5 Use one of the following methods to clear the mask
ties you want to select. Click to set the final position. All entities completely contained within the window are selected.
To select a chain of entities, hold down the Shift key to activate Chain selection and select an entity that is connected to
other entities, such as a line used in a rectangle. All
connected entities are automatically selected in a single
chain (in this example, the entire rectangle). Continue to use
this method to select other connected entities as chains.
end. The remainder of the entities in the chain are automatically unselected.
2
1
Unselecting Entities
Use one of the following methods to cancel or unselect entities.
Chaining
Chaining is the process of selecting and linking pieces of geometry so
that they form the foundation of a toolpath, surface, or solid. This
fundamental Mastercam concept has important applications in both
design and machining functions.
When you chain geometry, you select one or more sets of curves
(lines, arcs, and splines) that have adjoining endpoints. Chaining
differs from other selection methods because it associates order and
direction to the selected curves. Chaining order and direction affect
the way Mastercam generates surfaces, solids, and toolpaths.
When chaining is required for a selected function, Mastercam
displays the Chaining dialog box. If the current part file contains wireframe and solid entities, you can use the buttons at the top of the
dialog box to choose the type of entities you want to chain. Otherwise,
the entity type is pre-selected.
Figure 2-13: Chaining dialog box, selection type buttons
Select wireframe entities
Select solid entities
Wireframe
Solid
Chaining Solids
In Solids mode, the Chaining dialog box provides options to chain
solid entities. The chain solids buttons act as toggles, allowing you to
include or exclude certain types of solid elements from chain selection, including
Edge: Select solid edges on a model or exclude them
from selection.
Face: Select solid faces on a model or exclude them
from selection.
Loop: (available only when chaining solids for toolpath creation) Create a closed chain (with no branch
points)in which you select an edge, a reference
face, a resulting loop, and a start point.
Partial Loop: (available only when chaining solids for
toolpath creation) Create an open chainin which
you select a starting edge, a reference face, and an
ending edge.
From back: Select solid edges or faces only on the
back of a model. When deactivated, you can select
solid edges or faces only on the front of a model.
Use other options in this dialog box to unselect and re-select solid
chains, reverse chaining direction, and move the start of a chain.
Setting Attributes
All Mastercam entities have basic attributes (physical characteristics).
Based on the entity type, attributes can include:
Color
Point style
Line style and width
Level
Note: You set default attributes in the CAD Settings page of the
System Configuration dialog box and save these settings to a
Mastercam configuration file (from the Mastercam menu, choose
Settings, Configuration, CAD Settings). When you run
Mastercam, attribute settings are loaded, along with other configuration parameters, and appear as default values in the Status
bar fields.
Changing physical attributes when you are working with complex
parts is a very powerful technique you will use often to organize your
work. Use the Status bar fields to quickly and easily select new entity
attributes.
Figure 2-15: Status bar
Set attributes
TIP: You can also access the Entity Attributes Manager from
the Attributes dialog box to specify attributes by entity type.
X To set attributes for specific entity types (such as points, lines,
arcs, solids, surface, and drafting dimensions):
1 Click the Attributes button in the Status Bar.
2 In the Attributes dialog box, select the EA Mgr (Entity
types and set the attributes you want to use in the current
Mastercam session.
ties to change.
2 Rightclick the attribute Status bar field you want to change.
current file and close the dialog box, click Apply to existing
entities.
Note: To continue to use these attributes for new entities, leave the
EA Mgr check box selected in the Attributes dialog box. To use
different attributes, deselect the check box.
Setting/changing color
Mastercam supports a palette of 256 colors, which you can customize.
You can reduce the palette to 16 colors by choosing the 16 Colors
button in the Colors dialog box, or by deselecting the Show 256
colors check box when setting up system configuration parameters in
Settings, Configuration, Colors.
Use one of the following methods to access the Colors dialog box:
To select a color:
Click the Levels button to open the Level Manager dialog box
where you can select an existing level, or create a new level.
Note: For more information on levels, see Working with Levels on
page 357.
Setting Z Depth
Use the Z field in the Status bar to set the Z depth value for the geometry and toolpaths you create. Set the Z depth using one of the
following methods:
Convert to NURBS
Close Arc
Simplify
Zooming
Mastercam also offers a number of zoom functions, including:
Zoom window: Magnifies a portion of the graphics
window. Click an area of the graphics window that is not
directly on an entity to anchor the first window point.
Then draw a rectangular window by moving the mouse
around the entities you want to zoom. Click to set the final
position and fill the graphics window with the contents of
the selection window.
Note: To improve your view of the selection area when
using this method, after selecting the first window
point, use the Pan, Zoom target, or Fit to screen
function before selecting the second point.
Setting Viewports
A viewport is an area within the graphics window that displays a
particular graphics view of the geometry you are working with. A
viewport configuration is an arrangement of one or more (up to four)
viewports. By default, Mastercam displays geometry from the top
view in a single viewport that occupies the entire graphics window.
To divide the graphics window into multiple viewports, or panes, each
capable of displaying a different graphics view, choose an option from
the View, Viewports menu.
VP1
VP1
VP2
VP3
VP4
VP2
VP2
the mouse over the axes coordinate display until the cursor
changes to an arrow. Click the axes marker to enlarge the
viewport and make it the only visible viewport.
TIP: To change the size of the viewport panes, grab and drag
the vertical or horizontal inside edge.
+X
-Y
-Z
You can use views as graphics views (Gviews) to view the part, as
construction planes (Cplanes) to orient geometry, and as tool planes
(Tplanes) to orient toolpaths.
Gviews define the perspective from which you view the part
in the graphics window.
Cplanes represent the planes in which you create new geometry.
Tplanes are the cutting planes for the toolpaths you define.
Standard and custom views have assigned names, are saved with the
part information (making them portable), and can be selected as you
work with the part to change its orientation in 3D space.
TIPS: Use the following mouse and keyboard methods to
quickly change the Gview:
To zoom in and out, spin the mouse wheel forward and
backwards.
To dynamically rotate the image, hold down the Alt key and
press down on the mouse wheel to grab it. Continue to
press down while moving the mouse to spin it.
To move the image around, use the up, down, left, and right
keyboard arrow keys.
To spin the image, hold down the Alt key and use the up,
down, left, and right arrow keys.
Standard Views
Every Mastercam part includes standard views that correspond to the
six faces of a cube (Top, Front, Back, Right, Left, Bottom) plus an
Isometric view. Standard views are available in all Mastercam files.
Their names and coordinates cannot be modified.
Figure 2-24: Standard Views
The Status bar Gview, Planes, and WCS menus provide options you
use to select standard views, create custom views, and set the Gview,
Tplane / Cplane, and WCS.
The WCS menu options allow you to align the work coordinate system with a specific view. You can select a standard
view, access the list of saved views, or create a new view
based on part geometry or by manipulating the current view.
Because Mastercam breaks views and planes into separate functions,
you can maintain the plane selections for each function independently. For example, you can be looking at the part in an isometric
view (Gview = Isometric) while drawing geometry on the front of the
part (Cplane = Front).
Note: For simple 2D geometry, the Top Tplane / Cplane (default)
corresponds to the standard XY plane .
Gview
Planes
WCS
If you configure the Status bar to include separate Cplane and Tplane
panes, these menus also share many common fields.
Figure 2-26: Cplane and Tplane Status bar menus
Cplane
Tplane
To help you become familiar with using view, planes, and WCS Status
bar menu options, descriptions and tips for each option are provided
below.
and update the origin of all planes that are linked to the view,
including the WCS.
Saved as: Indicates whether the new view has been saved
and displays its name.
Save: (Gview only) If the current view has not been saved, use
this option to open the New View dialog box where you can
set parameters and save the custom view. (If the current view
has not been saved, Mastercam displays Gview: Not Saved in
the graphics window.)
From the Status bar, choose WCS, View Manager. Use the
View Manager dialog box to select different views for each
plane. Use other dialog box options to customize the origin
and assign work offsets.
Figure 2-27: View Manager dialog box
Choose the Status bar configure option (!) and use the right
click menu to insert separate Cplane and Tplane panes into
the Status bar. Then use the Status bar Cplane and Tplane
menu functions to set the planes independently.
The picture of the coordinate axes (the gnomon) shows the orientation of the current Gview.
The lower line displays the name of the views aligned with the Gview,
WCS, Cplane, and Tplane.
Note: The Tplane view information displays only when a
machine definition or machine group is active.
The following picture shows the same display when a machine is
active. In this example, the Tplane and Cplane are set to the same
view (the front of the part):
The following picture shows the same display when the Tplane and
Cplane are oriented differently. In this case, both are set to align with
different custom views:
Managing Views
The View Manager dialog box is a central point where you can select,
edit, create and manage views.
Using this example, suppose we create a view aligned with this rectangle, with its origin at the anchor point. If the axes of the new view
are parallel to the system axes, its origin in view coordinates is the
same as the original coordinates of the point (as displayed in the View
Manager).
Next, create another view anchored on the same point but with the X
and Y axes flipped. In the View Manager, you will see that the coordi-
following ways:
2 In the graphics window, select the point for the new origin.
3 In the Update Origin or Create New View dialog box,
a new view:
a Type in a new name for the view.
b Reset the origin for the view, as necessary, by clicking the
tions.
b Click OK to accept the displayed axis combination.
4 Use options in the New View dialog box to define the new
view.
function that was active when you started this process. For
example, if you started from the WCS menu, the new view is
applied to the WCS.
X To create new Gviews from geometry
You can also create a new graphics view from selected geometry using one of the following methods:
Note: You can also select Rotate from the Gview Status bar menu.
To name and save the new view you create using this method, you
must choose Save from the Gview Status bar menu and complete
the fields in the New View dialog box, as described.
X To rotate a view by dragging it in the graphics window.
1 Use one of the following methods to select the Dynamic
Rotation function:
window.
3 Drag the mouse to rotate the Gview about the selected point.
4 To fix the view and exit the function, click the mouse again.
you are using a post processor configured for rotary output), while
changing the WCS does not.
The part we are using in this example consists of a contour toolpath
around a block that sits at a 20-degree angle about the Y axis.
A custom view has been created which aligns with the rectangle; it has
been named SLANT 20 DEG and saved to the view list. The examples
which follow show the effect of changing the Tplane or the WCS to
align the toolpath with the part geometry.
When you backplot the toolpath, you can see that the tool axis is
normal to the part geometry.
When you post the part with a 5-axis post processor, a B20 code is
output, rotating the tool axis or table 20 degrees before the part is cut.
The Tplane selection is what triggered the rotary motion.
Example 1 NC Code:
...
N140 (
LEN. - 0
TOOL - 1
DIA. OFF. - 0
DIA. - .25 )
N150 T1 M6
N160 G0 G54 G90 X1. Y-1.125 C0 B20. S2139 M3
...
If the part will be mounted on a rotary fixture, this would be the
proper approach.
The T/Cplane displays SLANT 20 DEG because the Top view that you
selected for the T/C plane is relative to the WCS. Since this matches a
named view from the catalog (SLANT 20 DEG), Mastercam displays
the view by name.
Next, you will create the same contour toolpath. In the Toolpath
Parameters tab, click the Planes button to verify the plane settings.
The Tplane matches Example 1, but the WCS is different. Select the
Display relative to WCS option to see the relationship between the
Tplane and the WCS.
When you backplot the toolpath, the toolpath and tool orientation
look exactly the same, but when you post it, there is no rotary motion.
Example 2 NC Code:
...
N140 ( 1/4 FLAT ENDMILL
LEN. - 0
TOOL - 1
DIA. OFF. - 0
DIA. - .25 )
N150 T1 M6
N160 G0 G54 G90 X1. Y-1.125 C0. B0. S2139 M3
...
If the part will be mounted flat on the table instead of a rotary fixture,
this would be the proper approach.
General Guidelines
Program moves that the machine can accomplish in one
setup with one WCS. If you have to manually change the part
orientation in the machine, use a different WCS.
For most common milling applications on a 3-axis knee mill
or VMC, leave the WCS aligned to the Top view and use the
Top tool plane for your work.
If you have a rotary axis, do the following:
To address this situation, create a new view aligned with the part
geometry. Choose WCS from the Status bar menu, select Geometry,
and select either two lines from the contour or one of the arcs. Use the
New View dialog box to assign a name, locate the origin at a suitable
point, and, optionally, assign a work offset for the view. Click OK to
save the new view.
Select the new view for the WCS, and then align the Tplane and
Cplane to it. Choose Planes from the Status bar, then Top (WCS).
Create a 2D toolpath as usual. When you post the part, 2D tool motion
commands are dimensioned from the part origin, as if the part is lying
flat.
running the job, the operator needs only to touch off the parts properly to set each offset position in the control.
To accomplish this in Mastercam, choose View Manager from the
WCS Status bar menu and use the View Manager dialog box to create
a new view for each fixture. To create each view, click on the Top view,
and choose Copy. Then type a name for the new view and enter the
offset for the fixture. To define an origin for the view, in the Origin
section, choose Select and pick a point on the fixture as shown in the
above picture.
Before creating operations for each part, choose Named from the
Planes Status bar menu, and select the view you created for the
fixture. When you post the operations, Mastercam automatically
outputs the correct offset codes and creates tool positions relative to
the origin specified for each fixture.
+X
-Z
+Z
+Y
-X
-X
+X
-Y
-Z
nents, you can set up axis combinations that link the axes of
specific components together.
TIP: You can also store a tool angle in the tool definition. Typically, this is done to support lathes without a B-axis, to create
tools that are at an angle to the primary axes. For lathes with
true B-axis capability, you enter a tool angle of 0 in the tool
definition so that the tool is parallel to the axis for compatibility
with a tool changer. Then use the Tool Angle dialog box to set
the desired tool angle for each operation.
Lathe Cplanes
Mastercam provides special lathe construction planes that allow you
work in familiar lathe coordinates. For conventional 2D turning applications, use the Status bar Planes menu to select the coordinate
system. Select Lathe Radius or Lathe Diameter coordinates, then
specify the desired X and Z directions.
This sets the Cplane and Tplane; there is no need to change the WCS.
For conventional 2D turning applications, you can leave the WCS as
the system Top view.
Undo / Redo
You can undo and redo one or more sequential
events that occur while working with the current file
and design functions.
An event is defined as a function-based operation. There is no difference between creating a single line or using an Xform function that
creates 100 lines. Each is a single event.
By default, Mastercam can save up to 2 billion undo / redo events,
restricted only by the amount of random access memory (RAM) available on your PC. To enhance your PC performance, you can configure
Mastercam to store only a specific number of events and allocate a
maximum amount of RAM to the undo / redo functions. For more
information, see Setting Defaults and Preferences (Configuration) on
page 68.
Notes:
Each time you open a part file or create a new file, the list of
undo / redo events is cleared from memory. However, saving or
merging the current file does not clear this list.
Due to the complex and associative nature of creating and
modifying toolpaths and solids, you cannot undo or redo toolpath- and solid-related functions.
The events you can undo and redo are limited to Mastercam CAD
functions, including those you use to create or edit geometry, drafting
entities, file annotations, and entity attributes.
The following CAD functions are not saved as events:
Delete / Undelete
The delete and undelete functions in the Edit , Delete submenu allow
you to permanently remove or restore one or more selected entities
from the graphics window and from the part file. You can also use the
Delete Duplicates (simple) and Delete Duplicates - Advanced functions to find and automatically delete duplicate entities in the current
file. This section describes each delete and undelete function and
how and when to use it.
2
Delete Duplicates (advanced)
Use this function to find and delete duplicate entities in the
current file based on their XYZ position, selected entity
type, and the entity attributes you specify, including:
Color
Line Style
Level
Line Width
Point Style
Delete entity
You can use different methods to delete entities, based on
whether you select entities before or after choosing the
Delete function.
Undeleting Entities
Use the Undelete functions to restore one or more deleted entities to
the current file. You can undelete only the entities you deleted while
working with the current file. For example, if you delete entities from
File 1, you can undelete them only until you open File 2.
Undelete functions include:
Creating Geometry
This section introduces the functions and ribbon bars you use to
create a broad range of geometric entities. You will learn to create
geometry and work with essential Mastercam CAD functions,
including:
es
i ti v
Pri
m
et
s /c
Fil
l et
Ge
om
Ar
cs
Po
in
ts
Lin
es
ric
sh
ap
es
ha
mf
Sp
er
s
lin
es
bar at the top of the screen. The Create line endpoints ribbon
bar displays.
2 To create the endpoints of the new line entity, click two posi-
Ho
riz
on
ta
l
Ta
ng
en
t
Ve
rti
ca
l
Lin
ea
ng
le
Lin
el
en
gt
h
Ed
it
en
dp
oin
ts
M
ult
i-li
ne
Creating Points
In this section you will learn to create points using the following functions:
You access the point functions from the Sketcher toolbar point dropdown list, or from the Create, Point submenu.
TIP: Sketcher Points drop-down list To exit a function:
Click OK
Press the Enter key
Press the Esc key
Choose another function
Ed
it
po
int
Note: When you choose the next point position, the prior point
becomes a fixed entity.
Of
fse
e
Di
sta
nc
Ed
it
po
int
Use the ribbon bar Offset field to create the point perpendicular to
the selected entity, offset by a specified distance.
Use the Distance field to specify the distance along the entity from its
nearest endpoint where you want to create the point. You can use the
this field independently or in conjunction with the Offset field.
When you are placing a point along a line or an arc, you can create it
beyond the selected entity, extended in either direction.
tion along the entity or enter the distance to create between each
point.
TIP: You can also set the distance or number of points before
selecting an entity.
r
Nu
m
be
Di
sta
nc
When you enter a number or distance value, Mastercam automatically calculates the necessary point positions.
If you use the Number field to create points, Mastercam always places
points on each endpoint of the entity. However, if you use the
Distance field, Mastercam creates the first point at the endpoint
nearest where you selected the entity, and then, at multiples of the
specified distance. It is possible that a point may not be created at the
final endpoint.
Note: This function creates points only along the physical entity.
No points are created on an extended projection of the entity.
s
let
arc
arc
s
De
Pa
r ti
al
M
ax
rad
ius
To create points at the center of arcs and circles, choose the Partial
arcs option. If this option is not selected, point will be created only in
the center of circles (closed arcs).
To delete the selected arcs and circles after the points have been
created, choose the Delete arcs option.
Creating Lines
Mastercam offers a variety of flexible functions you use to quickly
create lines, including:
nt
al
Ta
ng
en
t
riz
o
Ho
Ve
rti
ca
l
ng
le
Lin
ea
el
en
gt
h
Lin
Ed
it e
nd
po
int
s
M
ult
i-li
ne
endpoint and begin creating the line, when the line comes close to
a horizontal position, the horizontal / vertical visual cue appears
next to the cursor, indicating that you can click to snap the
endpoint to that position.
Regardless of the method you use to create the line, it remains live
after you choose the second endpoint so you can use the Line
Length field to specify an exact length, or use the AutoCursor
fields to specify an exact position. The entity becomes fixed when
you press Enter or click the Apply button.
Under certain circumstances, Mastercam creates multiple possibilities for bisecting lines and you must select the one to keep.
Le
ng
t
To set the length of the bisecting line, enter a value in the Length field,
press Enter, then select the two lines to bisect.
t
Ta
ng
en
ng
th
Le
Ed
it e
nd
po
int
To set the length of the perpendicular line, type a value in the Length
field and press Enter. Then select the entity and a position.
You can also use this ribbon bar to create a line perpendicular to a line
and tangent to an arc by choosing the Tangent option and selecting a
line or arc and then an arc or line. In this circumstance, Mastercam
creates multiple possibilities for perpendicular lines and you must
select the one to keep.
Notes:
To use the tangent feature of this ribbon bar, you must have at
least two entities in the graphics window, and one of them
must be an arc.
When creating lines perpendicular to arcs, you can create the
line on an extended portion of the selected arc.
When creating lines perpendicular to arcs or splines, select the
entity close to the area from which you want to draw the line.
t
Ta
ng
en
Di
sta
nc
e
Fli
p
Ed
it e
nd
po
int
The parallel line is created at the same length as the existing line. To
offset the parallel line, enter a value in the Distance field then indicate
the offset direction.
Use the Flip option to set the position of the parallel line relative to
the primary line. This button has three toggle states:
Ta
ng
en
t
te
r
Di
am
e
Ra
diu
s
Ed
it c
en
te
r
po
int
Alternatively, you can enter a value into either the Radius or Diameter
field to set the size of the circle and then click in the graphics window
to set the center point to position the circle.
You can use AutoCursor to position the center point and/or the edge
point of the arc. You can also create circles tangent to other entities.
degrees, doubleclick the first edge point (you are not prompted to
select a second edge point).
nt
Ta
ng
e
En
da
ng
le
an
gle
St
art
er
Di
am
et
Ra
diu
s
Fli
p
Ed
it c
en
te
rp
oin
t
Alternatively, you can manually enter values in the ribbon bar fields to
set the circle size, start angle, and end angle. You can then select the
center point in the graphics window to position the arc and use
AutoCursor to position any or all of the three points of the arc.
You can also create arcs tangent to curves and points.
TIP: Use the Flip option to set the direction of the arc. This
button has two toggle states; clockwise (left) and counterclockwise (right).
Notes:
If you choose the Tangent button in the ribbon bar, you must
select an entity as the first edge point selection (radius and arc
start point). The selected entity is the tangent entity for the
resulting arc.
To create a full circle, enter 0 for the start angle and 360 for the
end angle.
t
en
Ta
ng
te
Di
am
e
diu
s
int
Ra
Ed
Tw
o
it e
po
dg
ep
oin
ts
t
Ta
ng
en
er
Di
am
et
Ra
diu
s
Ed
it e
nd
po
int
You can also create arcs tangent to curves and points, and use
AutoCursor to position any or all of the three points of the arc.
Notes:
If you choose the Tangent button in the ribbon bar, Mastercam
accepts any locations for the first two positions but you must
select an entity for the third position. The selected entity is the
tangent entity for the resulting arc.
You can select up to two collinear points.
Ta
ng
en
t
Ed
it e
dg
ep
oin
ts
En
da
ng
le
an
gle
St
art
er
Di
am
et
Ra
diu
s
op
Sn
ap
t
Di
am
et
er
oin
Ta
ng
e
Ta nt 1
ng e
Ta ent ntit
ng po y
Dy ent int
na ce
mi nte
c t rli
an ne
ge
nc
y
Ra
diu
s
Ed
it e
nd
po
int
St
art
p
En oint
dp
oin
t
To set the size of the arc, enter a radius or diameter in the corresponding ribbon bar field, choose the tangent condition you want to
use, and follow the prompts to create the arc. Under some circumstances, Mastercam displays four possible arcs and you must select
the one you want to keep.
Note: When choosing lines to create an arc, those lines cannot be
parallel to one another.
Create rectangle
(page 201)
Create rectangular
shapes (page 202)
Create polygon
(page 203)
Create ellipse
(page 204)
Bounding box
(page 205)
Letters
(page 207)
Create spiral
(page 208)
Create Helix
(page 209)
Solid to 2D profile
(page 210)
To choose a function, select it from the Sketcher toolbar Miscellaneous Geometry drop-down list, or from the Create menu.
Figure 2-51: Sketcher Miscellaneous Geometry drop-down list
Create rectangle
This commonly used function lets you quickly create a rectangle by defining two points. To draw the rectangle, click to
set the base point that anchors the rectangle. Then drag the
anchor point and click to set the second corner. You can use
AutoCursor to precisely position the two points on the rectangle.
An
ch
o
Cr r to
ea ce
te
n
su ter
rfa
ce
He
igh
t
h
W
idt
Ed
it p
oin
ts
Use other ribbon bar fields to draw the rectangle from a center point,
or create it as a surface within the rectangle. The rectangle remains a
live entity until you click the Apply button or click to start drawing
another rectangle.
You can create the shape using a base point or 2-point method. The
dialog box options change, depending on the method you select.
However, both methods let you set a corner fillet, rotation angle,
general shape, and surface creation.
2-point method
Choose this method and sketch a corner base point, then draw the
rectangle and sketch the second point. Use the AutoCursor to
change either the base point or second point.
Note: The default rectangle creation method is Base point.
Create polygon
This function allows you to quickly create a polygon as wireframe geometry and, optionally, a surface. Use the Corner
or Flat options to determine whether the radius is
measured from the base point to a corner, or to the
midpoint of a side.
Create ellipse
You can create an ellipse as wireframe geometry and,
optionally, a surface, using this function and dialog box. To
create a partial ellipse, enter a start angle greater than 0
degrees and/or an end angle less than 360 degrees.
Bounding box
Use this function to check the overall dimensions of a part
by creating a rectangular or cylindrical boundary around
selected entities. You can create the boundary as wireframe
geometry, a solid model, or a stock model.
Figure 2-56: Example: Bounding box
Bounding box
Rectangular
Cylindrical
Letters
The Create Letters dialog box allows you to add alphanumeric characters consisting of lines, arcs, and NURBS
splines to your file. You can use one of the fonts provided by
Mastercam, including special drafting fonts, or choose from
any TrueType font installed on your PC.
Figure 2-58: Create letters dialog box
Mastercam fonts
Mastercam contains predefined letter fonts, including Block, Box,
Roman, and Slant, and a number of specialized drafting fonts, such as
Dayville, European, Hartford, Old English, and more. You can also
choose a custom font for letters by selecting Other from the font list
and navigating to the folder where your font is stored to select it.
When you select a drafting font, you can choose the Drafting Options
button and format letters using the Drafting Options dialog box and
Note Text options. The Note Text parameters you define will overwrite
the Font and Height settings that appear in the Create Letters dialog
box.
TrueType fonts
You can choose any TrueType font installed on your PC to format the
letters you create in Mastercam files. To use one of these fonts, choose
the TrueType button, select one from the Fonts dialog box and click
OK.
TIP: When using TrueType fonts, the height of the actual letters
may not match the value that you entered for letter height
because Mastercam scales the letters based on all of the information encoded into the TrueType font, including blank space
around the letters. Use the Xform, Scale function to resize
them as needed.
Create spiral
Use this flexible function to create spiral geometry as a
series of NURBS splines. You can specify the initial and final
pitch in both the XY and Z planes, set the number of revolutions or height, and choose the direction (CW/CCW).
Figure 2-59: Create spiral dialog box
2
Note: To create a spiral with a taper angle, use the Create, Helix
function.
Create Helix
This function lets you create a tapered spiral as a continuous NURBS spline. You can define the inward and starting
angles, radius, number of revolutions or height, pitch, and
direction (CW/CCW).
Figure 2-61: Create helix dialog box
Solid to 2D profile
If you work with 3D solid models for manufacturing
purposes, you can use this function to easily extract 2D
geometry from a 3D solid in order to create the necessary
toolpaths.
The Solid to 2D Profile function blends together incremental 2D
profiles, or perpendicular slices, taken as the 3D solid is rotated along
a specified axis. The incremental cross-sections are blended together
to create one set of curves that represent the net outermost and
innermost 3D shape. You use the ribbon bar options to define the axis
of rotation, the incremental distance along the axis for creating each
profile, and the type of 2D output (lines/arcs, points, or spline).
ep
St
Ty
pe
Ax
is
Se
lec
t
The resulting 2D wire frame can be trimmed to allow for chaining and
used with other Mastercam functions.
You can view the resulting slices on the solid model before accepting
the 2D profile, and modify the increment and axis until you create an
acceptable result.
Groove.
2 In the DIN Relief Groove Parameters dialog box Shape
Fillet entities
(page 213)
Fillet chains
(page 214)
Chamfer entities
(page 214)
Chamfer chains
(page 215)
Fillet entities
Before you select the entities to which you will apply the
fillet, use the Fillet ribbon bar fields to define the fillet style
(normal, inverse, circle, clearance) and enter the necessary
radius value. You can also define whether to trim the
selected lines to the fillet. Trimming is set as the default so if you do
not want the entities trimmed, just deselect the Trim button.
No
Tri
m
Tri
m
St
yle
Ra
diu
Fillet chains
Use this function to fillet entities that have sharp corners
and can be recognized as a single chained entity (i.e., rectangles and polygons). The ability to fillet only inside or
outside corners of a chained boundary is particularly useful
during geometry creation for wire EDM parts (punches and dies).
These parts often require different radius values on inside and outside
corners in order to provide adequate corner clearance.
When you choose this function, the Fillet Chains ribbon bar displays
and the Chaining dialog box opens. Use the dialog box options and
cursor to chain the entities to fillet. When you close the Chaining
dialog box, a preview of the chained entities appears in the graphics
window with the fillet entities highlighted.
Tri
m
No
Tri
m
St
yle
Di
re
cti
on
Ra
diu
s
Ch
ain
To edit the resulting fillets, use the ribbon bar fields. To accept them,
click Apply.
Chamfer entities
Use this function to apply chamfers to existing entities.
Before you select the entities to chamfer, choose the
chamfer method and enter the necessary distance and
angle values.
Tri
m
No
Tri
m
An
gle
St
yle
e2
Di
sta
nc
Di
sta
nc
e
Select the first entity. As you move the mouse over the second entity, a
preview of the chamfer displays. When you select the second entity,
the chamfer is immediately created as a fixed entity.
Notes:
To chamfer chained geometry, use the Chamfer Chains function.
You can chamfer arcs using the 1 Distance and 2 Distance
methods.
Chamfer chains
This function allows you to chain entities and create chamfers at sharp corners. When you choose this function, the
Chamfer Chains ribbon bar appears and the Chaining
dialog box opens. Use the dialog box options and cursor to
chain the entities to chamfer. When you close the Chaining dialog
box, a preview of the chained entities appears in the graphics window
with the chamfer entities highlighted.
No
Tri
m
Tri
m
e
St
y
Di
sta
nc
e
Ch
ain
/w
idt
To edit the resulting chamfers, use the ribbon bar fields. To accept
them, press the Apply button.
The Style field in the Chamfer Chains ribbon bar is a multi-purpose
field that is used in conjunction with the Distance/Width field, which
is also a multi-purpose field. You use these fields to set both the
chamfer distance and width.
To set the chamfer width, choose Width from the Style field
and type the width in the Distance/Width field.
Creating Splines
Mastercam provides a number of functions that define the method
used to create a spline. Their corresponding ribbon bars allow you to
further define the resulting geometry. Spline functions include:
Notes:
To set the default spline type (Parametric, NURBS, curvegenerated) choose Settings, Configuration, CAD Settings,
and select a Spline / Surface creation type.
You use the AutoCursor to specify point positions only with the
Manual spline function.
dit
ion
s
en
dc
on
Ed
it
Ba
ck
up
on
ep
oin
t
ec
tan
ge
nc
yv
Fli
p
En
dp
oin
t
ho
d
tm
et
En
dp
oin
an
gle
r
ec
to
yv
nc
ge
an
Fli
pt
po
int
an
gle
d
St
art
po
int
me
th
o
St
art
to
r
Use the Start Point and End Point fields to define the tangent vector
of the splines endpoints. Choose from the following selections.
Le
ve
ur
ve
s
Or
igi
na
lc
Ch
ain
De
va
itio
n
You can set a deviation tolerance that determines how closely each
resulting spline matches the selected curves, and you can choose to
keep, blank, or delete the original curves once the splines have been
created, or move them to a different level.
Se
le
ct
Fir first
st
c
cu urve
rve
ma
gn
itu
de
Se
lec
t
Se seco
co
nd nd c
cu urv
rve e
m
ag
nit
ud
Tri
e
m
Creating Primitives
Mastercam makes it easy to create primitive surfaces by sketching in
3D, by entering values, or by using a combination of these techniques.
If your installation includes Mastercam Solids, you can optionally
create solid primitives. In this section, you will learn to use the
following functions to create primitive shapes.
Create block
Use this function create a block primitive as a solid or
surface model. To draw the block, click in the graphics
window to set the base point, drag outward to set the length
and width, then drag up or down to set the height.
While the block is live, use the dialog box fields to adjust the dimensions, extend it in any of the three directions, select a new base point,
rotate it, or change the primary axis.
Figure 2-74: Create primitive block dialog box (expanded)
Create cone
To create a cone primitive as a solid or surface model,
choose this function. To draw the cone, click in the graphics
window to set the base point, drag outward to set the radius,
then drag up or down to set the height. While the cone is
live, use the dialog box fields to adjust the dimensions, extend it in
two directions, select a new base point, change the primary axis, set
the top radius, or change the sweep to create a slice of a cone.
Figure 2-75: Create primitive cone dialog box (expanded)
Create cylinder
You can create a cylinder primitive as a solid or surface
model using this function. To draw the cylinder, click in the
graphics window to set the base point, drag outward to set
the radius, then drag up or down to set the height. While the
cylinder is live, use the dialog box fields to adjust the dimensions,
extend the cylinder in two directions, select a new base point, change
the primary axis, or change the sweep to create a slice of a cylinder.
Figure 2-76: Create primitive cylinder dialog box (expanded)
Create sphere
This function allows you to create a sphere as a solid or
surface model. Draw the sphere by clicking in the graphics
window to set the base point. Then drag outward to set the
radius. While the sphere is live, use the dialog box fields to change the
base point, radius, and sweep angle.
Figure 2-77: Create primitive sphere dialog box (expanded)
Create torus
Choose this function to create a torus as a solid or surface
model. Draw the torus by clicking in the graphics window to
set the base point, and dragging outward to set the major
radius. After setting the major radius, drag the minor radius
to the position you want then click to set the minor radius and create
the torus. While the torus is live, use the dialog box fields to change
the base point, major and minor radius, sweep angle and the axis.
Modifying Geometry
Mastercam offers a variety of functions and techniques you use to
modify geometry. In this section, you will learn about:
Editing Entities
Transforming Entities on page 235
Analyzing Entities on page 253
Changing Entity Attributes on page 266
Editing Entities
You access basic editing functions from the Edit menu or Trim / Break
toolbar in order to:
Tri
m
Br
ea
k
en
gt
h
to
l
Tri
m
Tri
m
Tri 1 e
m nti
Tri 2 en ty
m ti
Di 3 e ties
vi n
Tri de titie
s
m
to
po
int
When this ribbon bar appears, you can begin trimming to one entity
by selecting the entity to trim then selecting an entity in the location
you want to trim to. Or, you can trim two entities by selecting the first
entity then doubleclicking the second. For other ribbon bar options
(for example, Trim 3 entities, or Trim to length), choose the option,
then select one or more entities and specify parameters, as necessary.
Trim 1 EntityThe following examples illustrate how to use the Trim
1 option to select and trim a vertical line to a horizontal line. The
result varies depending on where you select the vertical line (the
entity to trim) before selecting the horizontal line (the entity to which
you are trimming). The visual cue (+) in the left-most image shows
where you select the vertical line; the right-most image shows the
resulting trim after you select the horizontal line.
Example 1
Example 2
2
Figure 2-81: Example Trim 2
Trim Many
The Trim Many function and ribbon bar lets you trim (or
break) multiple lines, arcs, or splines to a selected entity
without modifying the trimming curve.
Tri
m
Br
ea
k
Fli
p
Se
lec
After choosing this function, select one or more entities to trim. Then
choose the entity to trim to and indicate the side of the trimming
curve you want to keep. You can preview the results before accepting
the changes. Before accepting the change, you can also flip the results
from one side of the trimming curve to the other, and switch the
results between trimming or breaking the selected entities. The
example below shows four arcs that are trimmed to a line. The dashed
line shows the portion of each arc that is trimmed, which varies
depending on which side of the curves you select to keep.
Note: When you choose the Break option rather than Trim, it
disables the Flip function and the option to select a side of the
trimming curve to keep.
Break at Intersection
Use this simple function to select one or more intersecting
line, arc, or spline entities and break them at each intersection. First, select one or more intersecting entities to break.
Then, press Enter or choose the end selection function in
the General Selection ribbon bar to break the selected entities where
they intersect.
Lin
es
/
Ar
cs
Ke
e
De
let
e/
ce
ran
To
le
nc
e
Di
sta
Nu
mb
er
p/
Bla
nk
Break Circles
This last function in the Trim / Break submenu allows you
to break circles into any number of equal length segments
you specify. After choosing the function, select one or more
circles to break, type the number of arcs you want to break
the circles into and press Enter.
TIP: Use the Close arc or Join entities functions to join arcs
into circles.
In addition to the trim / break /extend functions, the Edit menu also
includes the following functions you use to join and modify entities.
Join entities
This function is useful when you want to join collinear lines,
arcs that have the same center and radius, or splines that
were originally created as the same entity.
Note: If the two entities you select to join have different attributes,
Mastercam creates a new entity using the attributes of the first
entity you select. For example, if you select a dashed line and a
solid line, the lines are joined to create a single dashed line.
Close arc
Use this function to select and convert all arcs that are less
than 360 degrees to complete circles by extending their
ends to close the arc.
Convert NURBS
This function allows you to:
Modify NURBS
You can change the shape of the NURBS entity by modifying control point positions on a NURBS spline or surface.
When you choose this function, you first select a NURBS
entity. All of the entity control points appear highlighted,
and remain visible for as long as you work with the selected entity.
To modify the NURBS spline or surface, click and drag a control point.
The modified shape or surface is drawn using a dashed line style in
the highlight color so you can easily distinguish it from the original.
Before accepting a change, you can preview the modification based
on the new control point position. To accept the new position, just
click again to release the control point, then continue to select control
points or exit the function.
Simplify
You can create arcs based on the geometry of circularshaped splines by using the Simplify function to convert
them to arcs. When working with arcs instead of splines,
you can more easily and accurately reference the centers of
the circular geometry or dimension the circles.
You can also use this function and ribbon bar to convert splines that
define lines into line entities.
Ke
e
e/
let
De
To
ler
an
ce
Se
lec
t
p/
Bla
nk
Notes:
Use this function when working with file conversions if geometry that is supposed to denote circles, arcs, or lines appears as
splines.
The Xform menu provides additional functions you can use to
modify entities. For more information on using Xform functions, see Transforming Entities on page 235.
Transforming Entities
Transforming entities is similar to editing, but offers more advanced
functions for manipulating fixed entities. In a single operation, you
can move selected entities and optionally create copies of them by
mirroring, rotating, scaling, offsetting, translating, stretching, rolling,
and dragging. With some transform functions, you can also join the
copied entities to the originals to quickly and easily create more
complex geometry.
When transforming entities, you can preview and modify the results
before accepting them. Previewing lets you view a detailed live image
of the move, copy, or join results set in the graphics window, placed in
the position you choose in the function dialog box or ribbon bar. To
conserve resources when transforming, scaling, mirroring, or rotating
larger models (for example, those containing multiple solids and
surfaces or a large number of entities), instead of detailed entities, the
preview image is a 3D cube or a 2D rectangle sized in proportion to
the results set area.
You access transform functions from the Xform menu or toolbar. In
this section, you will learn to use the following functions to modify
geometry:
Xform Translate 3D
(page 239)
Xform Rectangular
Array (page 249)
When you perform a transform function, Mastercam creates a temporary group from the original entities and a result from the transformed entities. The system-generated group and result are indicated
by a color change that stays in effect only until you use the Screen,
Clear Colors option or perform another transform function. The
default colors are red for the original group and purple for the result.
TIP: When you translate and join entities, duplicate lines
sometimes result and can interfere with chaining. You can
configure Mastercam to automatically delete duplicate lines
created during a join operation by setting this default in the
CAD Settings page of the System Configuration dialog box. For
more information on this and other configuration options, see
Setting Defaults and Preferences (Configuration) on page 68.
Xform Translate
Choose the Xform Translate function to move, copy or join
entities within the same view (plane) without altering their
orientation, size, or shape. You can translate all geometric
and drafting entity types using:
The translation result remains live until you accept it. This flexibility
allows you to preview and flip the direction of the results, or create
results in both directions.
2
Figure 2-90: Example 2, Transform Stretch
Note: To translate between different views (planes), use the Translate 3D function.
Xform Translate 3D
Use this function to move or create copies of selected entities between views (from one plane to another) without
altering their orientation, size, or shape.
Xform Mirror
You can create mirror images of geometric and drafting
entities with this function. The entities are reflected
symmetrically with respect to the axis you choose,
including:
When mirroring entities, you can move, copy or join the original entities within the drawing. First, choose the entities you want to work
with. Then, select the type of mirror image to create. If necessary, you
also select specific reference points in the graphics window where you
want to place the mirrored entities.
Xform Rotate
This function makes it easy to move, copy, or join selected
geometric and drafting entities around a center point. You
can translate or rotate the entities around the selected
center point by a specified angle. Translating will rotate the
2
Figure 2-95: Example Rotate rectangle
Xform Scale
Scaling allows you to increase or decrease the size of entities
by a factor or percentage relative to a defined point. You can
scale all geometric and drafting entity types using either a
uniform or XYZ scale method.
When scaling selected entities, you can also choose to move, copy or
join them.
Xform Offset
Use this function to offset one entity at a time. You can
move or copy a single entity parallel to the original;
displacing it by a defined distance and direction. The direction is perpendicular to the entity along every point, and
relative to the current construction plane.
You can create multiple copies and use the Direction button to create
parallel entities on either side of the selected entity or on both sides.
Note: When you offset the boundary inward, the system trims the
boundary at corners.
Xform Project
When you choose this function, Mastercam offers a variety
of different methods you can use to project selected entities, including:
When projecting points onto surfaces, select the Points / Lines check
box and button to access the Project Points dialog box.
Figure 2-100: Project Points dialog box
Xform Roll
Use the Xform Roll function to wrap lines, arcs, and splines
about an axis as though around a cylinder, or unwrap rolled
entities to make them lie flat.
Xform Drag
Use the mouse with the Xform Drag function and ribbon
bar options to select entities and dynamically move, or copy
them to a new position by dragging and translating or
rotating them.
h
St
re
tc
Tra
n
Ro slate
ta
te
ov
Co e
py
Se
lec
t
Xform STL
STL is an acronym for StereoLithography, a 3D model file
type developed by 3D Systems, Inc. An STL file is a large
collection of oriented triangles that represent surface and
solid models. If you work with STL files, you use this function to mirror, rotate, scale, offset, and translate STL files.
Select the Bounding Box check box and button to access the
Bounding Box dialog box, and create rectangular or cylindrical
boundary around the STL file.
You can save the results to the same file or to a new file.
Analyzing Entities
Use the Analyze menu functions to retrieve analytical data for most
elements that appear in the graphics window. This includes information on entity properties, positions, distances, 2D and surface areas,
solid properties, chains, contours, angles, and entity database properties. For most functions, you can modify some or all of the information in analyze dialog box fields.
This topic defines each analyze function and provides you with
general instructions for its use. Analyze menu functions include:
Analyze Distance
(page 256)
Database / Number
submenu (page 263)
When you select more than one entity to analyze, a single properties
dialog box appears for the first entity type. The left and right arrow
buttons in the dialog box indicate that you are analyzing more than
one entity, and allow you to cycle through the previous or next entity
in the selection group.
The Analyze function remains active until you press the Esc key or
close the properties dialog box, allowing you to select and analyze
additional entities.
Entity attribute fields for Level, Color, line Style and Width, or Point
style appear in all properties dialog boxes. Use these fields to modify
the attributes of a single entity, or use the Propagate Attribute
Changes apply button to assign the same attributes to all selected
entities. (This button is available only when multiple entities are
selected or when attributes are changed.)
Analyze Position
You can view the XYZ coordinates of a selected position or
point entity using the Analyze Position function.
Figure 2-106: Analyze Position dialog box
This function remains active until you close the dialog box so you can
continue to select and analyze different points or positions.
TIP: This function provides read-only information. To modify
the point or position XYZ values, use the Analyze function.
Analyze Distance
Use this function to analyze the distance between two
selected entities or positions by creating one or more theoretical lines.
Based on your selections, you can view information on the point positions (XYZ coordinates), angle between points or entities, and either
the 2D and 3D lengths or, the minimum and maximum distance. The
3D XYZ delta values (differences) between the selected points or entities also displays.
Note: This function does not create geometry or update the properties of the selected entities.
Analyze 2D Area
Use this function to analyze an area you define by selecting
curve boundaries relative to a specified chord height tolerance.
You can view details on the boundary and perimeter areas, center of
gravity, and moment of inertia about the X and Y axes and about the
center of gravity. You can save the data to a specified file type, filename, and location.
You can optionally save the resulting data to a specified file type, filename, and location.
TIP: A smaller chord height tolerance value results in a more
precise analysis and a more accurate calculation of area.
2
In addition, you can save the solid data to a file.
Analyze Chain
This function allows Mastercam to analyze the chains you
select in order to identify one or more subtle problems that
might be overlooked, including:
You can optionally create geometry to mark problem areas as they are
detected during the analyze process. This geometry helps you zoom
in on problem areas in order to fix them. Mastercam creates red arcs
(circles) for overlapping entities, yellow point entities for direction
reversals, and blue arcs (circles) for short entities.
Note: To avoid missing overlapping or short entities, we recommend that you use the Window chaining method when selecting
the chains you want to analyze.
Analyze Contour
Use the Analyze Contour function to generate a text report
containing the properties of all the entities in one or more
chained curves. The curves can contain lines, arcs, or points
(no splines). You can analyze either 2D or 3D contours. For
2D contours, you can analyze a contour which is offset from the
chained curve, and which uses cornering options, simulating a simple
contour toolpath.
The generated report opens in your default text editor and lists the
properties of each entity in the chained curves. Before saving the file
to a specified location, you can view and edit the data or add
comments, as necessary.
Analyze Angle
This simple function lets you analyze the angles between
two lines or three point that you select in the graphics
window. Mastercam displays values for the first angle and
the supplementary angle.
Analyze Dynamic
You can dynamically view information on any position you
choose along an entity. When you select the entity, you use
the cursor to move the arrow endpoint that appears along
the entity to the position you want to analyze.
The information that appears in the dialog box fields for the selected
entity type includes:
Analyze Number
Use this function to easily identify and view the properties
of an entity using only the entity number (a database property automatically assigned to all entities).
When you type the number of the entity you want to analyze and
choose OK, the properties dialog box for the entity appears and the
selected entity is highlighted in the graphics window.
Notes:
You can also use the Analyze Entity Properties function to
select one or more entities to analyze in the graphics window.
To identify the entity number of a specific entity, use the
Analyze Database function.
Analyze Database
This function provides database-related information about
a selected entity. You can view the entity number, creation
date and time, and number of references for associations to
the entity including:
This function remains active until you close the dialog box, allowing
you to continue to select and analyze the database properties of
different entities.
levels, colors, line styles and widths helps you quickly locate and
isolate points, lines, arcs, and other entities, and simplifies your
design and machining processes. You have several options for
assigning and changing entity attributes.
X To store initial entity attributes in a configuration file:
Use the CAD Settings tab of the System Configuration dialog box
(choose Settings, Configuration, CAD Settings). After saving
entity attributes, when you start a new drawing session or open a
new file, initial attributes are loaded from the Mastercam configuration file.
X To set entity attributes only for the current drawing session:
Access the Entity Attributes Manager dialog box by choosing
Attributes from the Status bar. Then, choose the EA Mgr button in
the Attributes dialog box. The changes you make will override the
initial configuration parameters and apply to all entities created
during the remainder of the current drawing session.
X To modify entity attributes for one or more selected entities,
use one of the following methods:
wireframe (unshaded)
shaded
Figure 2-121: Example: Wireframe and shaded display options
dimmed wireframe
no hidden wireframe
outlined shaded
Figure 2-122: Example: Shaded with outline
2
X To display surfaces and solids as wireframes:
Choose the Wireframe button on the Shading toolbar (or
Dimmed Wireframe or No Hidden Wireframe if shading
a solid).
X To set the parameters that control shading for the current
Mastercam session:
Choose the Shade Settings button the Shading toolbar,
or choose Screen, Shade Settings. For more information, see Shading Settings on page 269.
X To shade surfaces and solids:
Choose the Shaded button on from the Shading toolbar
(or Outlined Shaded if shading a solid), or choose
Screen, Shade Settings, and select Shading Active.
TIP: Press [Alt+S] to toggle shading on or off. This shortcut key
does not affect the type of shading, nor the wireframe outline
setting.
X To set the default shade settings, choose Settings,
Configuration, Shading. See Shading Settings below for
information on these options.
Shading Settings
Shading settings control the appearance of shaded surfaces and
solids. The Shading Settings dialog box provides this control. Choose
Screen, Shade Settings to open the Shading Settings dialog box:
Define characteristics of
and turn on/off spot lights.
Entity Selection
You can shade all surfaces and solids in the current job or only
selected entities.
X To shade all entities:
1 Choose Screen, Shade Settings.
2 Enable both Shading active and All Entities.
Colors
To control the shading color, choose Screen, Shade Settings, and
then:
Parameters
Note: Shading active must be enabled to set these parameters.
Lighting
Mastercam provides many lighting options that allow you to create
shading effects:
Ambient light is diffuse light shining onto the entity from all
directions.
Spot lights are directional lighting. Spot lights can
simulate the diffuse light from a light bulb, or a
focused cone of light from a conventional spot
light. You can light the entity using multiple spot
lights.
You can control the intensity and color of both ambient and spot
lighting.
X To control shaded entity lighting:
1 Choose Screen, Shade Settings.
2 Make sure Shading active is enabled.
3 In the Lighting group box, use the slider or enter a value
2
6 To turn the spot light on, enable Power:
Figure 2-126: Shading Spot Light Options
Note: You can turn on more than one spot light at a time. A yellow
image in the spot light angle display indicates that the light is on.
Surface Creation
Mastercam X offers a wide range of surface creation functions:
Creating ruled or
lofted surfaces
Creating net
surfaces (page
(page 277)
281)
Creating revolved
surfaces (page 278)
Creating fence
surfaces (page
283)
Creating offset
surfaces (page 279)
Creating draft
surfaces (page
283)
Creating swept
surfaces (page 280)
Creating extruded
surfaces (page
285)
TIP: You can create simple surfaces using the Create, rectangle, rectangular shapes, polygon, ellipse, and Primitives
functions. See Creating Miscellaneous Shapes on page 200.
In this section, you will learn more about surface modification functions, including:
Filleting Surfaces
(page 286)
Removing Boundaries
from Trimmed Surface
(page 295)
Trimming Surfaces
Untrimming surfaces
(page 289)
(page 296)
Creating a surface
from a solid face (page
295)
291)
Filling holes with
surfaces (page 293)
296)
Surface Representation
Mastercam can represent surfaces in three ways:
parametric
NURBS
curve-generated
Not all surface types are appropriate for all surface creation methods.
A parametric surface is analogous to a parametric spline. A parametric surface expands each curve segment in another direction,
resulting in a patch. A patch is a surface area bounded by four
segments of the generating curves. A parametric surface requires a
large amount of data storage.
A NURBS (non-uniform rational B-splines) surface is analogous to a
NURBS curve or spline. A NURBS surface expands a string of control
points in another direction, resulting in a grid. It requires less space
than a parametric surface but takes longer to process.
A curve-generated surface stores a direct reference to the original
curve. It requires less space than either a parametric or a NURBS
surface. Swept, Net, and Blend surfaces cannot be curve-generated.
Note: You control the default surface type by setting a system
parameter. Choose Settings, Configuration, CAD Settings, and
select a Spline/Surface creation type.
Base surface
When Mastercam creates a trimmed surface (for example, fence
surface or flat boundary surface), it also creates an untrimmed,
blanked base surface or parent surface. It uses the base surface for
future modifications of the surface. In some cases (flat boundary
surfaces, for example), the base surface boundaries may extend
beyond the visible surface boundaries.
In most cases, you will not use or be aware of the base surface. The
sections that follow note occasions when the base surface has an
effect on an action.
TIP: To display a base surface, unblank it by choosing Screen,
Unblank entity. To redisplay the trimmed surface, choose
Screen, Blank entity.
Figure 2-127: Example: Surface and base surface
Surface
Base surface
Surface Display
In addition to the shading settings, you can control the appearance of
surfaces and solids by setting:
Ru
led
Lo
fte
d
Ch
ain
When you select curves for a ruled surface, the selected ends of each
pair of curves (curve one and two, two and three, and so on) compose
one edge of the surface. When you select a curve or chain of curves, a
temporary arrow displays at the closest endpoint to show which end
is selected.
TIPS:
To better match curves, or chains of curves, select the
curves using the Sync chaining method (Chaining Options
dialog box). This method allows you to match curves manually or by entity, branch, node, or point.
As long as the surface is live, you can rechain the curves and
switch the surface between ruled and lofted.
You can control the start angle and the sweep of the revolution to
create a partial revolution.
En
da
ng
le
an
gle
St
art
Fli
p
Ax
is
Pro
file
ist
e
ov
M
Co
p
td
fse
Of
Fli
p
le
/
Cy
c
le
f
Sin
g
Se
l ec
t
lip
Ne
xt
an
ce
Tra
n
Ro slate
tat
e
Ch
ain
2
Figure 2-137: Example: Swept surface, shaded
St
yle
Ap
ex
p
Ch
ain
oin
t
ng
le
En
da
St
art
an
gle
En
dh
ei g
ht
St
art
he
igh
t
nd
me
th
od
Ble
Ch
ain
Se
lec
ts
urf
Fli
ac
p
e
Note: The resulting draft surfaces are not trimmed nor filleted.
Filleting Surfaces
In this section, you will learn to use the following functions in the
Create, Surface, Fillet Surface submenu to fillet selected surfaces:
In some cases, having only one set of surfaces could prove more
time-consuming. For example, if you have multiple surface walls
and a single surface floor all in a single set, the system looks for
intersections between all walls and the floor. If, however, you
select the walls as one set of surfaces and the floor as the second
set of surfaces, the system looks for intersections only between
each wall and the floor.
Select the surfaces you want to fillet and press Enter. Chain the
curve to which you want the surface to be filleted. Click Apply or
Enter when done.
A defined radius
Lies on a curve or chain of curves at a rail location
Is tangent to one or more selected surfaces
Figure 2-147: Fillet Surfaces to a Plane dialog box
Select the surfaces you want to fillet and press Enter. Select the
plane to which you want the surface to be filleted. Click Apply or
Enter when done.
Trimming Surfaces
In this section, you will learn to use the following functions in the
Create, Surface, Trim Surface submenu to trim selected surfaces:
1(
tr
2 ( im fi
tri rst
Bo m se sur
th co fac
(tr nd e s
im s et
bo urfa )
th ce
su se
rfa t)
ce
se
ts)
Ke
e
De p
let
e
Fir
st
s
Se urfa
co ce
nd
su
rfa
ce
When you choose this option, you are prompted to select the first
set of surfaces you want to trim. When you finish selecting
surfaces, press Enter. Repeat these steps on the surface to which
you want the first one to be trimmed. Use the ribbon bar options
to modify the selections and click Apply or press Enter when done.
al
Vie
w
No
rm
Ke
e
De p
let
e
Se
le
S e ct s
l e c u rf
t c a ce
urv s
es
2
Use current construction attributes
Select the surface you want to trim and press Enter. Chain the
curve to which you want the surface to be trimmed and click the
part of the surface you want to keep. Click Apply or Enter when
done.
If the trimming curves do not lie directly on the surfaces,
Mastercam projects them onto the surfaces in order to calculate
the intersection where the surface will be trimmed.
mo
l it
Sp
Ke
ep
De
le t
e
Su
r fa
Pla ce
ne
de
Solid body
TIP: Make sure you have the correct visual cue (either face or
entire solid body) before you make your selection.
Se
lec
tn
ew
ch
Ad
ain
dc
s
ha
ins
M
an
ua
lC
ha
in
Ga
pT
ole
Se
lec
t
ran
ce
Use this ribbon bar to select surface edges and curves, and to set a gap
tolerance between flat boundary surfaces.
Se
lec
t
When filling holes in a flat boundary surface, if you select the outer
boundary as the boundary to be filled, Mastercam fills the area
between the outer boundary of the flat boundary surface and the
blanked base surface, which extends beyond the flat boundary
surface.
Note: The Fill Holes with Surfaces function differs from the
Remove Boundary from Trimmed Surface function in which
Mastercam removes the trimmed boundaries and recreates the
surface; it does not create a new surface to fill the holes.
Splitting surfaces
When you split a surface, you break it along one of its
constant parameter directions, which are the two directions
Mastercam uses to generate the surface. Mastercam then
creates two trimmed surfaces within the same boundary. If the break
point you select permits the surface to be broken in two ways,
Mastercam prompts you to select the direction along which you want
to split it.
Use this ribbon bar to break a surface at a fixed position along one of
the surface directions. Select the surface to split. Mastercam displays
a temporary arrow on the surface.
(You may need to rotate the geometry to bring the arrow into view.)
Use the cursor to move the base of the arrow to the position you want
the split to pass through on the surface (the fixed position), then click
to set the position. The surface is split when you click Apply or OK.
TIP: Use wireframe display to visualize the surface directions.
Untrimming surfaces
When you untrim a trimmed surface, Mastercam returns
the surface to its base surface.
Ke
ep
Di
sp
os
e
Blending surfaces
In this section, you will learn to create blended surfaces using functions in the Create, Surface submenu to . These functions allow you
to smooth out part of a surface model by eliminating unwanted
features.
2 Surface Blend
3 Surface Blend
After selecting one of these blend function, you are prompted in the
graphics window to select the first surface. After selecting the surface,
use the arrow that displays in the selected surface to define the location and width of the tangent surface. Move the base of the arrow to
the location where you want to blend the new surface to the existing
surface, then click to set the blend location. Mastercam creates a
temporary surface between the blending splines. Use the Flip button
to set the blend direction, and the other dialog box options to further
define the surface blend. Repeat this sequence for the second, and, if
applicable, the third surface you want to blend.
The following examples illustrate blends created from the same two
surfaces using different parallel and perpendicular blend directions.
Parallel blend direction
TIPS:
To select a blend location at an existing point, type S to activate
snapping. Move the base of the arrow over the desired point,
then left-click to snap to it.
Choose Options (
)in the selected surface blend function
dialog box to set filleting parameters. In the Fillet Surface
Options dialog box, you define:
the type of entities to create
how closely each resulting fillet surface fits the surfaces to
which it is tangent
whether Mastercam trims the surfaces
other parameters that further affect the resulting geometry
2
This function is useful for rounding the corners of a filleted box. It is
similar to blending three surfaces. However, the location where the
blend surface(s) are tangent to the fillet surfaces is calculated, not
selected. When you choose this option, you are prompted to select
the three intersecting surface fillets in the graphics window. before
blending the selected filleted surfaces, use options in the 3Fillet Blend
dialog box to:
Solids
Unlike wireframe and surface models, which consist of multiple
curves and surface entities, a solid model is a single entity, regardless
of its complexity. However, a solid model may consist of several solid
bodies.
You work with a solid model as a whole, like molding a piece of clay.
For example, whether you add fillets to a solid, hollow it out, or
combine it with another solid, the resulting solid model remains a
single entity. Each Mastercam function you perform on a solid entity
is saved as a separate operation on the solid. You can view a complete
history of the operations used to create a solid, and move, edit, or
delete them.
Because a solid is a closed, organized model, Mastercam manages the
interior and exterior of the model for you, handling the complexities
of the model behind the scenes. This makes it easy to work with
solid modeling. When you create or edit operations on a solid,
Mastercam automatically determines the surfaces to keep or trim in
order to maintain the solid as a single entity.
Basic solid model functions include extrude, revolve, sweep, loft,
fillet, and shell. This section provides an overview of how to create,
select, and perform operations on solid models. You will also learn to
use the Solids Manager and its rightclick menus to manage and
modify solids and their operations. Topics in this section include:
A solid is defined by one or more operations. The first operation, called the base operation, creates the solid. You can
create a base operation by taking one of the following
actions:
You use Mastercam Mill, Lathe, and Router to create toolpaths directly on solid geometry by choosing a machine defi-
Solids Associativity
Solids associativity is the dependent relationship between a solid, the
operations that define it, and any geometry selected in its definition.
When you perform a solid operation such as extrude, fillet, or draft
face, Mastercam associates it with the solid that it creates or modifies.
This association can be broken only by deleting the operation.
Because an operation is associated with the solid that it creates or
modifies, you cannot copy operations or move them to a different
solid. For example, when rechaining a fillet operation, all of the new
edges that you select must be on the same solid where the operation
was originally defined. To fillet edges on a different solid, you must
create a new fillet operation on that solid.
Associativity eliminates the need to recreate a solid each time you
modify it. After editing an operations components (geometry and
parameters), you can regenerate the solid to incorporate your
changes. The following terms describe a solid operation and the
current state of its associativity.
Clean: An operation whose defining parameters and geometry match the associated solid. This condition applies to all
newly created operations and to operations that have been
successfully regenerated. For a solid to be stable and current,
its operations must be clean.
Dirty: An operation whose defining parameters and/or
geometry have changed and no longer match the associated
solid. Mastercam marks each dirty operation and its associated solid with a red X in the Solids Manager. You correct
dirty operations by regenerating them.
Invalid: An operation that fails due to a problem in its geometry and/or parameters, which prevents it from being regenerated. Deleting geometry that defines an operation is a
common cause of invalid operations. Mastercam marks each
invalid operation and its associated solid with a red question
mark (?) in the Solids Manager. You can try to correct an
invalid operation by editing the operations parameters and/
or geometry, then regenerating the operation.
Clean operation
Dirty operation
Invalid operation
Selecting Solids
Use the General Selection ribbon bar to select entities in the graphics
window. This ribbon bar operates in two different modes: Standard
Selection and Solid Selection. The availability of either mode is based
on the types of entities that are in the current file and the functions
you choose from Mastercam menus and toolbars.
If there are no solids in your file, the Solid Selection mode is not available; you can use only Standard Selection options.
Figure 2-159: Standard Selection mode
Note: The Verify, UnSelect All, End Selection, and Help options
are always available, regardless of the current selection mode.
If you choose a Mastercam function that applies to different types of
entities (wireframe, surfaces, or solids), use the following methods to
switch between selection modes and select entities:
Boolean Operations
(page 324)
Chamfer functions
(page 314)
316)
Solid Extrude
The Solid Extrude function allows you to extrude planar
chains of curves and create:
Notes:
With both thin-wall and non-thin-wall extrusions, you can
reverse the normal direction.
The extrusion direction cannot be parallel to the plane defined
by the selected chains of curves because you cannot extrude a
chain sideways.
Editing geometry for Extrude operations
You can edit the underlying chains of curves that define an
extruded solid, cut, or boss. In addition, you can edit the faces that
an extruded cut or boss is trimmed to, provided that the Trim to
selected faces parameter was selected when you initially defined
the operation.
Notes:
The Extrude operation can have more than one chain only if
there is an outermost chain that defines a closed boundary
around the other chains, and all of the nested chains are in the
same plane. The chains that are nested within this boundary
form cutouts in the solid. You cannot use the thin-wall
construction method in this case.
You cannot delete the base chain. The base chain is the outermost chain of curves, which defines the outer boundary, or
cross section, of the solid.
Mastercam does not support changes that would result in the
creation of a new operation or solid.
Solid Revolve
You can revolve planar chains of curves to create one or
more new solid bodies, cuts on an existing body, or bosses
on an existing body. This function revolves chains of curves
by driving the shape of the curves about a selected axis,
using the start and end angles, and other parameters you provide. The
number of resulting solids, cuts, or bosses depends on the number of
chains that you select, whether the chains are nested, whether you
combine operations, and what construction method you use.
Figure 2-162: Solid Revolve dialog boxes
Solid Sweep
Use the Solid Sweep function to sweep closed, planar
chains of curves, called section chains, to create one or more
new solid bodies, cuts on an existing body, or bosses on an
existing body. Mastercam sweeps chains of curves by translating and rotating the shape of the curves along the entire distance of
a single chain of curves, called the path chain. The angle between the
section chains and the path chain is maintained throughout each
resulting swept solid. The number of resulting solids, cuts, or bosses
depends on the number of chains that you select, whether the chains
are nested, and whether you combine operations.
Figure 2-163: Solid Sweep dialog box
solid, cut, or boss and the chain of curves (path chain) that defines
the path along which the section chains are swept to form the
solid, cut, or boss.
Notes:
You cannot delete the base chain.
The Sweep operation can have more than one section chain
only if there is an outermost chain that defines a closed
boundary around the other chains. The chains that are nested
within this boundary form cutouts in the solid.
Solid Loft
You can loft closed chains of curves to create a new solid
body, a cut on an existing body, or a boss on an existing
body. When you use this function, Mastercam performs a
loft operation by transitioning between two or more chains
of curves in the order that you select them using either smooth or
ruled (linear) blending between the chains and by capping the first
and last chains with solid faces. The start point of each chain and the
sync method that you use when selecting the chains affect how
Mastercam aligns the selected chains as it transitions between them.
Figure 2-164: Solid Loft dialog box
Solid Fillet
Solid filleting is a type of edge blending that results in a
rounded edge by introducing new faces that are tangent to
the edges adjacent faces. A fillet is also referred to as a
rolling ball blend because it has a circular cross section, as if
a ball is rolled along each selected edge and material is either added
to or removed from the balls path to form the smooth edge. When
using the Fillet function, you determine the extent of the fillet by
specifying the radius of the rolling ball or cross section. You can
define the fillets radius using a constant radius value or by varying the
radius value along the edge. For fillet operations using a variable
radius, you can also specify radius positions and values along a solid
edge.
The faces within each set need not be contiguous with each other nor
adjacent to the faces in the other set. The resulting fillet blends the
first face in each of the two sets and continues across other faces in
the sets to the extent that a single continuous fillet can be created.
Chamfer functions
A chamfer, or beveled edge, is a type of edge blending that has a linear
cross section. You chamfer solid edges by introducing new faces that
add material to or remove material from the selected edges and that
are not tangent with the adjoining faces of the original edge. You
determine the extent of the chamfer by specifying distances and,
optionally, an angle to offset the chamfer from the selected edge on
the adjoining faces.
Chamfers that are created on the edges of selected faces or whole
solid bodies are associative. If edges are added to or removed from a
chamfered face or body, the entire face or body remains chamfered,
regardless of the changes.
Mastercam provides three functions you can use to define where the
chamfer is positioned along the edge faces:
One Distance
Two Distances
Solid Shell
To hollow solid bodies with the Solid Shell function, choose
the material to remove and, optionally, select the faces you
want to remain open. The remaining faces are thickened by
the amount you specify. You can re-select the geometry that
defines a shell operation for editing.
Solid Trim
Use the Solid Trim function to trim selected solids to a
plane, to a surface, or to an open sheet body. You can also
choose whether or not to keep what was trimmed as new
bricks (solid bodies with no history) and change the trimming direction.
Solid Thicken
The Solid Thicken function allows you to thicken an open
sheet solid and thereby convert it into a closed solid body.
You can use this function in conjunction with the From
Surfaces (stitch surfaces into solids) function to turn
selected surfaces into a solid that can be managed like any other solid
created in Mastercam.
Note: For more information on stitching surfaces into solids, see
Solid From surfaces on page 327.
Figure 2-172: Thicken sheet solid dialog boxes
You can draft virtually any solid face, regardless of whether the solid
was created in Mastercam or imported from an external file format.
For example, a filleted face can be drafted, which changes its geometry from cylindrical to planar, like a chamfered face.
When a face is drafted, the adjacent faces are trimmed and/or
extended to accommodate the new geometry of the drafted face. If
the adjacent faces are unable to accommodate the new geometry, the
operation fails. Failure is more likely to occur with larger draft angles
or if adjacent faces are tangent (or near tangent) and are not also
being drafted. In some cases, drafting results in faces being deleted
from the solid.
The Draft Faces function provides various methods you can use to
draft solid faces. The method that you choose determines where a
drafted face hinges. Each method is described below.
Face to be
drafted
Planar reference face
Drafted face
Faces extended to
accommodate
drafted face
Boolean Operations
You can construct a solid using combinations of two or more existing
solids using Boolean functions to add solids together, remove solids
from one another, and find the common region defined by overlapping solids. For a Boolean Remove or Common operation, you can
choose whether or not to maintain associativity.
Boolean operations are a set of functions (Add, Remove, and
Common) that enable solid construction using combinations of two
or more existing solids. Solids can be added together, and removed
(subtracted) from one another. Common regions defined by solids
can be kept while all other material is removed. For each Boolean
function, a target body and one or more tool bodies must be selected.
The result of a Boolean operation is always a single solid, regardless of
the number of tool bodies selected.
Boolean Remove
Boolean Common
To initiate a non-associative Boolean operation, choose Nonassociative from the Solids menu, then choose Remove NA
or Common regions NA from the submenu.
Remove NA
Common regions NA
Whichever function you choose, you must then identify a target body.
This is the solid that material is added to, removed from, or overlapped. Next you select one or more tool bodies, which are the solids
that are added to, removed from, or overlapped with the target body.
To perform the operation, choose the End selection option from the
General selection ribbon bar.
IMPORTANT: Regardless of the number of tool bodies, the
result of each Boolean operation is always a single body.
If you perform a non-associative Boolean Remove or Common
regions operation, use options in the Solid non-associative Boolean
dialog box to choose whether to keep the original target and tool
solids in addition to the new solid created by the Boolean operation.
Figure 2-182: Solid Non-associative Boolean dialog box
In Mastercam, you cannot create disjoint bodies and maintain associativity between them. If a Boolean Remove or Common regions
operation fails because it would create a disjoint body, you are
informed and asked if you want to create a non-associative Boolean (a
brick solid). To continue the Boolean operation and display the Solid
non-associative Boolean dialog box, choose Yes. To cancel the
Boolean operation, choose No.
To select a color for the edge curves and create an open sheet
body with edge-curve geometry, choose Yes.
Layout
To create a layout of different views of solids in the current
file (for example, top, side, front, and isometric), use Layout.
You can choose from the following standard layouts.:
Once you create the basic layout from this dialog box, you can use the
Edit Solid Drawing Layout dialog box options to customize it further
by editing settings such as Hidden Lines, Paper Size, or Scale Factor.
You can also add, remove, and modify views.
Mastercam places the new drawings on a new level so you can easily
keep them separate from your original part. The default level is 255,
but you can specify a different level before saving the layout.
TIP: You can use the Layout function multiple times, for the
same solid or for different one. Each time you create a new
layout, make sure you select a new level for it (unless you want
to replace the existing layout).
Solids Manager
Use the Operations Manager pane in the Mastercam window to
access the Solids Manager tab and view information on each solid in
the current file.
You can expand the tree structure of a solid to view all operations that
were performed to construct the solid and any toolpaths that were
created on the solid.
In addition to listing the operations that define a solid, the Solids
Manager tab provides options for managing and editing solids and
solid operations. To access these options, rightclick a solid or operation in the list. The following section describes how to use the Solids
Manager and some of the functions you can perform.
Note: Solids that you import from other applications have no
operation history and are referred to as bricks; the list reflects
only the operations that you perform on the imported solid once it
is in Mastercam.
IMPORTANT: You cannot use the Undo Event function, available from the Edit menu, to reverse a change you make from
the solid operation history tree.
Topics in the next section introduce the tools you use to work with
solid models, including:
suppress.
2 Rightclick and verify that the operation is not already
Notes:
While an operation is suppressed, you cannot edit its parameters or geometry or select it for use in any other operation.
This function is not available for base operations.
If an operation does not appear in the graphics window but
does not have a check mark next to the Suppress option, it is
dependant on a prior operation and that operation is
suppressed. The dependant operation can be viewed (unsuppressed) only by unsuppressing the operation on which it is
dependent.
Notes:
The stop operation is inserted after the operation on which you
release the mouse button.
To return the solid to its original state, drag the Stop Op icon to
the last operation in the list. When you release the mouse
button, the operation is inserted after the final operation in the
list.
rename.
2 Rightclick and choose Rename.
3 Type the new name and press Enter or click elsewhere in the
Mastercam window.
Note: You can also rename an operation by editing the operations
parameters and entering a new name in the Name field.
necessary.
3 To accept your changes and close the dialog box, click OK.
If you select any other solid operation, the cursor is positioned in the graphics window. Use the prompts work with
the operations geometry.
2 Save your changes using the available options.
Level
Color
Note: Although they appear in the dialog box, the Line Style and
Line Width fields are not currently used with solid models.
4 To accept your changes and exit the dialog box, choose OK.
TIP: You can also use the Analyze function from the Analyze
menu to edit the level and color attributes of a selected solid.
For more information, see Changing Entity Attributes on page
142.
to delete.
2 Press the Delete key or rightclick and choose Delete.
Note: When you delete operations, Mastercam marks the corresponding solid with a dirty status. Regenerate the solid to see your
changes reflected in the model.
Regenerate solids
Regeneration is the process of rebuilding a solid so that it matches its
associated operations. Regeneration is required when a solid
becomes dirty or invalid due to changes that you make to the parameters and/or geometry of one or more of the solids operations. When
you regenerate a solid, Mastercam incorporates your changes into the
solid and restores the solid to a clean state, if possible. Regeneration
fails if a solid has one or more invalid operations. You must edit and
correct invalid operations before you can successfully regenerate
them.
TIP: When making many changes to a model, regenerate
often. Then, if regeneration fails, you will have to make fewer
corrections to return the operation to a valid state. In the Solids
Manager, you can use the right-click menu to regenerate a
selected solid.
X To regenerate a dirty solid:
1 From the Solids Manager tab, select a solid or any compo-
nent operation.
2 Rightclick and choose Regen Solid.
If the regeneration is successful, the solid and the operation appears clean in the Solid Manager list.
TIP: To regenerate all operations, choose the Regen All button
in the Solids Manager or choose Regen All Solids from the
rightclick menu.
Duplicate solids
You can make exact copies of solids, including tool bodies. Each copy
is an active solid that you can select and edit. This function is particularly useful if you want to use the same tool body to affect different
target solids.
X To duplicate a solid:
1 From the Solids Manager, select the solid to copy.
2 Rightclick and choose Duplicate Solid. The duplicate solid
Drafting
Use functions in the Create, Drafting menu and its submenus to work
with drafting entities. In this section, you will learn to create and
modify different types of drafting entities, and apply them effectively.
This section contains information on:
Drafting Dimensions
Drafting dimensions measure the size of geometric entities or the
distances or angles between entities. All dimensions contain text, up
to two leader lines, and/or up to two witness lines.
Figure 2-190: Drafting dimensions
To create drafting dimensions for geometric entities, you use functions in the Drafting Dimension and Ordinate submenus. Mastercam
supports linear, angular, and radius/diameter dimension formats,
and for each format, a variety of dimension types.
TIP: You can assign drafting entities to their own level, which
makes it easy to filter the display of drafting entities, as necessary.
Witness
Position
Format / Type
An
gl
Al e
ign
Qu
ad
ran
t
Ad
dl
Re ead
mo ers
ve
lea
Op
de
rs
ti o
Up ns
da
te
Ho
riz
Ve onta
rti l
c
Lo al
ck
Or
ien
ta
tio
n
Fo
nt
Te
xt
He
ig
Nu ht
m
Di ber
am
Ra ete
di r
Bo us
x
W
it
Ce ness
nt
Ar ered
row
s
Alignment
Leaders
Options
Baseline Dimensions
Baseline dimensions reference an existing linear dimension which
becomes the base, or zero point, for all baseline dimensions in the
series. Baseline dimensions inherit their orientation from the initial
dimension but are not associated. Create baseline dimensions when:
Chained Dimensions
Chained dimensions, like baseline dimensions, are linear. However,
instead of referencing a single base point, each dimension in a chain
references the previously created dimension. Chained dimensions
inherit their orientation from the initial dimension but are not associated. Create chained dimensions when:
Ordinate Dimensions
Ordinate dimensions reference an initial base ordinate dimension
that you create or select and whose position Mastercam designates as
zero. Because they are not linear, ordinate dimensions give you
greater flexibility with regard to positioning, alignment, and orientation. Base (parent) or secondary (child) ordinate dimension may be
associated with geometry. Create ordinate dimensions when:
Associativity is important
Non-linear display and flexible positioning, alignment, and
orientation suit the rest of the drawing
Measurement from a common reference point is desired
Create Note
This function allows you to create drafting notes and labels,
and as an alternative way to create freestanding single,
segmented, or multiple leader lines. Drafting notes and
labels are blocks of text (one or more lines) which you can
insert into a drawing. Notes are standalone blocks of text, whereas
labels have one or more leader lines used as pointers.
Figure 2-197: Drafting Note dialog box
Create X-Hatch
To fill a selected closed curve boundary with a specific
hatch pattern, use the Hatch function and choose from
standard and user-defined patterns.
Figure 2-198: Drafting Hatch dialog box
You can also customize the spacing, and rotation angle of the selected
pattern.
Note: Hatch patterns fill closed boundaries, with the exception of
nested chains which form holes in the pattern.
horizontal
vertical
parallel
perpendicular
baseline
angular
tangent
point
Notes:
Chained dimensions cannot be associated with geometric entities.
For more information on setting drafting configuration
parameters, see Defining Drafting Options on page 355.
To be associated, you must use Mastercam to create a drafting entity
for a selected geometric entity when the Associativity parameter is
selected (active) for the drafting session.
TIP: For preliminary drawings, it may be easier to work with
non-associated drafting entities when geometry is frequently
changing, parts are not drawn to scale, precise or current
dimensions are not essential, or you want to lock original
dimensions in place.
Make Main: Use this option to set the selected level as the
main level.
All Selected On: This option acts as a filter and makes all entities in the levels you select in the Level Manager dialog box
visible in the graphics window.
All Selected Off: Similar to the previous option, choose this
option to suppress all entities in the selected levels from view
in the graphics window.
Get Named Levels: Use this option to load a previously saved
.CSV (comma separated value) file containing a level and
level set naming scheme into the current file.
Save Named Levels: Allows you to save all levels and level set
names in the current file as a .CSV file for reuse in other
Mastercam files.
Report: This option creates a text-based report of all level
details defined in the Levels Manager dialog box. You can
edit, print, and save this report to a file.
The following options are available only when you right-click in the
Level Set column.
All Level Set On: This option lets you view a set of levels
based on their Level Set name.
All Level Set Off: Use this option to hide a set of levels based
on their Level Set name.
Notes:
To sort all levels by set name, click the Level Set column
heading.
To show or hide a set of levels based on their Level Set name,
right-click in the Level Set column cell of one member of the
set and choose All Level Set On or All Level Set Off.
to a specified location.
Notes:
The CSV file format is compatible with many applications,
including Microsoft Excel.
You can also manually create a CSV file in Excel. An Excel CSV
file usually contains three columns of information: level
number, level name, and level set name. Level number and
level name columns are required, while the set name column is
optional.
X To get saved levels from a file:
1 Rightclick in any column in the Level Manager and choose
3 Click Open to copy the levels and level set names defined in
Hiding Entities
To temporarily remove and restore selected entities in the graphics
window display, use the following Hide and Unhide functions, available from the Screen menu.
Hide Entity
Use this function after selecting the entities you want to
keep in the graphics window. It temporarily removes all
unselected entities from view in the graphics window,
allowing you to focus on a small amount of geometry. If
hidden entities already exist in the file, this function acts as a toggle to
unhide them.
Unhide some
You use this function only if you are already working with a
file that contains hidden entities. It displays only the entities that are hidden and allows you to select the entities you
want to unhide and add back to the graphics window
view.
Blanking Entities
You use the following Blank and Unblank Screen menu functions to
selectively remove and restore a limited number of entities from the
graphics window view.
Blank Entity
To reduce the complexity of the screen display, choose this
function and select the entities to remove from view in the
graphics window. You can select entities on any level.
Unblank Entity
If blanked entities exist in the file, use this function to
unblank them and restore all previously blanked entities
to the graphics window.
IMPORTANT: There are important differences between the
Blank and Hide functions:
With Hide, you select the entities that will remain in the
graphics window; all unselected entities are removed.
With Blank, you select only the entities to remove.
You can save blanked entities with a file; hidden entities are
not saved.
Choose Hide to remove many entities from the display, or to
quickly restore hidden entities.
Choose Blank to selectively remove and restore a limited
number of entities from the display.
Copying Entities
The Edit menu provides you with basic Cut, Copy and Paste functions.
You can also access these functions using their keyboard shortcuts,
Ctrl+X, Ctrl+C, and Ctrl+V, respectively. These functions allow you
to cut, copy, and paste selected entities between different Mastercam
files.
IMPORTANT: Only geometry and drafting entities are copied
between files. Toolpath operations and machine, control, and
toolpath-related data are not transferred with the selected entities.
X To cut, copy, and paste entities:
1 Use general selection methods to pre-select the entities to
cut or copy.
2 Choose the Cut or Copy function or type Ctrl+X or Ctrl+V.
following methods:
attributes for color, level, line style, point style and line width.
Se
tt
om
ain
Se
c
tt
o m olor
ain
Se
li
tt
o m ne s
tyl
a
Se
e
t t in p
o m oin
ts
a
Se
t t in lin tyle
om e
ain wid
lev th
el
chapter 3
Machining
This chapter describes the creation of NC code using Mastercam X,
beginning with an overview of the Mastercam machining process. You
will learn about selecting machine and control definitions, which determine the functions and toolpaths available in the interface. You will also
review the different toolpath operations you can create, their application, verification, and the Mastercam X post processing process.
This chapter covers the following topics:
Note: For an overview of Machine Definitions, Control Definitions and Post Processors, and their relationship, see The Role of
Machine and Control Definitions on page 100.
3
32
3
34
The machine definition files you create for each product have unique
file extensions that represent the selected machine type:
.MMD (Mill)
35
.LMD (Lathe)
.RMD (Router)
In a Mastercam part file, the machine definition is part of the
machine group properties in the Toolpath Manager. When you select
a machine type, a new machine group and toolpath group are created
and the Toolpaths menu changes. It lists only the toolpath functions
you can use with the associated machine definition.
The machine definition used with the machine group also determines
which Mastercam product is active in the workspace. For example,
selecting a mill machine definition activates Mastercam Mill and
makes mill toolpaths available under the Toolpaths menu.
Note: Each machine group can have only one machine definition.
Mastercam creates a separate machine group and toolpath group
each time you choose a machine type from the Machine Type
menu.
36
37
38
39
310
Toolpath Manager
functions
The machine definition you access from the machine group is a local
copy of the master machine definition. The master machine definition is stored in an external file. The copy is created from this external
file when you select the machine definition and is stored locally
within the part file. There is no associative link between the master
machine definition file and the part file copy. This independent,
portable structure allows you to move the part to another Mastercam
workstation and transfer the required machine and control definition
information. You can also modify aspects of the machine definition in
a machine group without affecting the machine definition and
control definition files stored in Mastercam.
IMPORTANT: A copy of the post processor is not stored with
the part file. If you move the part file to another Mastercam
workstation, you must also transfer the post processor.
32
3
34
35
36
37
Use the Toolpath Manager to modify the machining properties including Files, Tool settings, Stock setup, and Safety
zone parameters.
38
39
310
file and active machine group, click OK. This closes the
Machine Group Properties dialog box .
5 Mastercam interrogates each toolpath operation in the active
3
32
3
34
35
36
37
38
39
310
Both access methods allow you to edit only the master machine definition file that is stored as an independent file; changes are not made
to the local copy of the machine definition stored in the part files.
Then click Edit in the Machine - Toolpath Copy section to open the
Machine Definition Manager.
3
32
3
There are some things you cannot change when editing the local copy
of the machine definition and control definition. These include:
34
35
36
37
38
39
310
A single control definition file can store one or more control definitions for each control type. For each control type, you can create as
many control definitions as necessary, provided that they use
different post processors.
If you are a new Mastercam user, you may find it easiest to define only
one control definition per .CONTROL file. Advanced users can
leverage the .CONTROL architecture to store libraries of applicationspecific posts for individual controls, configure generic controls for
multiple machines, and support other sophisticated applications.
3
32
3
34
35
36
37
38
39
310
Editing Options
When you access the Control Definition Manager with an active
machine group in the Toolpath Manager list, your editing and
creation options are limited. This is because you are restricted to
working on the local copy of the machine and control definition,
which is part of the machine group and is stored in your part file. In
this case, you can save changes only to the local copy stored in the
machine group; you cannot save any changes to the .CONTROL file,
nor can you create a new control definition, or select a different
.CONTROL file.
You can change the control type and define a new control definition if
no toolpaths exist in the current part file when you access the Control
Definition Manager (either from the Machine Type menu or the
Machine Definition toolbar). Otherwise, because you are working
with the local copy of the control definition, the control type is
already defined and this field cannot be selected for change, as illustrated in the following example. In some situations, the Post processors button may also be unavailable.
3
32
3
34
35
36
37
38
39
310
Open:
5 In the Open dialog box, select the control file you want to edit
one from the drop-down list. If the post processor you want
does not appear in the list, click the Post Processors button
to add it. (You will learn more about this in Building the Post
Processor List on page 379.)
Note: When you change either the control type or the post
processor, Mastercam searches the .CONTROL file and checks if
that control definition has already been created. If it already
exists, Mastercam loads it. If not, it is created when you save your
changes.
8 Modify descriptive information for the control file in the
page and set various control file properties. For more information, see Working with Control Properties on page 383.
control definition:
3
32
3
34
35
36
37
38
39
310
processors button.
3 In the Control Definition Post List Edit dialog box, choose
Add files.
processors button.
3
32
3
Existing definitions.
34
35
36
2 To load a control definition, choose one from the Existing
37
38
39
310
CTRL_MILL, CTRL_MT_MILL,
CTRL_LATHE, CTRL_MT_LATHE,
or CTRL_ROUTER
Control Key =
.CONTROL filename
When you select a post processor for a control definition, the icons
that display next to each post processor indicate its status for meeting
these criteria. The following table defines each possible status icon
you may see in this list:
The .PST file exists and the post processor has been properly configured in the control definition. Status is OK for
posting. This is the only status that is approved for posting!
Mastercam cannot find the .PST file and the post processor
has not been configured in the Control Definition Manager
properties pages.
The .PST file exists and the post processor has been added.
You see this icon when you first add a post processor to the
list and have not yet saved the control definition. Save the
control definition to the .CONTROL file to change its status
to OK.
The post processor has been configured in a control definition, but Mastercam cannot find the .PST file. This status
can appear if you move the part file to another workstation
that does not have the necessary .PST file loaded on it, or
the file is not in the specified location.
The .PST file exists but has not been configured for use
with a control definition. Select the post processor and
create a control definition with it. You can use it after you
save the control definition to the .CONTROL file.
Unknown; Mastercam is unable to determine the post
processor status. Try saving the control definition to see if
this corrects the problem and restores the status.
IMPORTANT:
The post status icons do not indicate that a post has been
properly customized for a particular machine or application.
Creating a control definition and configuring the post as
described here is not a substitute for writing, editing, and
properly testing the .PST file to make sure that its output is
compatible with a particular machine. That must be done in
addition to the steps described here, and is outside the
scope of this documentation. For more information, contact
your Mastercam reseller or see the MP Post Processor
Reference Guide.
In previous versions of Mastercam, you could select a post
processor whenever you posted an operation. In Mastercam
X, the machine definition encompasses the control definition and the post processor. This expanded architecture
replaces the post you used in prior versions, allowing you to
target a specific machine for your output. To change post
processors in Mastercam X, simply choose a different
machine definition. Mastercam interrogates the operations
against the post and machine dynamics associated with the
selected machine definition, allowing you to make automatic
or manual changes, as necessary.
3
32
3
34
35
36
37
Communications
(page 385)
Cutter Compensation
(page 400)
NC Output
(page 389)
Machine Cycles
(page 401)
Miscellaneous
Integer / Real Values
(page 390)
38
39
310
Tolerances
The properties you define in this page are used to set pre-defined post
processing variables. You can also record the controls minimum
tolerance requirements for creating surfaces, splines, and other
geometry. The minimum and maximum arc radius values may be
used by the toolpath filtering functions.
Figure 3-4: Tolerances properties page
(Control Definitions Manager)
Communications
Use the Communications page to configure the serial communications settings between the control and the computer running
Mastercam.
Figure 3-5: Communications properties page
(Control Definitions Manager)
3
32
3
34
35
36
37
38
39
310
Files
Use this page to specify the location of the files needed by the control
definition and to establish default settings for saving different types of
files. You can change the default operations file (.DEFAULTS), tool
library (.TOOLS), or the operations library (.OPERATIONS) for a
particular machine group, assign a default .SET Setup Sheet template,
and set post and C-Hook / NET-Hook program .DLLS.
Use the other option groups in this page to configure the posting
process, including how to log post processing errors and messages,
setting up Post Processing dialog box defaults, and defining how to
manage NC parameters.
Figure 3-6: Files properties page
(Control Definitions Manager)
The File usage and Data paths fields list the different types of items
for which defaults can be set. Select an item to see the current default
displayed in the field next to it. Choose the Folder or File cabinet
icons to select a new value.
Other options allow you to define how Mastercam logs errors and
display messages when using the control.
Notes:
When creating a new control definition, the default names and
paths of the toolpath defaults (.DEFAULTS) files are read from
the Settings, Configuration, Files properties page settings. For
more information, see Files on page 73.
Use the Control Definition Manager, Tool properties page to
edit and create new toolpath defaults (.DEFAULTS) files. For
more information, see page 393.
NC Dialog
Use this page to enable different options in the Toolpath parameters
tab for Mill, Router, and Lathe. Deselect any features that are not
supported by the control.
Figure 3-7: NC Dialog properties page
(Control Definitions Manager)
3
32
3
34
35
36
37
38
39
310
Notes:
The Rotary axis button is enabled through the Machine Definition Manager.
All control types use this page, but not all options appear for
each type.
NC Output
You can set a number of options that affect how the NC code is
formatted and presented, including:
3
32
3
34
35
36
37
38
Sequence numbers
All of the information in this section is written directly to the
control definition. Mastercam supports both integer and real
39
310
3
32
3
34
35
36
The descriptions and defaults you define in the Text properties page
are saved in the text section of the post processor file (.PST). The
Control Definition Manager reads the .PST file to display this information in the Miscellaneous Integer / Real Values properties page.
The values you set in the Miscellaneous Integer / Real Values properties page for the selected control are saved in the post processor file.
The field labels are set in the Text properties page, and the values are
defined in the Misc. Int / Real page.
This data structure allows you to quickly customize a set of miscellaneous values using an existing post processor.
37
38
39
310
IMPORTANT: If no description is provided for a miscellaneous integer field in the Text properties page, default text
appears in the corresponding entry field in the Miscellaneous
Integer / Real Values properties page. To disable a field, use
paired double quotes ().
For mill/turn controls, you can define two sets of miscellaneous variables, one for milling and one for lathe operations. To enable this
feature, choose the Use separate mill and lathe text and values
option. Separate mill and lathe Misc. Int/Real topics display under
Text in the Control topics list.
Notes:
Use the NC Dialog page to enable or disable the Misc values
button that displays in the Toolpath parameters tab. You can
use post text to change the label that appears on the button.
You can also configure Mastercam to run a C-Hook when the
Misc values button is pressed. Use the Settings, System
Configuration function Files tab to specify the C-hook. You
can specify a different C-Hook for each Mastercam product
(Mill, Lathe, Router and Wire). For more information, see Files
on page 73.
Work System
The Work system page lets you select the work coordinate system
used by the control:
Setting
Home position
G90/91
G92
Work offsets
G54, E1
Other
Custom
3
32
3
34
35
Use the Tplane field to assign work offsets to all Tplanes or just those
which are being transformed.
Tool
Use the Tool subpages to set the defaults for tool offsets, numbering,
and home positions that apply to mill, lathe, router, and mill/turn
control types (some of the field labels are slightly different for lathe).
For mill/turn machines, you can access separate subpages for mill
and lathe tools.
36
37
38
39
310
Machine Definition
Tool Definition (Lathe)
Toolpath Parameters for an individual operation
Use this section to set the default source of the home position. You
can always override the home position default on an operationspecific basis.
Linear
This page applies to Mill, Lathe, Router, and Mill/Turn control types.
(Only Lathe machines have corner rounding options.) Use these
options to define how the control interpolates 3D linear motion.
Note: For Mill/Turn controls, separate linear subpages for Mill
and Lathe are provided so you can configure these settings separately.
Figure 3-12: Linear properties page
(Control Definitions Manager)
3
32
3
34
35
36
37
38
39
310
Arc
This page allows you to define how the control supports arcs and
helixes.
Figure 3-13: Arc properties page
(Control Definitions Manager)
Lathe controls share the same page with Mill/Router controls, except
that for Lathe, there is only one plane available and no options for
helix support. For Mill/Turn controls, you will see separate subpages
for Mill and Lathe settings. Mastercam uses this information when
filtering toolpaths.
3
32
3
34
35
36
37
38
39
310
Rotary
Use the settings in this page to further customize the rotary axis
parameters from the machine definition. You can choose to break
rapid rotary moves when they exceed the rotary axis limits set in the
machine definition. You can also allow Mastercam to calculate
bi-stable solutions for rotary axis positions. This allows the post
processor to attempt the second solution in order to stay within limits
or reduce machine motion. Depending on conditions and the post
processor, this may cause a tool retract and reposition.
Rotary properties page
(Control Definitions Manager)
Feed
The options in this page allow you to define how Mastercam interprets the feed rate values that are entered for each toolpath operation
created using the control.
Figure 3-14: Feed properties page
(Control Definitions Manager)
3
32
3
34
35
36
Set feed and rotary options for each axis group that applies to
the control: 3-axis, 4-axis, and 5-axis.
37
Define how the units for the feed rate are dimensioned. Set
the dimensions separately for linear and rotary feed rates.
You can also choose to output rapid moves as linear moves at the
maximum feed rate and, if necessary, adjust feed rates for arc moves.
38
Notes:
Make sure that the control has the internal logic to support the
options you select.
To set maximum and minimum feed rates, use the Machine
Definition Manager.
39
310
Cutter Compensation
Use this page to define how the control implements cutter compensation, and to enable the compensation options when the control is
used.
Figure 3-15: Cutter Compensation properties page
(Control Definitions Manager)
The first check box defines whether the control supports cutter
compensation at all. Select this option to enable and set other options
in this group. These options include:
Whether the control allows you to activate cutter compensation on arc moves.
Wear compensation features (when you use this control to
create toolpaths, the wear compensation features you
selected for the control appear in the list of available
compensation types).
Whether the control turns cutter compensation on/off above
the part (this feature is implemented in the Lead In/Out
dialog box).
Use the second group of options to set cutter compensation when
simulating toolpaths. These settings affect the Toolpath Manager
Backplot and Verify functions.
Machine Cycles
Use the subpages of machine cycle properties to define how the
control implements different machining cycles.
Figure 3-16: Machine Cycles properties page
(Control Definitions Manager)
3
32
3
34
35
36
37
All control types use the same version of this page. In the following
section, you will learn to use additional detail pages to set more
specific options for drill cycles and lathe canned cycles, including:
38
Drill cycles
Lathe canned cycles (page 403)
39
310
Drill cycles
Select all drill cycles that produce canned cycle output. The drill
cycles that you do not select in this page can still be used in the toolpaths you create with this control. However, using them results in
long-hand NC code.
Figure 3-17: Mill Drill Cycles properties page
(Control Definitions Manager)
3
32
3
34
35
36
The options you set in this page affect the following lathe toolpath
tabs:
37
38
39
310
Subprograms
Mastercam uses subprograms in two ways:
32
3
34
35
36
37
38
Options in the Mirror / rotate routines section apply only to transform subprograms. Select the transformation types for which the
control can create subprograms. When transforming toolpaths, you
can still use the options you did not select in this page. However,
Mastercam will create long-hand output rather than subprograms for
the unselected options.
39
310
Operation Defaults
Use this page to create and edit sets of toolpath operation defaults.
These defaults are stored in files with a .DEFAULTS extension. Each
file contains default settings for all Mastercam toolpath types. The
number of operation defaults files you can create is virtually unlimited. When creating toolpaths, you can override and further
customize the operation default settings that are loaded from the
.DEFAULTS file.
Figure 3-21: Operation Defaults properties page
(Control Definitions Manager)
3
32
34
35
36
37
38
Mastercam displays a tree listing of prototypes for each operation. The current control type determines which operations
are listed.
3 Edit the parameters for each operation as desired. You can
39
310
Text
Use the individual subpages under the Text heading in the Control
topics pane to create, view, and edit post processor text entries in a
number of categories.
Prior to Mastercam X, posts were divided into two files:
3
32
3
34
35
Choose a topic from the list to view its text entries in a spreadsheetlike interface. To enter or edit a value, doubleclick in a field and type
the new value.
36
37
38
39
310
Note: For misc. ints/reals, the default values are embedded in the
text string. For more information, see Miscellaneous Integer /
Real Values on page 390.
32
3
34
35
36
37
38
39
310
32
Options
34
35
36
37
38
39
Use the Files of type drop-down list to choose the format of the files
you want to view and select from. This limits the files you can view to
only files in the selected format.
310
If you select a non-Mastercam file type from the Files of type list, an
Options button displays next to the field:
Use this button to open a dialog box of read parameters for the
selected file type. The parameters are used to import and convert the
file you choose to open. The example below illustrates options for
opening and importing an SAT file type:
3
32
3
34
35
36
37
Deselect this option to defer loading the entire .NCI file until a
toolpath regeneration, when it is automatically loaded and
updated.
Select this option to load the entire .NCI file at the same time
you open the part file.
You can also reduce the amount of navigation required to open files
used with Mastercam by presetting their directory paths. This is especially helpful when working with large groups of related files. Choose
one of the following options:
Use Last Directory: Use the path that was set when any file of
any type was last opened or saved.
38
39
310
Select one of the following options to switch units and open the
selected file:
Units: Uses only the units defined in the new configuration file. (default)
All settings: Loads all settings from the new configuration
file.
Notes:
If you do not have Mastercam Solids installed, you can still
machine an imported solid. However, Mastercam Solids must
be installed to modify a solid, or create additional solids (with
the exception of primitives).
You can also save .MCX files out to any supported file format.
For more information on the files types you can import and
export, see Opening and Translating Files on page 103.
X To open a native Mastercam part file:
3
32
3
34
35
36
37
38
39
310
TIP: If you also want Mastercam to check for and delete duplicate entities at the same time, use the Settings, Configuration
function Start / Exit properties page to set this default. Duplicate entities interfere with entity selection, particularly
chaining.
X To import a non-Mastercam file:
1 From the Mastercam menu, choose File, Open.
2 In the Open dialog box, use the Files of type drop-down list
Pattern.
2 In the Open dialog box, use the Files of type drop-down list
current file and choose Open. The entities in the selected file
are added to the file in the local origin position (X0, Y0, Z0)
and the Top view. The merged entities are live so that you
can edit them.
4 Use options in the Merge / Pattern ribbon bar to select a new
32
3
base point for placing the merged entities and to define their
scale, rotation angle, and mirror axis (X, Y, or Z).
34
en
t
Cu
rr
M
irr
or
Ro
ta
te
Sc
ale
Se
lec
t
at
tri
bu
te
Notes:
Use the Select option to create a point that positions the center
of the pattern file.
Pattern entities are created in the current Cplane.
You can also choose to assign the current attributes in the
Status bar fields to the imported entities. Because the merged
entities are live, as you choose values for the Merge (file)
ribbon bar fields and options, the results show immediately
in the graphics window.
35
36
37
38
39
310
TIPS:
Consider storing the files containing pattern entities in a
separate directory, such as \Patterns, so they are easy to
locate when you use this function.
To remove merged entities in the order in which they were
added to the current file, choose Undo from the Edit menu
or toolbar.
32
3
34
35
Toolpath Manager
functions
37
36
38
39
310
Machine group
Machine (machine group properties)
Toolpath group
Toolpath group operations
Toolpath subgroup
Toolpath subgroup operations
Machine and operations folders have additional levels of properties
and attributes that you can modify. You will learn more about this in
the following sections on Setting Machine Group Properties (page
427) and Editing Operations (page 541).
TIP: When you position the cursor in the Toolpath Manager, its
options become active; any keyboard commands you enter
are executed in the Toolpath Manager. This focus is deactivated when you move the cursor outside of the Toolpath
Manager pane.
3
32
3
34
TIPS:
Mastercam saves the most recently used plane, view, and
WCS selections for each machine group, and restores them
whenever you activate the machine group. For example, if
one machine group has toolpaths on the front of the part,
and another machine group has toolpaths on the side of the
part, whenever you activate either machine group,
Mastercam will automatically activate whichever views and
planes you were using the last time the group was active.
35
37
36
38
39
310
3
32
3
34
35
36
37
38
39
310
You can create as many different machine groups as you need in the
same part file. By using machine groups to organize operations, you
can include toolpaths for different machines in the same part file,
even for different machines types. For example, if some part features
will be cut on a mill and others on a lathe, you can include all of the
operations in the same Mastercam file by creating different machine
groups for each set of mill and lathe operations.
You can also create groups of toolpaths on the same machine that you
will want to post separately. To do this, use the Toolpath Manager
rightclick menu Groups functions to create toolpath groups. Toolpath groups inherit all the properties of the parent machine group.
The parent machine group is defined as the machine group that is
positioned immediately above the toolpath group in the Toolpath
Manager list.
Parent machine path group Properties
apply to all levels of subordinate
toolpath groups.
3
32
3
34
35
Each property type corresponds to a tab in the Machine Group Properties dialog box. To open the Machine Group Properties dialog box,
select a property type from the Toolpath Manager list. Then use the
tabs in the dialog box to view and edit the settings.
36
37
Files tab
(page 428)
38
39
310
Files tab
Use the Files tab to view and define the file names and data paths
used by operations in the selected machine group. These settings
affect default values, posting, and tool and operation libraries.
The default tool library is set in the active machine definition as part
of the General Machine Parameters. However, you can use the Files
tab to change the default library for the selected machine group.
Note: Many of the default paths and filenames that display in the
Machine Group Properties, Files tab are values you initially set in
the Control Definition Manager, Files and Operation Defaults
properties pages. For more information, see Files on page 386 and
Operation Defaults on page 406.
Figure 3-28: Files tab (Machine Group Properties dialog box)
To learn more about the Files tab, review the following information:
32
3
34
35
36
37
38
39
310
IMPORTANT:
If you select a different machine for the machine group, the
files and data paths are replaced with default values from
the control definition used by the selected machine.
If there are already operations in the machine group, be very
careful when selecting a different machine to ensure the
new machine supports all the toolpath features that have
been programmed.
Note: The control and post processor are displayed only for information purposes. To change them, you must edit the machine
definition. For more information, see Choosing a Machine and
Control Definition on page 367.
Setting up Comments
In the Machine Group Properties Files tab, use the Output comments
to NC file section to choose the types of comments to include in the
NC file. In Mastercam, you can still view the comments that you
choose to exclude from the NC file.
To record comments that apply to all the operations in the selected
machine group, select the Output group comments to NC check box.
Notes:
To set the defaults and enter the maximum number of characters allowed for comments, use the Control Definition
Manager, NC Output properties page. For more information,
NC Output on page 389.
When editing tool parameters, you can use the Comment field
in the Tool parameters tab (Toolpath parameters tab for Lathe)
to enter operation-specific comments.
You can also enter machine-specific comments when setting
up the machine definition.
3
32
3
34
35
36
37
To learn more about the Tool Settings tab, review the following information:
38
39
310
The tool definition for each tool contains default plunge and
feed rates. Select From tool to use these values as the default
value for each operation when a tool is selected.
Select From material to calculate feed rate based on the
material characteristics stored in the material library. After
choosing this option, make sure to Select a material in the
Materials section of this tab.
Select From defaults to use the feed calculation method
stored in the operation defaults file.
The Feed section of the control definition contains important defaults
for calculating feed rates and sets how the control will interpret the
feed rate values that are entered for each toolpath, including how to
Adjust feed on arc move.
TIP: To override the default feed rate, spindle speed, or the
calculation method that is used, simply type in a new value
when creating an operation.
For example, the feed plane in the operations defaults file might be
set to 3mm, incremental. However, if you choose to use modal
defaults for the feed plane, every time you create an operation in the
group, the default feed plane is set to the feed plane from the previous
operation, not 3mm.
3
32
3
34
35
36
37
38
39
310
The options you can set in the Stock setup tab are based on the
Mastercam product associated with the machine definition in the
selected machine group. You can define different stock setup parameters for Mastercam Lathe than for Mastercam Mill and Mastercam
Router. Your options for defining each type of stock set up are
described below.
3
32
3
Choose Solid to use a solid model inside the current part file
as the stock.
Choose File to use a solid model from an STL file as the stock
model.
34
35
The default position is the middle of the stock. Select a corner of the
part to set it as the stock origin.
Next, type the coordinates of this point in the Stock origin fields, or
click the Select button to choose a point from the graphics window.
36
37
38
39
310
3
32
3
34
35
36
37
38
39
310
Setting the Safety Zone viewSimilar to setting a stock view, you can
orient the safety zone with the part by assigning a specific view to the
safety zone. To do this, click the Safety Zone View button and select a
view from the View Selection dialog box. The edges of the safety zone
are parallel with the axes of the selected view.
Note: You must enable retract moves in the toolpath to activate
the safety zone. To do this, access the Toolpath Parameters tab by
choosing Parameters in the Toolpath Manager list and then
select retract options.
Creating Toolpaths
32
3
34
35
tool parameters.
5 Use the other tabs in the Toolpath Parameters dialog box to
Nesting Toolpaths
(page 519)
Surface Toolpath
Types (page 471)
Toolpath Chaining
Techniques (page 524)
Multiaxis Toolpath
Types (page 479)
36
37
38
39
310
Managing Toolpath
Operations (page 534)
Router Toolpath
Types (page 516)
Editing Operations
(page 541)
Contour Toolpaths
(page 441)
Circle Toolpaths
(page 448)
Wireframe Toolpaths
(page 464)
Specialized Toolpaths
(page 468)
You can create these toolpath types with 2- or 3-axis mills, including
those with two linear axes plus one rotary axis. When chaining geometry for these toolpaths, you can select either wireframe geometry or
the edges/faces of solids.
TIPS:
When working with toolpaths, you can use functions to
transform, trim, or wrap the toolpath around a cylinder with
axis substitution.
To wrap the toolpath, choose the Rotary axis check box and
button in the Toolpath Parameters tab for the selected operation.
For more information on how to transform or trim operations, see Transforming Operations on page 570 and Trimming Toolpaths on page 573.
3
32
3
Contour Toolpaths
Use contour toolpaths to drive the tool along a path. This toolpath
type is appropriate for both roughing and finishing applications.
Contour toolpaths remove material along a path defined by a chain of
curves; they do not clean out an enclosed area. You can also cut the
contour in depth cuts and/or multiple passes in the cutting plane,
and create remachining operations.
When creating contour toolpaths, you can select an unlimited number of chains for each toolpath, creating either 2D or
3D contour toolpaths. 2D contour toolpaths cut geometry in a
single plane (typically XY) at a constant depth (Z), although
you can create multiple passes at different depths.
Mastercam automatically selects this type if all the geometry
lies in the same plane.
3D contour toolpaths cut geometry in XY and Z, where the Z
depth can vary over the toolpath. Use this type if the geometry for each cutting pass is not contained within a single
plane.
To begin creating a contour toolpath, choose Contour Toolpath from
the Toolpaths menu. After chaining geometry and selecting a tool, use
the Contour parameters tab to choose the Chamfer or Ramp button.
34
35
36
37
38
39
310
Typically when creating a chamfer toolpath, you will set the Depth
(on the Contour parameters tab) to 0.0 relative to the chained geometry and let Mastercam calculate the tool depth from the chamfer
dimensions. Enter a non-zero depth, (+) or (-), only if you want to
locate the top of the chamfer at a distance from the chained geometry.
IMPORTANT: You must select one of the following tool types
when creating a chamfer toolpath; otherwise a warning
message displays and the toolpath is rejected:
Bull-nose cutter
Ball (spherical) cutter
Chamfer mill
3
32
3
34
35
36
37
38
39
310
Mastercam also provides options for editing and cutting off the tabs.
Use the procedures below to learn more about:
Creating tabs
Editing tabs (page 447)
X To create tabs for a mill or router contour toolpath:
1 In the Tabs dialog box, use the fields in the top section of the
dialog box to configure the tab size. You can create Full tabs
or Partial tabs. Full tabs are the full stock height; at the tab
locations, the tool retracts fully from the part. Partial tabs are
less than the full stock height; you use the Tab thickness field
to define how far to pull back from the cut depth (typically,
partial tabs are thin).
2 After choosing the type of tab to create, enter the Width of
3
32
3
34
methods that the toolpath will use to locate the tabs along
the contour.
35
36
37
38
39
310
cutting several parts, the tabs are cut from the first part
before the second part is cut.
If you select this option, you can also choose to Cut tabs
with first finish pass. Consider using this option when
your contour toolpath have both roughing and finishing
passes; for example, when you are using depth cuts. In
this case, Mastercam will leave the tabs during the
roughing passes, and cut them off with the finish pass,
rather than creating a separate cutoff pass.
Separate operation: Creates a separate Tab Cutoff operation and includes it in the Toolpath Manager so that you
can edit or customize it. You can select a different tool,
edit the feed rate or coolant options, or change other
parameters that you would like to be different from the
original contour operation.
Note: The option to create a separate tab cutoff operation is available only when you first create the operation. When editing the
contour parameters from the Toolpath Manager, you cannot add
a separate tab cutoff operation.
5 To access more advanced tab options, click the Settings
to close the dialog box and create the contour toolpath and, if
defined, the tab cutoff operations.
Editing tabs
Once you have added tabs to a contour toolpath, use one of the
following methods to edit them:
To access the Tabs dialog box, click the Parameters icon for
the contour toolpath in the Toolpath Manager. Use the Tabs
dialog box to view and edit the original tab parameters.
Changes you make using this method affect all the tabs in the
toolpath. The only function you cannot access is the option
to create a separate cutoff operation.
To edit individual tabs, click the Geometry icon for the
contour toolpath in the Toolpath Manager. This opens the
Chain Manager where you can add, delete, or move individual tab locations. You can also change the size and shape
of an individual tab.
X To edit individual tabs:
1 In the Toolpath Manager, click on the Geometry icon for the
32
3
34
35
36
37
38
Move tabs
Add a new tab location
Edit the size or attributes of a specific tab location
39
310
M
ov
e
Ad tab
dt
a
Ed b
it t
ab
De
let
e
De tab
let
ea
ll t
ab
s
Circle Toolpaths
Circle toolpaths efficiently mill a circle when you select just a single
point, or other circle toolpaths for related applications. After milling
the center of the circle, Mastercam calculates an entry arc before
approaching the perimeter and then a similar exit arc. You can add
enhancements such as multiple passes, multiple depth cuts, and
helical plunge moves, and fine-tune the entry and exit arcs.
In this section, you will learn more about:
a similar exit arc. The following picture shows a circle mill toolpath
with helical entry:
3
32
3
34
35
36
37
38
39
310
chain only a single point to create the toolpath; the holes outer diameter is determined by your toolpath parameters.
3
32
3
To begin creating a slot mill toolpath, choose Toolpaths, Circle paths,
Slot mill toolpath.
34
35
36
37
38
39
310
After selecting a tool, use the Thread mill tab to define the Taper
angle and other thread mill parameters.
Use the following guide to help orient your thread mill toolpath so
that it cuts the threads in the intended manner.
ID / OD
thread
Machining
direction
Milling
direction
ID
Right-hand
Top to bottom
Conventional
ID
Right-hand
Bottom to top
Climb
ID
Left-hand
Top to bottom
Climb
ID
Left-hand
Bottom to top
Conventional
OD
Right-hand
Top to bottom
Climb
OD
Right-hand
Bottom to top
Conventional
OD
Left-hand
Top to bottom
Conventional
OD
Left-hand
Bottom to top
Climb
Drill Toolpaths
Mastercam supports many types of standard drill cycles. Standard
drill toolpaths provide flexible options for selecting drilling points,
such as selecting either points or arcs; automatically selecting all the
points from a previous operation; or choosing drilling patterns such
as grids or bolt holes without first creating geometry. The general
process of creating a standard drill toolpath is straight-forward.
Note: You can also customize drilling operations and create
entirely new drilling cycles. For more information, see Customizing Drilling Operations on page 459.
3
32
3
34
After selecting a tool, use the drill type parameters tab (such as
Simple drill - no peck in the sample below) to choose a drill cycle from
the Cycle drop-down list and set drill cycle parameters. Edit the fields
and settings in other drill toolpath tabs, as necessary.
35
36
37
38
39
310
3
32
3
34
35
36
37
38
39
310
Subprograms: Lets you select a previously created drill toolpath and apply the new operation to its points. Mastercam
creates subprograms for both operations to reuse the point
locations.
Last: Mastercam creates a drill toolpath using the drill points
and sorting order of the previous drill operation.
Masking on an arcEnter a Diameter value to drill at the center
point of all the arcs whose diameter is within the specified tolerance,
or choose Mask on Arc to select an arc from the graphics window.
The selected arc can be either open or closed.
Pattern drillingSelect the Pattern check box and set additional
options on this section for creating a grid of holes or a bolt circle.
Predefine points or geometry are not needed to use these functions.
3
32
3
34
35
The 2D sort, Rotary sort, and Cross sort tabs provide various
patterns you can choose for specific application types. Each tab and
its application is described below. To choose a sort pattern, click the
button in the selected tab and set additional options, as necessary.
36
37
38
39
310
Notes:
Only the drill points in the current toolpath are sorted, not all
drill points in the graphics window.
The start point of the drill toolpath is marked with a red point.
3
32
3
34
35
36
37
The values displayed in the fields are the values currently in effect.
Select the check mark in front of a field to activate it, then type a new
value. You can apply the change to just the selected point, or to every
point going forward.
38
39
310
Here are some of the ways you can customize your drilling operations:
Associate canned text with any drill point or points. Use the
Control Definition Manager Text properties pages to define
the canned text commands you can choose from.
Customize the list of drill cycles and their parameters which
appear in the Drill cycle parameters tab. Use the Control
Definition Manager Machine Cycles properties page to
select the cycles. To customize the names of the cycles and
their parameters, use the Control Definition Manager Text
properties pages.
Define custom parameters for each cycle. Values for these
parameters can be set on an operation-specific basis using
the Custom drill parameters tab. To define custom parameters for a particular cycle, use the Control Definition Manager
Text properties pages.
You can also define custom integer and floating-point variables for
the control definition. These are available when you create any toolpath type, not just drilling. For more information on setting up
control definitions, see Working with Control Files and Control Definitions on page 374.
Feature-based Drilling
Use the feature-based drilling functions described below to automatically create a complete series of drill operations for a set of points or
arcs.
3
32
3
34
35
36
37
38
39
310
TIP: The Start Holes toolpath function works with all toolpath
types but is especially effective when used together with the
Align plunge entries for start holes feature found in Surface
Rough Pocket. This feature organizes all of the plunge points
so that one pre-drilled hole can serve as the plunge position for
multiple depth cuts.
Pocket Toolpaths
With Mastercam pocket toolpath functions, you can integrate
roughing and finishing cuts in the same operation, or simultaneously
create separate roughing and finishing operations. You can create
separate entry/exit moves for each type of cut, and choose from many
different roughing patterns, including open pockets and high-speed
pocketing with trochoidal loops to minimize tool burial. Finishing
options include feed rate and spindle speed overrides, thin wall
finishing, spring passes, and remachining.
To begin creating a rough or finish pocket toolpath, Choose Toolpaths, Pocket Toolpath. Then chain the geometry for the pockets. All
geometry used to define a pocket and any islands must be in the same
construction plane. Mastercam automatically interprets closed
boundaries within the chained geometry as islands and adjusts the
toolpath accordingly.
Notes:
3
32
3
34
35
36
37
38
39
310
Wireframe Toolpaths
Use wireframe toolpaths to use surface machining styles without
having to create or select surface entities. Mastercam calculates the
surfaces from your wireframe geometry. In this section, you will learn
about the different types of wireframe toolpaths you can create from
the Toolpaths, Wireframe submenu, including:
Ruled Toolpaths
(page 465)
Lofted Toolpaths
(page 465)
Swept 2D Toolpaths
(page 467)
Revolved Toolpaths
(page 466)
Swept 3D Toolpaths
(page 468)
Ruled Toolpaths
Use this toolpath type to create a linear blend between chains of
curves, simulating a ruled surface over several chains of geometry.
3
32
3
34
35
36
Lofted Toolpaths
Use lofted toolpaths when you want to create a smooth, curved blend
between chains of curves or cross-sections, simulating a lofted
surface over several chains of geometry.
37
38
39
310
Revolved Toolpaths
Use the Toolpaths, Wireframe, Wireframe Revolved toolpath function to create a surface of revolution from a cross-section. This toolpath type is calculated in the current construction plane, then
transformed into the current tool plane. You can trim the toolpath to
a given height or width (relative to the construction plane) and
generate a convex or concave shape. You must select a ball endmill for
this toolpath type. The following picture shows a part profile lying flat
in the XY plane, and the revolved toolpath created from the geometry.
3
32
3
To begin creating a coons patch toolpath, choose Toolpaths, Wireframe, Wireframe Coons toolpath and enter the number of patches
to create in both the along and across directions. You can select up to
50 patches in each direction.
34
After chaining the across and along contours and selecting a tool, use
options in the Toolpath parameters and Coons parameters tabs to
define the tool, and set the cutting direction, cutting method, and
other toolpath parameters and compensation options.
35
Swept 2D Toolpaths
Use the Toolpaths, Wireframe, Wireframe Swept 2D toolpath function to create 2D toolpaths by sweeping one boundary (the across
contour) along a second contour (the along contour). A swept 2D
toolpath can have only one along boundary. The across and along
boundaries are blended to generate a 2D toolpath.
36
37
38
39
310
define a tool plane. This only applies when the final toolpath
contains arcs. The final toolpath contains arcs when either
the along boundary contains arcs or when you select an
option to roll the toolpath around corners.
TIP: Swept 2D toolpaths have an advantage over swept 3D
toolpaths in that they output arcs and create much shorter NC
files. However, swept 3D toolpaths give you much more flexibility.
Swept 3D Toolpaths
You can simulate a surface with any of the following sets of boundaries using the Toolpaths, Wireframe, Wireframe Swept 3D toolpath
function:
Specialized Toolpaths
In this section, you will learn about the types of specialized toolpaths
you can create, including
Face Toolpaths
Use a facing toolpath to quickly clean the stock from the top of a part,
qualify the top of the part, and create a flat surface for future operations. You can base the toolpath on either chained geometry or on the
current stock model.
To begin creating a face toolpath, choose Toolpaths, Face toolpath.
Select the across and along contours in the graphics window. Then
use the Chaining dialog box to select the part geometry, or simply
choose OK without selecting anything to use the stock model.
After selecting a tool, use the Facing parameters tab to enter the toolpath parameters and complete the toolpath.
TIPS:
When facing the stock, it is important to have the tool
overlap the edges of the part by at least 50% of its diameter
to prevent leaving scallops of material at the edges of the
stock.
To face islands, consider using a pocket toolpath, which
includes an automatic island facing feature.
3
32
3
34
35
36
Point Toolpaths
Positioning the tool at a specific point or making it follow a series of
specific points is a helpful technique you can use to avoid a fixture or
clamp, or to get the tool into or out of a tight area or an awkward
shape. You might also use this type of toolpath to position the tool
between cutting operations.
Point toolpaths let you build a series of tool movements by selecting a
series of individual locations in the graphics window, rather than have
the tool follow geometry.
To begin creating a point toolpath, choose Toolpaths, Point toolpath
and use the Point Toolpath ribbon bar to create the toolpath.
37
38
39
310
Ba
ck
up
Ad
d
Re
mo
M ve
ov
e
Ch
an
g
Ra e m
pid od
e
Fe
ed
rat
e
When you begin creating the toolpath, you are prompted to select the
first point to which the tool will rapid from the home position. To add
additional points, click the locations in the graphics window. Use the
G0 (rapid) or G1 (feed rate) buttons to define the type of move before
selecting points, or to edit them afterwards.
For rapid moves to the point, the control definition determines
whether the rapid move is broken up into separate moves for each
axis or interpolated in multiple axes.
For feed rate moves, the tool moves to the new points at the
feed rate you set.
Use the Back up button to delete points and back up to the previous
point. Click OK when you finish selecting the points.
Use the Tool parameters tab to select a tool, coolant, and set other
toolpath options. To achieve the desired tool motion, try disabling the
reference points feature (deselect the Ref points check box).
If you select a file, you can choose to copy the text to the part
file (saving it with the part), or create an external link to the
source file used when you post.
If you choose to create an external link to the text file, you can
edit the file whenever you wish without modifying the operations in Mastercam. The updated text appears in your
programs the next time you post.
Note: To manually insert text, codes, or commands at specific
points within a toolpath or operation, use the Drill Change at
Point dialog box. You might also consider using canned text to
create custom codes or program segments.
3
32
3
Use surface toolpaths to drive the tool along drive geometry. At least
one drive surface, solid face, solid body, or CAD file is required for the
toolpath to be created. In this section, you will learn about creating
toolpath surface operations using functions in the Toolpaths, Surface
Rough and Surface Finish submenus.
34
35
36
37
38
39
310
3
32
3
34
35
36
37
38
39
310
axis instead of stepping over in the X and Y axes. Choose this toolpath
type from the Toolpath, Surface Rough or Surface Finish submenu.
3
32
3
Surface Rough Pocket Toolpaths
Rough pocket toolpaths remove a lot of stock quickly. It creates a
series of planar or constant Z cuts, which is a preferred cutting
method for many roughing tools. To create this toolpath type, choose
Toolpath, Surface Rough, Rough Pocket toolpath.
34
35
36
37
38
39
310
3
32
3
34
35
36
37
38
39
310
3
32
3
34
35
36
37
38
Note: In the part above, the blend curves are the arcs on either side
of the solid.
39
310
You can create multiaxis toolpaths when working with 4-axis and 5axis machine tools. Based on the selected machine tool, you can
choose a 3-, 4-, or 5-axis toolpath output format, as outlined below.
Machine Tool
4-axis
3- and 4-axis
4- and 5-axis
5-axis Multisurface
Toolpaths (page 484)
Note: Generating multiaxis toolpaths for a machine tool usually
requires post processor customization. For more information on
customizing the post processor for a multiaxis machine tool and
control, contact your Mastercam Reseller.
3
32
3
34
35
36
37
38
39
310
Select the Curve Type or Entity Type and select the geometry
for the tool to follow.
Select the method for Tool Axis Control. Mastercam aligns
the tool axis to the selected geometry or a plane.
Choose a Tip Control method to set tool tip compensation.
Select the Surfaces to be cut, either the cut pattern or the
part surfaces (Comp to surfaces).
Select Check Surfaces (the areas in the part to be aware of
but stay away from).
Note: To edit the geometry selection after creating the toolpath,
doubleclick the toolpaths Geometry icon in the Toolpath
Manager.
3
32
3
34
35
36
37
38
39
310
surfaces for the floor. The example below shows a swarf 5-axis toolpath with the tool tip compensated to a plane which defines the floor.
3
32
3
34
35
Figure 3-44: Example: Surface Selection
Box cut pattern
(shown with thickness)
36
37
38
Z
X
Front view
39
310
In the example below, a box cut pattern was used to generate the flow
of motion and tool axis vectors. Then the tool tip was compensated to
the part surfaces.
3
32
3
34
35
36
37
38
39
310
3
32
3
34
35
Lathe Toolpath Types
With Mastercam Lathe, you can create many different toolpaths for
turning machines, from roughing and finishing inside and outside
diameters to C-axis (mill/turn) programming. Mastercam Lathe also
includes grooving, threading, drilling, facing and cutoff toolpaths for
all your lathe machining needs.
When you choose a Lathe machine definition from the Machine Type
menu, the Toolpaths menu displays the lathe toolpath types you can
create. This includes a number of mill toolpaths you choose from the
Toolpaths, Mill submenu.
Note: For more information on using Mill toolpath functions, see
Mill Toolpath Types on page 440.
36
37
38
39
310
Cutoff Toolpaths
(page 499)
3
32
3
34
35
36
37
38
39
310
3
32
3
34
35
36
37
38
39
310
dialog box.
3
32
Drill/Counterbore (long)
Bore #1 and #2
Misc #1 and #2
Custom cycle 9 - 20
34
35
36
Tap
The exact list of cycles varies, depending on the active control definition. You can customize both the drill cycles and how they are
displayed using the Control Definition Manager, Machine Cycles
properties page. You can also use the Control Definition Manager to
define and name custom drill cycles which are added to the list you
can choose from when creating a drill toolpath. Any custom drill
parameters you define for the control definition display in the Lathe
Drill dialog box Custom parameters tab. The post processor used with
the control must also be configured to support canned cycles.
Note: For more information on setting up drill cycles for the
control, see Machine Cycles on page 401.
To create a drill toolpath, choose Lathe Drill Toolpath from the Toolpaths menu to access the Lathe Drill Cycle parameters tab (the exact
name of this tab changes depending on the selected drill cycle).
37
38
39
310
When you create a drill toolpath, there are three Z-axis dimensions
you must enter in addition to the drill point (the location of the hole).
Clearance
Depth
Retract
Clearance
Retract
Depth
Absolute
Incremental
Ba
ck
up
Ad
d
Re
mo
M ve
ov
e
Ra
pi
Ra d
pi
Fe d w
ed ith
Ch rat bre
an e ak
ge
mo
de
3
32
When you begin creating the toolpath, you are prompted to select the
first point to which the tool will rapid from the home position. To add
additional points, click the locations in the graphics window. Use the
G0 (interpolated rapid / rapid with break), or G1 (feed rate) buttons to
define the type of move before selecting points, or to edit them afterwards.
For each point in the toolpath, you can program the following types of
tool movement :
34
35
36
37
Use the Back up button to delete points and back up to the previous
point. Click OK when you finish selecting the points.
38
Use the Toolpath parameters tab to select a tool, coolant, and set
other toolpath options. To achieve the desired tool motion, try
disabling the reference points feature (deselect the Ref points check
box).
39
310
In the Thread shape parameters tab, there are three main parts to the
parameters you define:
3
32
3
34
35
36
37
38
Cutoff Toolpaths
Cutoff toolpaths vertically cut off pieces of the part, such as sections
of bar stock. When you choose Toolpaths, Lathe Cutoff Toolpath, you
do not chain any geometry for the cutoff toolpath. Instead, you select
the point where the part is cut off. Then select a tool and use the
Cutoff Parameters tab to define the toolpath.
39
310
Notes:
Canned toolpaths are machine- and control-dependent. To
create canned toolpaths, the control definition used with the
selected Lathe machine type must allow the corresponding
canned cycles. You set these parameters in the Control Definition Manager, Machine Cycles properties page. For more
information, see Machine Cycles on page 401.
The post processor used with the control must also be configured to support canned cycles.
Quick toolpathsThe Toolpaths, Lathe Quick menu includes quick
rough, finish, and groove toolpaths, which let you create simple toolpaths by entering only a few parameters.
3
32
3
34
35
36
37
38
39
310
C-axis Cross-contour
Toolpaths (page 504):
506):
Using the CView
Utility (page 507):
3
32
3
34
35
36
37
38
39
310
that the center of the tool follows the chained geometry. (You can
override this, as necessary.)
Mastercam
creating a C-axis
contour toolpath
Note: Choosing this toolpath type also sets the default cutter
compensation to Off so that the center of the tool follows the
chained geometry.
3
32
3
34
35
36
Set the rotation type to C-axis in the Rotary Axis dialog box to produce
polar-conversion output for a C-axis lathe, or select Y-axis rotation to
produce X-Y-Z coordinate output.
37
38
39
310
3
32
3
utility.
34
35
36
37
38
39
310
3
32
3
34
Miscellaneous Operations
You use miscellaneous operations to manipulate the stock and
program the movements of peripherals like tailstocks, chucks, and
steady rests. These toolpaths might output M-codes or G-codes. You
can program miscellaneous operations only for peripherals that are
supported by the active machine definition
Choose from the following operation types:
35
36
37
38
39
310
button to return to the graphics window and select the specific entities or chains that you want to copy. You can specify a different level
for the new geometry, as necessary.
Locate the stockEnter the original and new positions for the stock.
You can select the locations, or choose From stock back face to automatically use the back face of the stock as currently calculated by
Mastercam. The point you choose does not have to be on the face of
the stock. You can choose any convenient reference point.
Control the chucksUse the Main Spindle Position section to enter
the location of a reference point on the chuck which is currently
holding the stock. Enter the current location and the location to
which the chuck will move after the stock has been picked-off or
Select the locations.
Then, enter the coordinates of a reference point of a chuck on the
sub-spindle which will be receiving the stock. Enter its current location, and the location where it will pick-off the part. The relationship
between this Z-coordinate and the current stock location determines
how much of the stock will be clamped. If you choose the Get dia.
from stock option, Mastercam automatically calculates the current
stock diameter at the Z coordinate you enter for the pick-off position.
The final location of the chuck after it picks off the part is determined
by the Transferred Position you specify for the stock.
Move the coordinate systemChoose Construction Origin or Tool
Origins to relocate the coordinate system to the new spindle. Select
the desired Move... option and Z position of the source and destination locations.
3
32
3
34
35
36
37
38
39
310
3
32
3
34
Chuck Toolpaths (clamp/unclamp, reposition)
Use this type of toolpath to create a lathe chuck operation that will
clamp, unclamp, and reposition the chuck. This lets you take advantage of the automatic clamping and unclamping features on your
machine. Mastercams collision avoidance features prevent the tool
from making a move into the chuck.
IMPORTANT: To create a chuck operation, you must first
define the chuck in the Toolpath Manager Stock Setup tab.
Also, the machine and control definition must support the
operation.
To create a chuck toolpath, choose Toolpaths, Lathe Misc Ops, Lathe
Chuck. Use the Lathe chuck tab to enter parameters for the new operation.
35
36
37
38
39
310
If your machine has two spindles, select the active spindle for
the operation.
Select the type of operation. You can create operations to
clamp, unclamp, or move the chuck.
Enter the original and final positions of the chuck, or choose
the Select button to select the locations from the graphics
window.
To restrict the chuck's movement to X-axis moves only,
choose the Diameter only option. This is especially useful for
Swiss machines where the chuck moves in Z instead of the
tool.
3
32
3
34
35
In the Operation section, select Advance or Retract to indicate
whether the operation is moving the tailstock towards the part or
pulling it away. Mastercam automatically advances or retracts the
quill based on your selection.
Then, enter the original and destination positions of a reference point
on the tailstock, or choose the Select button to select the locations
from the graphics window. If you have created a stock model and
drilled a 60-degree center hole in the face, choose the Auto option to
automatically position the tailstock in the hole.
36
37
38
39
310
3
32
3
34
35
36
5 mm arcs spaced
32 mm apart
37
38
39
310
Lead drill
Offset from
lead drill to
second drill
Offset from
lead drill to
third drill
Both head and tool position offsets
are relative to the lead drill
coordinate position. For example, X100 Y0 Z0 would place the aggregate block 100mm in X from the reference point.
Z
Y
X
Aggregate position offset
shown in side view
32
3
34
Nesting Toolpaths
Nesting is the process of fitting multiple copies of a part within a
boundary (material sheet) for best yield. Parts can be nested next to
each other or even within each other to provide the most efficient use
of the material. Mastercam Nesting is an add-on to other Mastercam
products, such as Mastercam Router, Mill, and Wire.
You can choose to nest geometry or toolpaths. You can bring in geometry from a file or chain it in the graphics window. To use toolpaths for
nesting, they must already be defined in the current part file.
Nesting provides several methods for defining sheets of material. A
sheet definition consists of the sheet geometry, length and width
dimensions, quantity of that sheet to be used in the nesting session,
position of the lower left corner (origin), and the grain direction. Each
material sheet you define can be used in the current nesting session.
You can also save the sheets to a nesting sheet library file (.NSL) for
reuse.
Both geometry parts and toolpath parts can be added as clusters. A
cluster is a collection of parts that are nested as a single unit and
maintain their spatial relationship with each other.
The parts in a nesting session or operation can lie at different Z
depths. Nesting generates the session at the current Z (construction)
depth.
35
36
37
38
39
310
3
32
3
34
35
36
37
or defining them.
4 Select or create nesting parts based on chained geometry
38
39
310
Engraving Toolpaths
When creating Engraving toolpaths, you can define roughing,
finishing, and remachining operations. Engraving generates a
contour-like finish pass as part of the roughing operation.
TIP: Although engraving toolpaths do not require roughing,
you can use roughing to clean out cavities as an alternative to
pocketing.
X Use the following general steps to create an engraving
toolpath:
1 Choose a lathe machine definition from the Machine Type
menu.
2 Select Toolpaths, Engraving toolpath.
3 After selecting an appropriate tool and setting tool parame-
ters, choose the Engraving parameters tab to set the clearance, retract plane and feed plane heights, machining depth
and direction, top of stock, and the amount of stock to leave
for a finish pass. You can also set the toolpath to roll around
sharp corners, wrap a toolpath on a curved surface, filter
points from the toolpath for smoother motion, specify the
number and type of depth cuts, and remachine the toolpath.
Note: If you use a flat cutter to machine out a cavity and plan to
remachine the corners, you can enter an Angle for flat cutter
offset that offsets the tip of the straight (flat) bit to match the Vgroove tip position. This ensures that the roughing operation does
not gouge the engraved edge.
4 In the Roughing / Finishing parameters tab, define the
roughing, finishing, or remachining operations for the toolpath. You can select from several roughing methods or
patterns. The one you choose depends on the shape of the
part. Use Parallel spiral and Clean corners on round parts;
Zigzag and One way for rectangular parts. You should also
use One way if the material has a grain that you want to cut
only in one direction.
Note: The rough cutting methods are unavailable when you
create an engraving remachining operation. Remachining toolpaths always use the zigzag cutting pattern.
5 Click OK to accept the toolpath parameters and close the
3
32
3
34
35
dialog box.
36
37
38
39
310
Open chain
Closed chain
In an open chain the start and end points are different coordinates.
Examples of open chains are single lines or arcs. An open chain may
Chaining Direction
3
32
3
34
35
All chains have a direction. Direction for closed chains is either clockwise or counterclockwise, while the direction for open chains points
toward one of the chain endpoints. The chaining direction determines the direction of tool movement in a toolpath.
36
In surface creation, Mastercam uses chaining direction to synchronize the chains to create a smooth, regular surface. Errors in establishing chaining direction often result in a twisted surface that cannot
be machined. In the example below, the arrow shows the counter-
37
38
39
310
Chaining arrow
Synchronizing Chains
Many Mastercam functions, such as surface creation and ruled toolpaths, use chain synchronization. Choose a synchronization mode
(sync mode) if you have attempted to create a toolpath and found that
it twists as shown below. The twisting could affect the surface of the
part, making it unmachinable or irregular.
3
32
3
34
35
36
37
Original geometry
38
39
310
Selecting Tools
In this section, you will learn about selecting tools and setting feeds,
speeds, and other general toolpath parameters. For most mill, router,
and lathe toolpath types, the Toolpath Parameters tab displays after
you chain or select geometry, solids, or surfaces for a new toolpath.
You can also access this tab by clicking the Parameters icon in the
Toolpaths Manager list.
Note: Changing parameters after creating a toolpath may require
you to regenerate the toolpath.
Selecting a tool
The Toolpath parameters tab options vary, based on the selected toolpath type. However, there are many common fields for all toolpath
types and the method you use to select a tool is basically the same.
Mill and router toolpath parameters are very similar. Lathe toolpaths
share some mill and router toolpath parameters but also include
many that are unique to lathe machine tools. To become more
familiar with the differences and similarities between Mill / Router
and Lathe toolpath parameters, compare the following examples.
3
32
3
34
35
36
37
38
39
310
Note: For detailed information on individual fields in the Toolpath parameters tab for a specific toolpath type, refer to the
online Help.
Use the large area in the left section of the Toolpath parameters tab to
select a tool for the operation. All tools that have been added to or are
used in the current machine group display in this area by default.
To change the tools display, similar to setting Windows file view
options, rightclick in this area and choose an option from the View
menu.
If you display tools in a list, you can sort the list by clicking on column
headers. To reorder the columns, click and drag them to new positions.
In the tool display area, click the tool you want to use.
If the tool you want is not displayed, choose Select library
tool. This opens the Tool Selection dialog box where you can
select a tool from the current tool library, or from any tool
library you choose.
Use the rightclick menu option to Create new tool and
define the tool.
IMPORTANT: Any new tool definitions you create are stored
only in the current machine group, unless you save them to a
tool library.
TIPS:
To simplify the display, choose Tool Filter and define criteria
that will limit the display to only tools that meet your criteria.
You can select a tool from the library just by entering its tool
number, provided that in the Machine Group Properties
dialog box Tool Settings tab, the option to Search tool
library when entering tool number is selected. To configure
this setting, click the Tool Settings icon in the Toolpath
Manager list.
Doubleclick a tool to edit its tool definition, or choose Edit
tool from the rightclick menu.
32
3
34
35
36
37
38
The Tool Selection dialog box displays when you choose the Select
library tool button in the Toolpath parameters tab.
39
310
Use this dialog box to select tools from a tool library and add them to
the current machine group. Adding tools to the machine group allows
you to select and use them in a toolpath.
TIPS:
Mastercam Mill and Router toolpath types can use tools and
tool libraries interchangeably.
While working in the tool display window, click and drag
columns to rearrange them, or sort the tools by clicking on a
column header. Use the rightclick menu to access more
display options.
Mill / Router
3
32
3
34
Lathe
35
36
37
Create new tool: Create a new tool instead of selecting one
from the list. The tool definition you create is stored only in
the current machine group unless you save it to a library.
Edit tool: Edit the tool definition for the selected tool. Unless
you save the changes to the library, they are stored only in the
machine group and do not affect the tool definition in the
library.
Get block drill: (Router) This option is available only when
you create or edit a block drilling toolpath. Use it to access
the Drill Block Selection dialog box where you can view,
select, or edit the drill blocks defined for the machine type.
Drill blocks must be predefined for the selected machine
type using the Machine Definition Manager.
38
39
310
line. A single part can have many operations within one or more
machine groups and toolpath groups.
Each operation has at least four parts:
32
Toolpath Parameters: Includes all the machining information, such as tool selection, number of cutting passes, etc.
Tool definition: Information about the size and shape of
the tool.
Part geometry: Contains the geometry selections for the
part or section you are machining.
Toolpath: A separate intermediate file that contains all of
the toolpath data. The post-processor uses the NCI file to
create an NC file for your specific machine/control.
3
34
35
36
37
38
Surface toolpathsFor surface toolpaths, you can click additional
geometry icons to view and edit information on the Drive surfaces,
Check surfaces, Containment boundaries, Start points menus, and
CAD files used in the operation.
39
310
Parameters icons
Toolpath parameters: Opens the Toolpath Parameters
dialog box where you can select a tool, set feeds, speeds,
and other general toolpath parameters.
Subprogram: Indicates that the operation contains one
or more subprograms and opens the related dialog box
for transform or non-transform operations. (A subprogram is an NC program that is called from the main NC
program to repeat code within an operation.)
Tool icon
Tool parameters: Opens the Define Tool dialog box
where you can define the tool and its parameters for the
operation.
Lathe tool parameters: Click to open the Lathe Tools
dialog box where you can define the tool type, insert,
holder, and cutting parameters.
3
32
3
34
35
36
37
38
39
310
Displaying Toolpaths
When you generate a toolpath, the tool motion is drawn in the
graphics window. Sometimes the display of multiple toolpaths can
obscure the geometry and each other. You may find it simpler to work
with toolpath display turned off.
Showing / Hiding All ToolpathsTo show or hide the display of all
toolpaths in the graphics window, position the cursor in the
graphics window and press the Alt key and the T key [Alt+T] at the
same time. This key sequence toggles the visibility of all toolpaths
on and off in the graphics window.
Showing / Hiding Selected ToolpathsTo change the display state of
one or more toolpaths, in Toolpath Manager select one or more
toolpath operations and press T [Select+T]. Mastercam turns off
the toolpath display for the selected toolpaths. To turn the display
back on, press T again. This is especially helpful if you are working
with a complex part and want to view only specific toolpaths.
When you use this technique to turn off the display of individual
operations, they are not affected by pressing [Alt+T] in the
graphics window. They remain hidden until you press T again
when the cursor is positioned in the Toolpath Manager.
Notes:
You may need to repaint the display after toggling the toolpath
display on and/or off.
Toolpaths will not be displayed for operations marked dirty
until they are regenerated.
3
32
3
34
35
36
37
38
39
310
To hide most of the text that appears next to the list icons, use
the Display command in the rightclick menu.
Editing Operations
Toolpath Manager icons and rightclick menu functions offer many
flexible methods you can use to edit operations. So far in this chapter,
you have learned about using Toolpath Manager icons to:
3
32
Editing Common
Parameters (page
542)
Renumbering Tools
(page 545)
Renumbering Work
Offsets (page 546)
Reversing Toolpaths
(page 547)
Recalculating Feeds /
Speeds (page 547)
3
34
35
36
37
38
39
310
The large area in the left side of the dialog box lists all selected operations in ascending order by operation number.
Use the check box next to each field in this dialog box to select the
fields you want to edit. This flexible design lets you implement
changes to one field, all fields, or any combination of fields you
choose. When you click OK or Apply, only selected (activated) fields
and their associated values are used to edit the operations in the list.
TIPS:
Use the Select all and Deselect all buttons,
located in the lower left corner, to quickly
select / deselect all fields.
32
After selecting a field, use one of the following methods to change it:
34
35
36
37
38
39
310
3
32
Renumbering Tools
The Renumber tools function makes it easy to renumber the tools
used in the selected operations, and optionally, those that have been
saved with the part file but are not used in any of its operations. For
example, you might use this function when reprogramming a job for a
different machine tool.
Note: Tools are renumbered based on the current order of operations.
Figure 3-70: Renumber Tools dialog box
3
34
35
36
37
38
39
310
Reversing Toolpaths
The Reverse toolpath function allows you to transpose the
machining direction and swap the side where cutter compensation in
control is applied for selected operations. If cutter compensation in
control is off in the toolpath, it remains off; only the machining direction is reversed.
3
32
3
34
35
36
37
38
39
310
Backplotting Operations
Backplotting simulates tool motion for selected operations.
This animated display allows you to view the cutting process
in the graphics window in a manner similar to stepping
through or running a video file.
Use Backplot to spot errors in a program before machining the part.
To begin backplotting, select one or more operations in the Toolpath
Manager list, then click the Backplot button. To move forward and
backward through the backplot simulation, use the Backplot VCR bar,
located above the graphics window.
Pla
y
St
op
Re
w
St ind
ep
St ba
e c
Fa p fo k
s r
Tra t for ward
c w
Dr e ard
aw
You can run Backplot in Draw mode, which displays the toolpath as
the tool moves along, or Trace mode, which displays the entire toolpath as the tool moves over it. The direction of each tool move is highlighted as the backplot progresses. The default colors are light blue at
the start and red at the end of each move, but you can set them to any
color you choose.
As you step through the toolpath, the Details tab of the Backplot
dialog box displays information on the type of move, and the Info tab
displays information such as cycle time and path length for the
selected operation.
Backplot dialog box and
Details tab (default)
3
32
3
34
35
36
37
38
39
310
Verifying Operations
Use the Verify function in the Toolpath Manager to create a
3D simulation of machining selected operations. The model
created by this function represents the surface finish. It also
shows collisions, if any exist, and enables you to find and correct
program errors before they reach the shop floor.
Toolpath verification provides two modes of operation: Standard and
TrueSolid.
3
32
3
34
35
36
37
38
39
310
Select the tool display mode: Turbo, Simulate tool, or Simulate tool and holder.
Set display parameters affecting movement, speed, and
quality of simulation.
on
/o
ff
ion
Co
ola
nt
om
pe
ns
at
Cu
tte
rc
sp
ee
d
Sp
ind
le
Fe
ed
rat
rd
ina
te
s
nc
oo
Po
sit
io
co
de
G
32
When you stop the verification process, either by using a selected stop
option or with the VCR controls, this ribbon bar displays read-only
information about the tool move that occurred just prior to the stop
position. The coordinates for the stop position also display. If you
close the Verify controls dialog box , the ribbon bar also closes.
Note: While a verification is in progress, you cannot change the
tool display mode. You must wait for the verification process to
finish, then choose Restart.
34
35
36
37
38
39
310
Note: If you are verifying the current part file (MCX) and do not
set stock dimensions in the Verify configuration dialog box, the
stock values that are specified in the part file are used (Machine
Group Properties, Stock Set up tab). If stock values cannot be used
from the part file, the stock dimensions in the NCI file associated
with the part file are used. If you are verifying a different NCI file,
Mastercam scans the specified NCI file for the stock dimensions.
3
32
3
34
35
36
37
38
39
310
To view the part model against the geometry contained in the STL file,
choose Compare. In addition to the comparison, you can show the
machined model and the STL model separately or together.
You can set the colors in the STL Compare dialog box to denote areas
on the part where material is being left or where the part is gouged.
Each color represents a range of values for the amount of stock left on
the part or removed from the part. For example, the first color can
represent material greater than 0.003 left on the part. The next color
can represent any material left between 0.003 and 0.002. The horizontal shading boundary near the middle of the dialog box indicates
the color used to show zero stock left (a correct toolpath). Values and
colors above this boundary denote areas above the stock; values and
colors below this boundary denote areas in the stock.
3
32
3
34
35
36
37
38
39
310
Post Processing
Post processing refers to the process by which the toolpaths in your
Mastercam part files are converted to a format that can be understood by your machine tool's control (for example, G-codes). A
special program called a post processor reads the Mastercam file and
writes the appropriate NC code. Generally, every machine tool or
control will require its own post processor, customized to produce
code formatted to meet its exact requirements and user preferences.
In addition, you can customize a post processor to reflect job or shop
preferences, for example, safety blocks or tolerances.
Post processors have two components.
3
32
3
34
35
36
37
38
39
310
Definition area: includes format statements and assignments, variable declarations and initialization, etc.
Postblock area: includes predefined and user-defined
postblocks. Postblocks are groups of commands that contain
the processing logic.
Post text area: includes data used by Mastercam to
customize the interface, allowing you to enter the proper
data and parameters to take advantage of your machine's
unique capabilities.
When you configure a new control definition to work with a particular
.PST file, Mastercam appends another post text area to the .PST file,
separated by a header. Through post processor customization, it is
possible to support machine tool / controller options you cannot set
through Mastercam directly. Contact your Mastercam reseller for
more information on post support.
WARNING: Customizing the .PST file is an advanced, sophisticated task that should only be attempted by knowledgeable
users, or your local Mastercam reseller. Programs created with
incorrect post processor files can cause your machine tool to
crash or behave in unpredictable ways. If you have any doubts,
please consult your Mastercam reseller for assistance or more
information!
Notes:
Mastercam also supports binary post processors. These are
posts in which the processing logic is encapsulated in a special
binary file with a .PSB extension, which cannot be edited in a
standard text editor. Post text and similar data can still be
written to a separate .PST file, though, using the Control Definition Manager.
For more information on MP post processors, see the MP Post
Processor Reference Guide, available on CD from your
Mastercam reseller.
3
32
3
34
35
36
37
38
G
1 2 3 4 5 6 7 8
where 1 = X component, width (stck_ht)
39
310
post process. You can select operations from more than one
machine group. All selected operations marked with a blue
check mark will be post processed.
group, you are asked if you want to post process all the operations.
3
32
3
34
35
36
37
38
39
310
Machining Solids
Machining solid entities demands slightly different techniques than
machining wireframe or surfaces. This section introduces important
concepts and techniques, including:
3
32
34
Generate the toolpath operation (that is, the binary NCI file)
with or without generating the NC program.
Select toolpath operations for batch processing from any
Mastercam file, not just from the current file.
Automatically submit toolpath operations for batch
processing by selecting the To batch option on the Toolpath
parameters tab.
Create, save, and rerun batch files (.BCH), and edit batch files
directly using a file editor.
Automate toolpath regeneration and file saves of batched
operations.
Set time limits on batched operations.
Log batch processing operations.
35
36
37
38
39
310
Use the Batch Toolpath Operations dialog box to read operations from one or more Mastercam files and add them to a
list. Use this method even if the operations you want to
include are in the current Mastercam file. Operations can be
tagged for batch processing so that they are automatically
added to the batch list when you select their source file.
Open a batch file, which contains the list of operations to be
processed and their source files.
You can use the Batch Toolpath Operations dialog box to combine
both methods. This means that you can open a batch file, and then
add operations from other Mastercam files. You can then choose
whether or not to save the new list to the batch file, create a new batch
file, or just run the job.
3
32
3
34
35
36
37
38
39
310
TIPS:
Save the Mastercam file before opening the Batch Toolpath
Operations dialog box. It reads the toolpaths from
Mastercam files on your hard drive, not from system
memory, so until the current file is saved, it does not know
about its toolpaths.
Operation types whose toolpath cannot be regenerated (for
example, Trimmed toolpaths) cannot be processed in batch
mode.
Operations tagged for batch processing cannot be transformed.
Operations tagged for batch processing are not regenerated
when you regenerate operations in the Toolpath Manager.
They can only be regenerated during batch processing.
If you clear the To batch toolpath parameter on an existing
operation, the operation must be regenerated.
Importing Operations
You can import saved operations to the current Mastercam file, with
or without their geometry. Import these operations from a previously
created operations library.
You can also automatically recalculate feeds and speeds based on the
current job setup, put the operations in specific tool and construction
planes, and check for and eliminate duplicate tools.
Click the operation to select it for import. Mastercam marks selected
operations with a blue check mark. Press [Ctrl] and click to select
3
32
3
Exporting Operations
You can easily export operations from the current Mastercam file to
an operations library. Export these operations with or without their
geometry.
You can also automatically check for and exclude duplicate tools from
the exported operations.
Click the operation to select it for export. Mastercam marks selected
operations with a blue check mark. Press [Ctrl] and click to select
multiple operations or to deselect an operation. Press [Shift] and click
to select a range. Choose OK to export the selected operations.
34
35
36
37
38
39
310
Transforming Operations
Use the Transform toolpaths function from the Toolpath menu to run
the same toolpaths in different locations or at different orientations in
the same part file. You can transform single toolpaths, or several at a
time. Consider using transform toolpaths when you want to:
tions are not associative; if you change the original toolpaths, the new
operations will not be marked dirty.
Note: The transformed operations will be written to the active
machine group (where the red arrow is in the Toolpath Manager),
even if the source operations are from a different machine group.
Make sure the transformed operations are compatible with the
machine and control definition in the destination machine
group.
Use the Transform Operations Parameters dialog box to begin
creating a transform operation.
3
32
3
34
35
36
37
Select the source operations, the type of transform, and how you want
to organize the toolpaths which result. After you select the type of
transformation, choose only one of the remaining dialog box tabs
(Translate, Rotate, Mirror) to complete the operation. For example, if
you choose a Rotate transformation, the Translate and Mirror tabs are
unavailable.
In this section, you will learn about:
38
39
310
3
32
3
34
35
36
Trimming Toolpaths
A trim operation is a special type of operation which lets you select
one or more toolpaths and trim them to one or more closed chains.
Trim operations are similar to containment boundaries or check
surfaces, but can be more flexible because:
They let you select a Cplane or view that you can trim relative
to.
37
38
39
310
you post, you only select the source toolpaths (in this case, the pocket
toolpath), you do not post the Trimmed operation itself.
To create a trim operation, follow this general outline:
First, create the source toolpaths and the trim geometry. Note
that Mastercam will trim the toolpath right to the trim geometry, without regard to cutter compensation, so you might
offset the trim geometry from the desired boundary by the
width of the tool. The trim geometry needs to be a closed
contour, but it does not have to be at the same Z-depth as the
part geometry or tool moves; Mastercam will project it in the
trim operation's Cplane onto the toolpath to calculate the
intersections with the toolpath.
Select Toolpaths, Trim toolpath from the menu. You will be
prompted to select the boundary chains, and then a point
(called a bias point) which tells Mastercam on which side of
the boundary you want to keep the tool movements. For
example, if you were trying to contain a toolpath inside a
circle, click anywhere inside the circle.
Use the Trimmed dialog box to select the toolpaths to trim.
You can also edit or reselect the bias point. Choose the T/C
Plane button to select a different Cplane to use as the trimming plane, if desired. The Cplane you select determines how
Mastercam calculates the intersection of the boundary
geometry and the toolpath.
Choose OK in the Trimmed dialog box to complete the operation. Both the original operation and the trim operation
appear in the Toolpath Manager. When you are ready to cut
the part, you only choose the source operation for post
processing. If you delete the trim operation, you must regenerate the original toolpath.
Trimming in the 3D Cplane calculates only actual 3D intersections of the trimming boundaries and the toolpath.
A maximum of 50 trimming boundaries may be defined.
Avoid using splines as trimming boundaries. If splines must
be used as trimming boundaries, they should be broken into
a number of smaller splines or preferably lines or arcs using
one of the Break functions (choose Edit, Trim / Break from
the menu).
Trimming does not incorporate any cutter compensation.
Trimming entities should be created to reflect the center line
of the cutter.
3
32
3
34
35
36
37
38
39
310
577
Index
For more information on terminology and functions used in previous versions of Mastercam,
please refer to the Mastercam X Quick Reference Card included with your installation, and the
Mastercam Version 9 to X Function Map, located in the Mastercam \Documentation directory.
Numerics
2D / 3D
working in ......................................... 146
5-axis
selecting geometry for toolpaths ...... 481
A
about ..................................................... 110
analyze
entities............................................... 254
arc entities
creating ............................................. 196
creating points in center ................... 191
creating polar .................................... 197
arcs
control definition defaults ................ 396
attributes
about ................................................. 138
assigning to transformed entities ..... 238
changing....................................142, 144
setting........................................138, 140
AutoCursor
about ................................................. 116
customizing....................................... 120
using FastPoint mode ....................... 119
using Override................................... 122
using visual cues ................................. 20
B
backplot
defaults................................................ 95
operations ......................................... 548
C
CAD
defaults................................................ 82
7/7/05
46
D
deleting.................................................. 184
Design
about ................................................. 116
7/7/05
579
E
editors
selecting ............................................ 109
engraving
toolpaths ........................................... 522
entities................................................... 184
live editing ..................................... 187
analyzing ........................................... 254
changing attributes ........................... 142
F
FastPoint mode
using.................................................. 119
feed rate values
control definition defaults ................ 399
feeds / speeds
recalculating ..................................... 547
fields
entering values.................................... 18
locking and unlocking ........................ 18
files
assigning defaults by type................... 74
control definition defaults ................ 386
conversion defaults............................. 75
merging ............................................... 30
opening and translating ................... 104
opening with other applications ...... 108
saving ................................................ 105
sharing .............................................. 106
fillets
creating ............................................. 214
functions
adding to toolbars............................... 49
G
General Selection
about ................................................... 20
using the ribbon bar ......................... 125
geometry
creating ............................................. 186
modifying.......................................... 227
graphics view
about ................................................. 152
7/7/05
46
graphics window
about ................................................... 12
changing the appearance of.............. 147
groups
activating from Toolpath Manager... 423
creating.............................................. 424
machine............................................. 425
managing ............................................ 12
Gview
about ................................................. 152
H
HASP
about ..................................................... 3
helixes (entry)
control definition defaults ................ 396
Help
about ..................................................... 4
using ...................................................... 4
horizontal machining center
tombstoning...................................... 176
I
insert arrow (Toolpath Manager)
using .................................................. 423
interactive prompts
using .................................................... 15
K
key mapping (.KMP)
about ................................................... 66
L
lathe
construction planes (Cplanes).......... 180
tool and machine definitions............ 178
toolpath types ................................... 489
leaders / witness lines
defaults................................................ 86
learning mode
about ................................................... 20
Level Manager
setting the main ................................ 358
using the rightclick menu ............... 360
levels
about ................................................. 358
M
machine cycles
control definition defaults ................ 401
Machine Definition Manager
about ................................................... 25
machine definitions
about ................................................. 101
and coordinate systems .................... 160
changing............................................ 371
choosing............................................ 367
editing ............................................... 371
selecting ............................................ 369
machine group properties
about .........................................421, 427
changing a machine definition......... 370
file options ........................................ 428
stock .................................................. 434
tool settings....................................... 430
machine groups
creating .............................369, 424, 425
machine types..................................... 36
machining
overview ............................................ 366
machining (CAM)
about ................................................. 365
main level
setting........................................145, 358
masking
about ................................................. 127
material libraries
about ................................................... 27
menus
7/7/05
581
N
NC
changing the file name ..................... 544
creating a program from a part file... 562
dialog box defaults ............................ 387
output defaults.................................. 389
NCI files
about ................................................. 561
nesting
tips and guidelines ............................ 522
toolpaths ........................................... 519
NetHASP
about ..................................................... 3
node points
creating ............................................. 190
note text
defaults................................................ 85
O
operation defaults (.DEFAULTS)
editing ............................................... 407
setting................................................ 406
operations
editing ............................................... 541
folder icons ....................................... 536
libraries ............................................... 27
post processing ................................. 562
using the insert arrow ....................... 423
verifying ............................................ 551
Operations Manager
about ................................................... 13
P
part orientation
R
ribbon bars
docking and undocking ...................... 19
navigating ........................................... 17
working with ....................................... 17
7/7/05
46
rightclick menus
using .................................................... 23
right-mouse button menu
customizing......................................... 58
rotary motion
control definition defaults ................ 398
Router
block drilling ..................................... 517
specialized toolpaths ........................ 468
toolpath types ................................... 516
running Mastercam................................... 2
S
safety zones
machine group properties ................ 437
screen display
changing............................................ 149
defaults................................................ 76
shading ................................................ 80
selection
examples ...................................130134
settings .............................................. 127
using General Selection ...................... 20
separators
adding to menus ................................. 59
adding to toolbars ............................... 59
removing from menus ........................ 60
removing from toolbars ...................... 60
sequence numbers
defaults.............................................. 389
shading
defaults................................................ 80
shortcut keys
about ................................................... 25
adding ................................................. 67
customizing......................................... 65
modifying ............................................ 67
removing assignments ........................ 68
SIM licensing
about ..................................................... 3
Sketcher
about ................................................... 21
using the toolbar ............................... 186
Solids
about ................................................... 35
defaults................................................ 81
primitives .......................................... 220
Solids Manager
about ................................................... 13
spline entities
creating ............................................. 217
creating automatically ...................... 218
creating from blend .......................... 220
creating from curves ......................... 220
creating manually ............................. 217
start / exit
defaults................................................ 89
Status bar
2D / 3D mode.................................... 146
about ................................................... 12
planes / views / WCS ........................ 155
stock setup
machine group properties ................ 434
subprograms
control definition defaults ................ 405
support and services ................................. 8
surfaces
toolpath types ................................... 471
T
terms and concepts................................. 11
text (post processor)
control definition defaults ................ 408
tolerances
control definition defaults ................ 384
setting system defaults........................ 72
tool axes (Lathe)
rotating.............................................. 179
tool planes
about ................................................. 152
tool settings
machine group properties ................ 430
tool tips
using.................................................... 15
toolbar states (.MTB)
about ................................................... 60
creating ............................................... 62
deleting ............................................... 63
loading ................................................ 63
toolbars
about ................................................... 14
adding ................................................. 49
adding drop-down menus .................. 56
adding functions ................................. 49
adding separators ............................... 59
customizing......................................... 46
7/7/05
583
U
Undo
using.................................................... 31
units of measure (metric / inch)
changing ........................................... 100
user applications
running ............................................... 39
V
verify
about ................................................... 97
operations ......................................... 551
running ............................................. 552
vertical turret lathes
setting views for ................................ 180
viewports
setting ............................................... 149
7/7/05
46
views
changing in a viewport...................... 150
changing origins................................ 165
creating by rotating........................... 168
creating from entities........................ 167
creating from normals ...................... 169
managing .......................................... 163
measuring origins ............................. 164
planes and coordinate systems......... 151
setting for vertical turret lathes......... 180
standard ............................................ 152
Status bar options ............................. 155
top ..................................................... 162
Tplane / Cplane (example) ............... 158
visual cues
dragging and dropping toolbars ......... 48
using AutoCursor .............................. 117
W
WCS
changing example .....................170176
example ............................................. 177
Status bar options ............................. 155
Tplanes .............................................. 176
views, planes, coordinate systems .... 151
work offsets
renumbering ..................................... 546
work system
control definition defaults ................ 392
workspace orientation ............................ 10
X
Xform
assigning entity attributes................. 238
transforming entities .......................... 36
using .................................................. 236
Z
Z depth
setting................................................ 146
Zip2Go
sharing files ....................................... 106
Zoom
using .................................................. 148
7/7/05