Giáo trình mastercam 2023 phay 3d được soạn thỏa đầy đủ và nhiều bài tập từ cơ bản tới nâng cao , từ các khối cơ bản và gia công các mặt cong 3d phức tạp, giáo trình được soạn thảo chi tiết từ thiết kế sản phẩm tới lập trình gia công tạo ra sản phẩm.
Trang 1Professional Courseware
Mill 3D
Trang 2Mastercam 2023 Professional Courseware - Mill 3D
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 distributor, 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
Microsoft, the Microsoft logo, MS, and MS-DOS are registered trademarks of MicrosoftCorporation;
Trang 3Table Of Contents
Trang 4Step 6: Create The Circle At 120 Plane 64
Trang 5Step 21: Solid Extrude Add Boss 82Step 22: Solid Extrude Cut Through The 0.15" Diameter Holes 82
Trang 6Step 46: Create The 1/2" Circle 94
Step 56: Create Two Ruled Surfaces That Will Be Used To Project The Chains 101
Step 59: Repeat The Steps To Project The Top Plane Chain 102
Trang 73D High Speed Toolpath Process 115
Step 3: Create The Wireframe Of The Surfacing Drawing #2 Or Open The File 171
Trang 8Draft Surfaces 174
Step 3: Rough Out The Part Using 3D High Speed OptiRough 185
Step 4: Finish The Part Using 3D High Speed Equal Scallop 189
Step 2: Use The Translate Command To Create Another Copy Of The Wireframe 203
Trang 9Create A Loft Surface 205
Trang 10Step 4: Finish The Top Avoiding The Arrow Shape 245
Step 3: Create A Swept Solid By Sweeping An Across Contour Along An Along Contour 283
Trang 11Fence Surfaces 294
Trang 12Step 7: Create Two Surface Blend 338
Trang 13Toolpaths Used 384
Step 2: Create A Stock Model Toolpath To Be Used In A Toolpath 389
Step 5: Finish The Rest Of The Part Using Surface Finish Waterline 397
Step 8: Finish The Rest Of The Pockets - Transform Rotate 404
Trang 14Setup #3 434
Step 5: Compare The Verify Part (Radial) Against A Model 463
Trang 15Toolpath Used 486
Step 2: Review Of The Surface High Speed OptiRough Toolpath 511
Step 5: Review Of The Compare Function In Verify To Compare The Toolpath With The Model 514
Trang 16Use Dynamic Transform To Rotate The Part 526
Trang 17Mill 3D Projects
Workspace: Getting Started Topics Covered
n Graphical User Interface (GUI)
n Setting Mastercam Unit
n Setting the Grid
n Setting the Attributes
n Right Mouse Menu
n Planes & Coordinate System
n Mastercam Work flow
n 3D Toolpath Descriptions
Exercise 1: About Planes &Views Topics Covered
n Setting predefined planes and views
n Creating new planes using: FromGeometry, Dynamic & From EntityNormal
n Setting the construction planes atdifferent Z depths
Exercise 2: 3D Wireframe &Solid Topics Covered
n Create 3D Wireframe
n Create solids using extrude, trim byplane commands
n Create Curve One Edge
n Create Curve All Edges
n Create Curve At Intersection
Trang 18Exercise 3: Pocket & Area Roughing Topics Covered
n Surface Rough Pocket
n 3D High Speed Area Roughing (core shape)
n Surface Finish Contour
n 3D High Speed Waterline
n 3D High Speed Scallop
n 3D High Speed Pencil
Exercise 4: Geometrical Surfaces Topics Covered
n Creating Revolved surfaces
n Creating Revolved solids
n Creating Draft surfaces
n Creating Flat boundary surfaces
n Creating Primitive surfaces or solids
Exercise 5: Equal Scallop With Curves Topics Covered
n 3D High Speed Equal Scallop
n 3D High Speed Equal Scallop Step-In
Trang 19Exercise 6: Free Form Surfaces Part 1 Topics Covered
n Create Ruled/ Lofted surfaces
n Create Net surfaces
n Create Power surfaces
n Create solids using Trim to Surface/Sheetcommand
Exercise 7: OptiRough, Raster & Project Topics Covered
n 3D High Speed Dynamic OptiRough
n 2D High Speed Dynamic
n 2D High Speed Contour
n 2D Contour
n 3D High Speed Raster
n 3D High Speed Project
Exercise 8: Free Form Surfaces Part 2 Topics Covered
n Create sweep surfaces
n Create solid sweep
n Create fence surfaces
Trang 20Exercise 9: OptiRough, Hybrid & Scallop Topics Covered
n 3D High Speed Dynamic OptiRough forcavities
n 3D High Speed Dynamic OptiRough - RestMaterial
n Stock Model
n 3D High Speed Hybrid
Exercise 10: Derived Surfaces Topics Covered
Exercise 11: Waterline Critical Depths Topics Covered
n 3D High Speed Waterline Critical Depths
Trang 21Exercise 12: OptiRough Undercut Stock Topics Covered
n Review 3D High Speed Equal Scallop
Exercise 13: Spiral & Hybrid Topics Covered
n Stock model
n Modify Feature
n 3D High Speed Dynamic OptiRough - RestMaterial
n 3D High Speed Spiral
n 3D High Speed Waterline
n 3D High Speed Dynamic OptiRough - OnePocket
n 3D High Speed Hybrid - One Pocket
n Transform Rotate
Exercise 14: 3D High Speed Blend Topics Covered
n Review 3D High Speed OptiRough
n 3D High Speed Raster
n 3D High Speed Blend
n Multiple Setups
n Review 3D High Speed Area Rest Roughing
n 3D High Speed Equal Scallop
n Contour
Trang 22Exercise 15: Surface Finish & Compare Topics Covered
n Reflow UV
n Surface Finish Flowline
n 3D High Speed Finish Radial
n 3D High Speed Blend
n Compare to the model
Exercise 16: Plunge, Raster, Pencil & Project Topics Covered
n Surface Rough Plunge
n 3D High Speed Raster
n 3D High Speed Project Curves(Engraving)
n 3D High Speed Project NCI (Toolpaths)
Exercise 17: Index & Rest Material Topics Covered
Trang 23Exercise 18: Machine CAD Files Topics Covered
STEP file
n 3D High Speed Dynamic OptiRough
n 3D High Speed Horizontal
n 3D High Speed Pencil
n 3D High Speed Raster
SolidWorks file
n 3D High Speed Area Roughing
n 3D High Speed Horizontal
n 3D High Speed Pencil
n 3D High Speed Raster
Exercise 19: Model Prep & Toolpaths Topics Covered
n Modify Solid Feature
n Remove Solid Fillet
n Move
n Push-Pull
n 3D High Speed Dynamic OptiRough
n 3D High Speed Dynamic OptiRest
n 3D High Speed Waterline
Trang 24Getting Started
Trang 25INTRODUCTION “WHAT IS “MASTERCAM“?
Mastercam® is the world’s most widely-used CAM software from CNC Software, Inc
Machine tool programmers can program parts graphically in Mastercam, using the innovative, time tested,proven toolpaths and machining strategies preferred the most by shops around the world This book is astep-by-step “hands-on” book of examples to have you programming quickly without knowing NC Machineprogramming languages
WHO THIS BOOK IS FOR:
This book is for the machine tool programming student who wants to learn how to program 3D model partsusing Mastercam
This book covers Mastercam Mill (3D toolpaths) and assumes you already are able to draw and to machine2D model parts using Mastercam programming This book also assumes that the student using this book isfamiliar with machining processes, tools and how Numerical Control (NC) machines operate This book isintended to teach you how to get your job done using Mastercam
PROGRAMMING TECHNIQUES USED IN EXAMPLES:
The example exercises in this book can be programmed an infinite number of ways In fact, any two
programmers 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 options thatcan be set or changed to suit your experiences or company standards
We chose some time different methods to compare the toolpaths Utilize the Mastercam Help that is
accessible from most dialog boxes whenever you need more information about options
Trang 26Getting Started The Mastercam® User Interface
THE 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 quick access the most common
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 Toolpath Manager
This is where all toolpath operations you create are stored They can
be accessed here for editing the Parameters, Tools, and theGeometry of the toolpaths
Toolpath 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.
Trang 27SETTING THE GRID
Before starting the geometry enable theGrid It will show you where the origin of the part is
n Select theOK button to exit
n Select theYesbutton to save the
settings in theSystem
Configuration
n To see theGridin the
graphics window, from
theViewribbon enable
Show Gridas shown
n TheGridshould look as
shown
Trang 28Getting Started Attributes, Groups And Mini Toolbar
ATTRIBUTES, GROUPS AND MINI TOOLBAR
The Home tab Attributes and Organize groups or the Mini Toolbar allows you to set the attributes (color, level,
style and width) and Z depth currently used.
TheHometab with the
AttributesandOrganize
groups should look as shown
Example of the defaultMini Toolbar
Point Style Sets the display of points The box or circle point styles are especially useful
when working with 3D Drawings.
Line Style Line style, such as solid, hidden, or phantom
Line Width Line width and surface UV line width.
Wireframe, Solids & Surface Color
You can choose to set or change the Wireframe color, the Solids color and the Surface color Colors help organize and simplify the drawing Up to 256 colors are available Select from the color dialog box by clicking on the colored area The number inside the box represents the color palette number.
Clear Colors
Removes the group and result colors from affected entities and from the database When performing a transform function, Mastercam creates a temporary group from the originals (red) and a result (purple) group from the transformed entities However, the groups stay in effect only until you use the Screen, Clear Colors function or perform another transform function.
Select All Changes multiple attributes.
Set from entity Allows you to select an existing entity and sets the current attributes based
on the entity attributes.
2D/3D Mode 2D or 3D drawing mode Determines whether Z-inputs are from the
Working Depth field or from mouse
Change Level Change the level of the selected entities.
Set Material Displays and sets the material for selected objects.
Trang 29Example Of Setting The Current Wireframe Color
n First, make sure that no entities are selected in
the graphics window
n Right mouse click to open theMini Toolbarand
click on the drop down arrow next to the
Wireframecolor as shown
n Select the desired color from the dialog box as shown
Note: Any geometry on your screen will remain in the previous system
color This change will only affect the geometry you create going forward
Example Of Changing The Current Wireframe Color
n To change the color or any other attribute of a
pre-existing entity you first need to select the entities that
have to be changed
n Right mouse click to open theMini Toolbarand click on
the drop down arrow next to theWireframecolor as
shown
Trang 30Getting Started Data Entry Shortcuts
n Select the desired color from the dialog box as shown
DATA ENTRY SHORTCUTS
Mastercam lets you use several shortcuts to enter information into text boxes when creating geometry.These shortcuts let you get data from an existing entity and use it when creating new geometry
The shortcuts are as follows:
D Use "D" to input an existing diameter
L Use "L" to input an existing line length.
R Use "R" to input an existing radius.
S Use "S" to input the distance between two existing points.
X Use "X" to input an existing X coordinate.
Y Use "Y" to input an existing Y coordinate.
Z Use "Z" to input an existing Z coordinate
To Use A Shortcut
n Type a letter (from the list above) instead of a value into the text box
n PressEnter Mastercam prompts you to select the existing entity from which you want to get the data
n Select the entity you want to use
n Mastercam displays the data it gets from the existing entity
n PressEnterto accept the data Type a different value and pressEnter
n Mastercam uses the data from the existing entity in creating the new entity
Data Entry Shortcut Example
This example uses the "L" data entry shortcut to create a line
Create a line withEndpointsof0,0,0and3,0,0
This will be the existing line from which you get data by using "L"
n Select theWireframetab and click on theLine Endpointsicon
n Select theOriginas the first lineEndpoint
n Set45as the angle of the line and pressEnter
n Type "L" to activate theLengthfield and then highlight the existing value and type "L" in the field andpressEnteragain
n Mastercam prompts you to select an existing line
n Select the existing line
Trang 31THE RIGHT MOUSE CLICK MENU
Zoom Window
Magnifies a portion of the graphics window When you use this function, Mastercam prompts you to draw a rectangular window around the portion of the graphics area that you want to magnify.
Unzoom 80% Reduces the size of the displayed geometry to 80% of its current size
Dynamic Rotation
Lets you dynamically rotate entities in the graphics window around a selected point or position When you choose this function from the menu or toolbar, you first select an Endpoint, Point, or a position in space, and then move the mouse to rotate entities around the selected point Mouse click when the drawing is in the desired position.
Fit Fit screen maximizes your view of visible geometry in the graphics window.
Top Sets the graphics view to the top view.
Front Sets the graphics view to the front view.
Right Sets the graphics view to the right view.
Isometric Sets the graphics view to an isometric view
Gview Allows you to set the graphics view from Back, Left, Bottom, Isometric Reverse or
Trimetric.
Delete Entities Erases the selected entities.
Analyze Distances Analyzes the distance between two points.
Analyze Entity Analyzes and allows you to edit selected entity lengths, angles, positions and attributes.
Trang 32Getting Started AutoCursor
AUTOCURSOR
Allows the user to select Endpoints, Midpoints, Arc Center Points or various other entity points
Mastercam prompts you to enter a point To select a point move the cursor over the geometry on the
screen A little square will appear on the screen and a corresponding cursor icon will be displayed
AutoCursoroptions are available each time Mastercam prompts you to enter a point You can select tooverride theAutoCursoror to set the defaults from theGeneral Selection Bar
Note: You can set the AutoCursor defaults This will determine which entities are shown when your
cursor hovers near by
Trang 34Getting Started Planes & The Coordinate Systems
PLANES & THE COORDINATE SYSTEMS
Mastercam uses a 3D Cartesian coordinate system to locate your work in three-dimensional space Thismeans that geometry and toolpath positions are expressed in terms of three coordinate axes - X, Y, and Z.Each axis is signed, which means that it has a positive and a negative direction
The main tool for applying coordinate systems in Mastercam is the plane A plane consists of two mainparts: a slice through the coordinate system and an origin, or zero point
TheConstruction Plane (Cplane)is the plane in which new geometry is created
TheTool Plane (Tplane)is the cutting plane for a toolpath, typically normal to the tool axis
TheWork Coordinate System (WCS)lets you move the coordinate system to your part geometry instead ofmoving or transforming the part geometry Think of theWCSview as defining the "Top plane" relative toyour part
There are 9 standard Graphics Views or Planes in Mastercam
Trang 35MASTERCAM® PARAMETER DIALOG BOXES
When you begin creating toolpaths with Mastercam® you will be required to supply information so you cancreate the toolpath exactly the way you want it Mastercam® utilizes a tree-style dialog box interface that ismade up of several distinct areas as shown
Tree View Area Displays a list of all of the available dialog box pages.
Page View Area Changes with each new Tree Menu item selected Each page has selections
to be made.
Quick View Settings Area Shows a quick summary of key selections you have made on various pages.
Confirmation Area Area to Accept and Close, Cancel, Apply or get Help about the displayed
page.
Trang 36Getting Started Mastercam® Work Flow:
MASTERCAM® WORK FLOW:
The process to generate a toolpath will be repeated over and over through the tutorials in this book You willfind the process simple and straightforward once you have programmed a few parts Following is an outline
of the process we will follow to create programs:
1 Create the Geometry or Open the Mastercam file and
select the Machine if it is different than Default
2 Transform the Geometry if needed, identify the
plane and locate the origin where you want it
3 Select the machine
4 Define the stock size that your part will be cut
from and set tool information
Trang 375 Select a toolpath operation
type such as OptiRough
6 Select the surfaces or the
solid faces of the part you will
machine with the selected
operation using geometry
selection tools
7 Select the surfaces or the
solid faces of the part you
want to avoid during the
toolpath
8 Select a containment boundary or
allow the software to include a
silhouette boundary if available in the
toolpath if needed
Trang 38Getting Started Mastercam® Work Flow:
9 Select the tool and set the Feed
rate, Plunge rate and Spindle speed
10 Fill in the necessary information on
the Parameters pages of the dialog box
that appears for the toolpath type you
choose
11 Verify the toolpath on your computer screen
to confirm the results are as you expected,
using Backplot and/or Solid Verify
Trang 3912 Make any changes
as required by
changing parameters
13 Regenerate the “Dirty” operation to update the parameter
changes
Or make sure that Generate toolpath is enabled in the parameters
14 Verify again to make sure
the toolpath is correct
Trang 40Getting Started Mastercam® Work Flow:
14 Post the selected operation
15 TheCode Expert
will appear with the
G-code You can
transfer the G-code
file to the machine