Giáo trình phay 2d mastercam nâng cao được soạn thảo chi tiết đầy đủ qua các bài tập từ đơn giản đến nâng cao, được lập trình đầy đủ các lệnh giúp chúng ta hiểu được và làm quen với từng dạng bài tập.
Trang 1IHS Mill 2D Advanced User
Trang 2Mastercam 2023 Professional Courseware - IHS Mill 2D Advanced User
Copyright: 1998 - 2023 In-House Solutions Inc All rights reserved
Disclaimer Of All Warranties And Liability
In-House Solutions Inc makes no warranties, either express or implied, with respect to thismanual or with respect to the software described in this manual, its quality, performance,merchantability, or fitness for any particular purpose In-House Solutions Inc manual is sold
or licensed "as is." The entire risk as to its quality and performance is with the buyer Shouldthe manual prove defective following its purchase, the buyer (and not In-House SolutionsInc., its distributer, or its retailer) assumes the entire cost of all necessary servicing, repair, ofcorrection and any incidental or consequential damages In no event will In-House SolutionsInc be liable for direct, indirect, or consequential damages resulting from any defect in themanual, even if In-House Solutions Inc has been advised of the possibility of such damages.Some jurisdictions do not allow the exclusion or limitation of implied warranties or liability forincidental or consequential damages, so the above limitation or exclusion may not apply toyou
Copyrights
This manual is protected under International copyright laws All rights are reserved Thisdocument may not, in whole or part, be copied, photographed, reproduced, translated orreduced to any electronic medium or machine readable form without prior consent, in writing,from In-House Solutions Inc
Trademarks
Mastercam is a registered trademark of CNC Software, Inc
Trang 3Table Of Contents
Trang 4Setup Sheets 60
Trang 5Step 1: Open The File 127
Trang 62D High Speed Toolpaths (HST) Information 207
6
Trang 72D HST Toolpaths 289
Trang 8Step 4: Rough Out The Part Using High Speed Dynamic Mill 363
8
Trang 9Toolpath Descriptions 449
Trang 10Step 6: Post Process The Toolpaths 521
10
Trang 11Step 1: Open The Solid 568
Trang 12Step 10: Save The File 639
12
Trang 13Mill 2D Advanced User Projects
n Mastercam User Interface
n Setting the Grid
n Installing MPMaster Post
Exercise 1: Customize Ribbon Bars Topics Covered
n You will create a new Tab and anew Group
n You will rename both the Tab andthe Group
n You will add the utilities functions tothe new Group
Exercise 2: Config Backup & Restore Topics Covered
n You will learn how to backup andrestore the config file
n You will learn how to backup andrestore the workspace file
Trang 14
Exercise 3: Customize Right Mouse
n Using Context Menu to add functions to theRight Mouse Menu
n Creating a Face Mill toolpath and set thedefault values and parameters
n Saving the toolpath defaults while creating atoolpath
n Using the Mill Default SET file, create a
Setup Sheet
14
Trang 15Exercise 6: Multiple WCS Topics Covered
n Using Dynamic Transform to move thecoordinate system to the part
n Using the gnomon from the graphics window
to define a new WCS, Cplane, Tplane andthe Origin
n Using Planes Manager to define a new WCS,Cplane and Tplane using Solid Face
n Create Viewsheets to be able to switchbetween the part views
n Create Toolpath Groups to organize thetoolpaths based on the setups
n Rename the NC Files to generate separateprograms for each setup
n Setup Sheets and Tool list
Exercise 7: Plane Creation & Indexing Topics Covered
n Import a STEP file
n Use Transform Rotate to rotate the part to beable to index it around the X-Axis
n Use Model Prep and Hole axis to createwireframe from a solid
n Use Planes Manager to define a new, Cplaneand Tplane using From geometry
n Machine the hole
n Use Planes Manager to define a new, Cplaneand Tplane using From entity normal
n Machine the hole
Exercise 8: Levels & Viewsheets Topics Covered
n How to create and use Levels to betterorganize the file geometry
n How to create and save Viewsheets
Trang 16Exercise 9: Advanced Drilling Toolpath Topics Covered
n Advanced Drilling toolpath to machine holeswith air segments between
n Advanced Drilling toolpath to machine deepholes using a gun drilling process
n Using the Classic Tool Manager to createnew tools and save them in a new library
n 2D HST Dynamic Geometry / boundaryselection rules
n Setting the 2D HST cut parameters
n Dynamic Milling Radial Chip Thinning versusDynamic Milling Power Cutting toolpaths
n Blend Milling
n Slot Milling
n Peel Milling
n Dynamic Rest Mill toolpaths
n Using imported solid model
n 2D HST Geometry / boundary selectionrules
n Setting the 2D HST cut parameters
n Dynamic Milling toolpaths
n Area Milling toolpaths
n Dynamic Rest Mill toolpaths
n Model Chamfer toolpath
16
Trang 17Exercise 12: Horizontal Machining Topics Covered
n Setup multiple stocks using Stock ModelToolpath
n Setup machining planes to program the part
on a HMC
n Machine the part using HS Dynamic andDrilling Toolpaths
n Transform - Rotate Toolpath
n 2D HS Dynamic Mill with Axis Substitution
n Contour with Axis Substitution
n Swarf Milling
n Drill the Holes -4 Axis output
n Setup a new plane
n 2D HS Dynamic Mill using Index about axis
X-n Transform - Rotate
n Setup a new plane
n Contour Indexing using Planes
n Transform - Rotate
n Know common 3D machining definitions
n Understand the importance of surface dataintegrity
n Know how to prepare a surface model formachining, including the use of toolcontainment boundaries
n Know how to generate one surface, whenpossible using splines as wireframe
n Be able to successfully select and use allMastercam Legacy Surface Roughing andFinishing functions
Trang 18Exercise 15: OptiRough Toolpath Topics Covered
n 3D High Speed Dynamic OptiRoughparameter settings options
n 2D High Speed Area Mill and AdvancedRegions selection
n Trimming a Face toolpath, used to machine
a rectangular shape out of a cylinder, using
a circle created in a different plane
Exercise 17: Wireframe Toolpaths Topics Covered
n Create Curves at All Edges of a surface
n Create a Curve Constant Parameter
n Creating a Swept 2D Toolpath tomachine a fillet
n Create a Stock model with additionaloffset
n Create a Ruled Toolpath to machine ashape defined by two chains
Trang 19Exercise 19: Align to Plane & To Face Topics Covered
n Align To Plane
n Align To Face
n Understanding Toolpaths ManagerControllers
n Quick changes in the Toolpaths Managersuch as update a toolpath, change order ofoperation, renumber tools, change NC filename
n Import toolpaths from an existing job
n Export operations to a library
n Import operations from a library
Exercise 21: Undercut & Custom Tool Topics Covered
n Create a Custom tool
n 2D Contour toolpath to machine an undercut
n Using the Classic Tool Manager to createnew tools and save them in a new library
Trang 20Getting Started
20
Trang 21WHO THIS BOOK IS FOR:
This book is the third book in the three part series designed to help you to prepare for the Professional LevelMastercam Certification test
Advanced Mill 2D is dedicated to the power user You will learn how to machine an imported solid modelusing the WCS for multiple setups To better organize the parts, you will master how to use levels and viewsheets
You will practice indexing a 4-axis part using the tool planes defined in the Plane Manager Fixtures will beused and the part will be align to their faces You will learn how to save operations to a library and how toimport them for different parts
You will learn how to use the Classic Tool Manager to create new tools and save them into a new library.You will also create tools by importing their STEP geometry from a tool manufacturer
The difference between the two types of Dynamic High Speed Machining: Dynamic Mill Radial Chip
Thinning (RCT) and Dynamic Motion Power Cutting with be explained in detail
You will learn how to program Horizontal centers which are better suited for larger, boxy workpieces
Mastercam uses the planes to machine a part on a Horizontal Machining Center and to determine the tableindexing angles
A brief introduction to the basic 3D machining that can be used in a Mill product will be also covered You willlearn how to alter the wireframe to generate one surface using Revolve and Loft/Ruled surfaces
Solids manipulations using Model Prep functions is also covered You will use Split Solid Faces command tosplit a solid face using Project and Flowlines options The student will learn how to use Push/Pull command
to change the height of the split areas You will be using Move command to rotate parts of the solid
You will also learn how to add an inner shoulder using Push/Pull command The student will also use
Push/Pull command to create fillets
You will learn how to set a solid body, that represents the part to be machined, into the fixtures using Align toPlane and Align to Face
An introduction to Nesting in Mastercam that allows you to fit parts onto a sheet of material for best yield willalso be provided You will learn how to apply the nesting options on geometry or toolpaths
A more in depth description of the Toolpaths Manager panel is provided in this book A detailed explanation
of the Toolpath Manager Control dialog box and of its right mouse menu is also included
PROGRAMMING TECHNIQUES USED IN EXAMPLES:
The example exercises in this book can be programmed in an infinite number of ways In fact, any twoprogrammers would likely approach each part a different way and probably use different tools or toolpaths.For the exercises in this book, we used settings that were the personal preference or that came from theexperience of multiple Mastercam authorized instructors All of the examples and exercises have optionsthat can be set or changed to suit your experiences or company standards
We chose one method rather than clutter the book with all of the possible options and disrupting the
workflow of the exercises Utilize the Mastercam Help that is accessible from most dialog boxes wheneveryou need more information about options
Getting Started
Trang 22Getting Started Mastercam® User Interface:
MASTERCAM® USER INTERFACE:
Mastercam is a completely graphic programming interface that includes built in CAD tools You will find theinterface to be very streamlined and easy to access all of the toolpath generating commands There areseveral places you need to know to access all of the Mastercam commands The locations for the Mastercamcommands and tools are shown in the screen display below
Quick Access Toolbar Quick Access Toolbar (QAT) allows you to quickly access the most
commonly used functions.
Ribbon Tabs Access to all Mastercam commands, features and functions.
Expanded Gallery and Tooltips Additional icons to start toolpaths and hints on the toolpath.
General Selection Bar Used to access AutoCursor settings and selection options.
Mini Toolbar Quick access to attributes.
Right Mouse Click Menu Quick access to commands relevant to the graphics view and analyze
commands.
Quick Mask Toolbar Used to control entity masking for easier selection.
Mastercam Toolpaths Manager
This is where all toolpath operations you create are stored They can be accessed here for editing the Parameters, Tools, and the Geometry of the toolpaths.
Toolpaths Manager Right
Mouse Click Menu Special commands for working with the operations you have created.
Managers Tabs Tabs to control which panel is displayed in the Manager panel.
Status bar Displays the current WCS, Tool and Construction plane info and current
cursor location and also displays the Section View.
22
Trang 23SETTING THE GRID
Before starting the geometry enable theGrid It will show you where the origin of the part is
n Select the OK button to exit.
n Select the Yes button to save the settings
in the System Configuration.
n To see the Grid in the graphics window,
from the View ribbon enable Show Grid
as shown
CONVENTIONS USED IN THIS BOOK:
We have attempted to make this manual as uncluttered as possible and provide you with reference
information when it is appropriate It is not intended to be a Reference Guide or all-encompassing usermanual
The text styles used are the followings:
Bold Text - Represents menu commands, dialog box settings or other similar items from the screen
Standard Text - Represents normal wording needed to provide you the instruction
STEP 1: STEP TITLES
1.1 Sub step titles
Information about the current step or terms or parameter definitions describing the parameters and
description
Note: Represents information about the process step that is important or may require an explanation.
n Bulleted text is step by step instructions that have to be followed
Trang 24Getting Started Installing MPMASTER Post
TUTORIALS FILES:
The training files are available for download at http://www.emastercam.com/files/
INSTALLING MPMASTER POST
In this book you are going to use Mpmaster which is based on CNC Software's master mill post - Mpfan - butoffers additional features This is a 4-axis G-code post that contains Rotary settings that are configured in theMachine Definition
Download the following files from emastercam.com/files
n MPMASTER_VERTICAL.mcam-mmd
n MPMASTER_HORIZONTAL.mcam-mmd
n MPMASTER.mcam-control
n MPMASTER.pst
Save the files at a preferred location such as Desktop
Copy MPMASTER_VERTICAL.mcam-mmd, MPMASTER_HORIZONTAL.mcam-mmd and
MPMASTER.mcam-control to this location on your computer:
C:\Users\Public\Public Documents\Shared Mcam2023\CNC_MACHINES
Copy MPMASTER.pst to this location on your computer:
C:\Users\Public\Public Documents\Shared Mcam2023\mill\Posts
24
Trang 25Customize Ribbon Bars
Trang 26Mastercam allows you to customize the Quick Access Toolbar, Ribbon tabs, drop-down menus, and RMBmenus using the Customize Ribbon and the Context Menu dialog boxes You can Add and Remove
functions from the toolbar or you can Reset the toolbar to the original functions that the Mastercam
installation provides The ability to customize Mastercam is a powerful tool for improving productivity Forexample, you can customize the workspace for different machine tools so only options relevant to thatmachine are displayed
In this lesson you will learn how to create a Support ribbon that contains utilities that help you gathering andsending the information to the technical support team
The new Support Ribbon tab will be added after the View tab and will contain the following utilities:
n Open U ser Folder w hich contains the configuration files.
n Open Shared Folder w hich contains the machine definition and the post
n Zip2Go w hich allow s you to zip the Mastercam file currently open as w ell as the
machine groups in your current file It also captures certain information such as yourMastercam configuration, machine definition, post files, tool and material libraries, etc
To summarize:
n You will create a new Tab and a new Group
n You will rename both the Tab and the Group
n You will add the utilities functions to the new Group
26
Trang 27Customize Ribbon Bars Create A New Tab
CREATE A NEW TAB
Creating a new tab allows you to add new commands to the Ribbon bars In this step you will learn how to create a
Support ribbon that contains utilities functions useful to send information to Mastercam tech support.
To access the Options dialog box you can either select:
Trang 28n Click on the View to
select the location to
add the new tab
n Select New Tab
button
n A New tab and a New
group will be created
after the View tab as
shown
28
Trang 29Customize Ribbon Bars Create A New Tab
n Select the Rename button.
n Type "Support" as shown
n Select the OK button to
continue
n Click on the New Tab
(Custom) to select it.
n Select the Rename button
and enter Support
n Select the OK button to
continue
n The rename tab and group should look as shown
Trang 30n In the Choose commands from scroll down and select Open Share Folder.
n Select the Support (Custom) group in the Main Tabs Click on the Add button as shown.
30
Trang 31Customize Ribbon Bars Create A New Tab
n The Open Share Folder will be added as shown.
n Following the same procedure add Open User Folder.
n The Support (Custom) group should look as shown
Trang 32n In the Choose commands
from, click on the drop
arrow and select File Tab
from the list
n Scroll down and select
Zip2Go as shown.
n Select the Add button to
add the utility to the Support
(Custom) group
n The Support (Custom) tab and group should look as shown
n Select OK to exit the Options dialog box.
n In Mastercam interface the new tab should appear after the View tab as shown.
n Click on the Support tab to see all the utilities functions that were added to it.
n If you want to create another group that contains, for example, the toolpaths that you often use, follow
the same method and create a new group by selecting New Group.
SUMMARY:
In this lesson, you learned how to use Customize Ribbon to create a new ribbon with functions that are
important to you
After completing this tutorial you should be able to create a new ribbon by:
n Creating a new Tab and a new Group
n Renaming both the Tab and the Group
n Adding utilities functions to the new Group
32
Trang 33Configuration Backup & Restore
Trang 34In this lesson you will learn how to backup the System Configuration files that contain all the information
about your Mastercam Attributes such as Colors and Line width, as well as the interface Background color
that you want to use In the System Configuration dialog box, you can also review and set Mastercam
start up default values
Mastercam settings are stored in a configuration file (*.config), which typically resides in a CONFIG
directory under the main Mastercam directory When you restart Mastercam or initialize operations (forexample, open a new file), Mastercam restores the default settings that have been saved in the Mastercamconfiguration file
There are two standard configuration files one for inch and one for metric units
Another important file that needs to be backed up is the Workspace file, Mastercam.Workspace, which
contains all the information about the interface such as your custom Ribbon bars You can have multipleconfiguration files but only one Workspace file The keymap information about your shortcuts key to navigateMastercam is also stored here
To summarize:
n You will learn how to backup and restore the config file
n You will learn how to backup and restore the workspace file
34
Trang 35Configuration Backup & Restore Setup Mastercam Interface
SETUP MASTERCAM INTERFACE
In this step you will use the interface with the new Support ribbon that contains utilities functions useful to send information to Mastercam tech support You will also change the background color to white and set the wireframe line thickness to the third one from the top.
1 Set the Background color in the System Configuration
File
n From the Backstage list, select Configuration as shown.
Trang 36n In the System Configuration dialog box, select Colors and Background (gradient start).
n Change the color to white as
shown
2 Set the Grid
n InGrid Settings, change theSpacingtoX = 0.25 and Y = 0.25.
n Set theSize to 1.0.
n Select the OK button to exit the System Configuration.
36
Trang 37Configuration Backup & Restore Setup Mastercam Interface
n Select the Yes button to save all the current
setting to configuration file
n To see theGridin the
graphics window, from the
Viewtab, enableShow
Gridas shown
3 Custom new Ribbon
The interface should have the custom Support ribbon, that you created in a previous lesson
4 Set New Attributes
n In the Home ribbon, Attributes group, change the Line
thickness to the third one from the top as shown.
n In the Home ribbon, Attributes group, change the Wireframe color
to blue as shown
Trang 38Mastercam interface should look as shown.
5 Create a Config Backup Folder
n Create on the Desktop (or wherever you want) a folder named Config Backup
6 Cut and Paste the files from the Config folder to Config Backup folder
n To quick open the Config folder that contains the three files that you need to backup, in the Support ribbon, select Open User Folder as shown.
38
Trang 39Configuration Backup & Restore Setup Mastercam Interface
n The Mastercam folder
will be open as shown
n Double click on the
CONFIG folder to open
it
n Close Mastercam
Note: The path to the files if you want to find them from Windows Explorer is:
C:\Users\Your Name\Documents\My Mastercam 2023\Mastercam\CONFIG
n Hold down the Ctr key select the three files as shown.
n The files should be listed in the Config folder as shown
n Press Ctrl + X to cut them.
Note: Because the files are deleted from the Config folder, when you relaunched Mastercam again, the
system automatically recreates them as they were originally on Mastercam installation version
Trang 407 Paste the files in the Config Backup folder that you created.
n Open the folder and Ctrl +V
to paste the files
8 Open Mastercam
n Relaunch Mastercam 2023.
n The interface should look as the installation Mastercam version as shown
Note:The Support Custom ribbon is gone, the Background color is back to the standard, the Attributes
are also back to the original installation attributes
40