Mill Tutorial
Mill Tutorial
Mill Tutorial
Mill Tutorial
SOLIDWORKS CAM
2019
Copyright
© 1995-2017, Dassault Systemes SolidWorks Corporation, a Dassault Systèmes SE company, 175 Wyman
Street, Waltham, Mass. 02451 USA. All Rights Reserved.
Disclaimers
The information and the software application discussed in this document are subject to change without prior
notice and are not commitments by Dassault Systemes SolidWorks Corporation (DS SolidWorks).
No material may be reproduced or transmitted in any form or by any means, electronically or manually, for any
purpose without the express written permission of DS SolidWorks.
The software discussed in this document is furnished under a license and may be used or copied only in
accordance with the terms of the license. All warranties given by DS SolidWorks as to the software and
documentation are set forth in the license agreement, and nothing stated in, or implied by, this document or its
contents shall be considered or deemed a modification or amendment of any terms, including warranties, in the
license agreement.
Trademarks
SOLIDWORKS, 3D ContentCentral, 3D PartStream.NET, eDrawings, and the eDrawings logo are registered
trademarks and FeatureManager is a jointly owned registered trademark of DS SolidWorks.
CircuitWorks, FloXpress, PhotoView 360, and TolAnalyst are trademarks of DS SolidWorks.
FeatureWorks is a registered trademark of Geometric Americas, Inc.
Adobe, the Adobe logo, Acrobat, the Adobe PDF logo, Distiller and Reader are registered trademarks or
trademarks of Adobe Systems Inc. in the U.S. and other countries.
Other brand or product names are trademarks or registered trademarks of their respective holders.
Table of Contents
Table of Contents 3
Mill Tutorial
4 Table of Contents
Mill Tutorial
Combining Operations..................................................................................................87
Changing Tool Parameters and Generating Toolpath ..................................................88
Simulate Toolpath and Post Process ............................................................................89
2 Axis Mill 6............................................................................................................................90
Opening the Part ...........................................................................................................90
Defining Stock ..............................................................................................................91
Defining Fixture Coordinate System of the Mill machine ...........................................91
Automatic Feature Recognition Settings ......................................................................92
Extracting Machinable Features ...................................................................................93
Renaming Mill Part Setups ...........................................................................................93
Rearranging features using Drag and Drop Functionality ...........................................93
Generating Operations ..................................................................................................94
Defining Avoid Areas for Clamps ................................................................................94
Copying Avoid Areas from one Operation to another .................................................95
Modifying Operation Parameters before Generating Toolpaths ..................................96
Generating Toolpaths .................................................................................................101
Simulating Toolpaths..................................................................................................101
Customizing Toolpaths ...............................................................................................101
2 Axis Mill 7..........................................................................................................................104
Opening the Part and Recognizing Features Automatically ......................................104
Defining Features Interactively ..................................................................................105
Inserting Engrave Features .........................................................................................107
Generating an Operation Plan and Adjusting Operation Parameters .........................107
Associating Machining Information after Design Changes .......................................110
Simulation Toolpath ...................................................................................................113
Changing the color of Simulation Toolpath operations .............................................114
2 Axis Mill 8..........................................................................................................................115
Step 1: Opening the Part and Defining the Machine and Stock .................................115
Step 2: Extracting Machinable Features and Generating Operations ........................115
Step 3: Specifying a Tool Overlap on Open Air Segments ........................................116
Step 4: Using an Avoid Area ......................................................................................117
Step 5: Defining Rapid and Clearance Planes ............................................................118
2 Axis Mill 9..........................................................................................................................121
Open the Part and Defining the Machine and Stock ..................................................121
Defining Features Interactively ..................................................................................121
Creating a Pattern Feature ..........................................................................................123
Inserting a Pattern Feature (Linear Pattern) .............................................................. 123
Inserting a Pattern Feature using a sketch (Sketch-driven Pattern) .......................... 125
2 Axis Mill 10........................................................................................................................126
Open the Part and Defining the Machine and Stock ..................................................126
Defining Features Interactively ..................................................................................126
Define the 2.5 Axis feature for the circular pattern .................................................. 127
Creating a Pattern Feature ..........................................................................................128
Table of Contents 5
Mill Tutorial
6 Table of Contents
Mill Tutorial
This chapter provides an opportunity to learn 2 Axis Mill through a step by step hands-on
tour of the features and functions.
The exercises in this chapter are intended to show you how to use SOLIDWORKS CAM
and may not correspond to actual machining practices.
The exercise parts are installed when you install SOLIDWORKS CAM and are in the
\SOLIDWORKS\SOLIDWORKS 201x\CAM Examples\Tutorial_Parts\Mill folder.
(Typical Location: C:\Users\Public\Public Documents\SOLIDWORKS\SOLIDWORKS
201x\CAM Examples\Tutorial_Parts\Mill).
The following series of exercises show you how to generate finish toolpaths on a
SOLIDWORKS part model.
In order to give you a general understanding of how to use SOLIDWORKS CAM, you
will work with a part that was previously modeled in SOLIDWORKS. When you define
the operations and toolpaths, you will follow steps and instructions. These steps and
instructions are brief in nature in order to show you the basics of generating toolpaths
from start to finish without getting into the details at this time. In case you wish to have
deeper understanding of the functionalities within SOLIDWORKS CAM, we recommend
that you refer to SOLIDWORKS CAM Context-based Help. This context-sensitive
Help is displayed when you click on the Help button of the various dialog boxes or User
Interfaces within the application.
2 Axis Mill 1
Topics covered in this tutorial:
Steps to Generate Mill Toolpaths and NC Code in Part Mode
The following steps are used to generate Mill toolpaths and NC code:
1. Model the part or open the part file in SOLIDWORKS.
2. Click on the SOLIDWORKS CAM Feature tree.
3. Define the Machine and modify the controller parameters.
4. Define the stock.
5. Define machinable features.
6. Generate the operation plan and adjust operation parameters.
7. Generate toolpaths.
8. Simulate material removal.
9. Post process the toolpaths.
START
Simulate toolpaths
Generate toolpaths
Model part in
SOLIDWORKS/import part
Adjust operation No
parameters as needed Are
Change to SOLIDWORKS toolpaths
CAM Feature tree correct?
END
If the SOLIDWORKS CAM tabs [ , , ] are not visible, you can expand the size
of the tree. Position the cursor on the line that divides the tree area from the graphics
area. When the cursor changes to a bar, drag the bar to the right until the tabs display.
Tabs for SOLIDWORKS SOLIDWORKS CAM Feature Line that divides the tree from the
Trees Tree tab graphics area
Graphics area
Configurations
Multiple SOLIDWORKS CAM datasets are supported. Each dataset is called a
configuration. You can use configurations to support multiple machines and
SOLIDWORKS configurations.
Stock Manager
The stock is the material from which the part will be machined. If the Machine type
chosen is Mill, you can define the stock as a rectangular shape (bounding box) or an
extruded sketch or an STL file. You can also specify the type of material.
Machine
The Machine item defines the machine tool that the part will be machined on. The
machine definition includes the type of machine (e.g.: Mill, Turn,), Tool definitions
and the Post processor. The machines are set up in the Technology Database.
Recycle Bin
The Recycle Bin in the SOLIDWORKS CAM Feature tree is used to store
machinable features that you do not intend to machine.
The Machine dialog box displays the Machine tab. The default machine is specified in
the Technology Database. Machine [Mill–Metric] is the default machine used for the
metric parts in this manual. When you use SOLIDWORKS CAM to machine your
own parts, select the machine tool you want to use to machine the part.
Machine tools are set up in the Technology Database. Before using SOLIDWORKS
CAM to machine your parts, make sure you define the machine tools available in your
facility. For more information, refer the PDF manual “Technology Database
Tutorial”.
2. In the Available machines list,
highlight Mill–Metric and click
the Select button.
3. Click the Tool crib tab and make
sure Tool Crib 2 (Metric) is the
Active tool crib.
The Tool Crib page allows you to
choose a Tool Crib, which is a set
of tools or tool assemblies that are
used with the machine you have
chosen. These are not all the tools
that are available, but a subset that
you can modify to represent the
actual set of tools that the
machine has loaded.
Tool Crib 2 (Metric) is a default
tool crib that has been set up for
the sample Mill machine. When
you define your machine tools in
the Technology Database, you can
set up your own tool cribs.
4. Click the Post Processor tab.
This tab allows you to select the Tool Crib tab of Machine Dialog Box
internal post processor or the APT CL option to output a CL file. The list that displays
depends on the post processors that are installed on your system.
SOLIDWORKS CAM is supplied with several tutorial post processors. Contact your
SOLIDWORKS CAM Reseller for more information on obtaining and/or customizing
post processors for your machine tool.
If the post processors do not display, use the Browse button to locate the folder
containing the files (*.ctl).
5. If M3AXIS-TUTORIAL (the tutorial post processor) is not the Active post processor,
highlight it in the list and click the Select button. This post processor is used for
exercise in this manual. When you use SOLIDWORKS CAM to machine your own
parts, you can select your machine tool controller or post processor.
When you select this post processor, a short description displays in the window. This
window contains information only if an optional file has been created for the post
processor.
6. Click the More button.
A longer description is displayed. The More button is activated only if a second
optional file has been created. This information is intended for use in training or as a
detailed description of post processor attributes that can be created.
Information files are provided for the sample post processor that is used for the
exercises in this manual. Your Reseller or your company manager may be able to
supply these files if they are available for your post processor. If files are not
available, you can create post information files as explained in the context-based
Help.
7. Click the Posting tab.
The parameters on this page are used for the following:
To provide information required to generate the NC program. The parameters are
machine-dependent and different parameters may display for your controller. The
value for a parameter is output in the NC code if the machine requires it.
To provide information for the Setup Sheet, a file that is created when the NC
program file is generated. All of the controller parameters are included in the
Setup Sheet.
8. Type 1001 for the Program
Number and press the
down arrow on the
keyboard to shift the focus
to the Part Thickness
field.
9. Type 40mm for the Part
Thickness.
10. Click OK to close the
machine dialog box. Posting tab of Machine Dialog Box
SOLIDWORKS CAM generates the Mill Part Setup and machinable features. The items
display in the Feature tree.
The Mill Part Setup is the 2 axis plane that the tool movement will be based on. It has an
origin location, and X, Y, Z direction vectors. The Mill Part Setup is created
automatically; however, you can move the origin, and change the direction and angles of
the X and Y axes.
A Mill Part Setup is created for each different tool orientation. There is only one Mill
Part Setup for this part because all features can be machined using a single tool
orientation. For each Mill Part Setup, the machinable features are listed in the order in
which they were recognized.
The Feature tree allows you to:
Copy, rename, suppress, delete and combine machinable features
Change machinable feature parameters
Change the order in which the features are machined
If this Save/Restore part option is checked, when you save and close a part
document, the machining data is saved and restored with the part design
information when the part document is reopened.
If this option is not checked, when you save and close a part document that
contains at least one Setup, a message indicates that Save/Restore is disabled. If
you click Yes, SOLIDWORKS CAM saves all machining data before closing the
file. If you click No, SOLIDWORKS CAM closes the part and discards any new
machining data since the last save.
9. Select Save As on the File menu. Browse to the location where you wish to save the
file.
10. In the Save As dialog box, assign the desired file name and click the Save button.
SAVE FREQUENTLY!
When you open a file, you are
actually working on a copy of the
file. The original is still stored on
disk. Periodically saving your file
ensures that your latest work is
retained.
SOLIDWORKS CAM provides an
Auto save option on the General
tab in the Options dialog box for
automatically saving your
SOLIDWORKS CAM data.
Frequent saves prevent having to
redo a time-consuming model or
CAM operation. If a power failure
occurs, you will lose whatever you
have been working on.
OR
Right click Mill Part Setup1 in the SOLIDWORKS CAM Feature tree and select
Generate Operation Plan on the context menu.
OR
Right click SOLIDWORKS CAM NC Manager in the SOLIDWORKS CAM Feature tree
and select Generate Operation Plan on the context menu.
Note:
If you execute the Generate Operation Plan command from the Command
Manager or the SOLIDWORKS CAM NC Manager level, then operations will be
generated for all prismatic features in the tree, regardless of the active item in the
tree.
If you execute the Generate Operation Plan command from the Mill Part Setup
level, then operations will be generated only for those prismatic features listed
under the given Mill Setup.
If you execute the Generate Operation Plan command at the feature level (by
right-clicking on a feature listed in the Feature tree and executing Generate
Operation Plan command from the RMB context menu), then operations will be
generated only for the selected feature.
SOLIDWORKS CAM generates the operation plan for all the machinable features in
Mill Part Setup1. The operations are listed in the SOLIDWORKS CAM Operation
tree, which displays automatically. The Operation tree can also be accessed by
clicking the SOLIDWORKS CAM Operation Tree tab.
The SOLIDWORKS CAM Operation tree provides an outline view of the operations
for the machinable features. Operations are listed under the Mill Part Setup in the
same order as the machinable features. At the top of the tree is the SOLIDWORKS
CAM NC Manager. The Stock Manager and Machine items are the same as in the
SOLIDWORKS CAM Feature tree. You can change the stock size and shape and the
post processor used by SOLIDWORKS CAM to produce G-code.
The SOLIDWORKS CAM Operation tree allows you to:
Insert, rename, suppress, and delete operations
Change operation parameters
Combine operations
Sort operations
Change the machining order
Generate toolpaths
Simulate toolpaths
Post process the toolpaths
Hide or show toolpath display
Search based on item name
To the left of each toolpath operation is a plus sign ( ). Clicking a plus sign displays
the name of the Machinable Feature that this operation is going to machine. These
Machinable Feature items can be used to view geometric information and to modify
the machining depth of the feature.
The operations that are generated by SOLIDWORKS CAM are based on information
stored in the Technology Database. These operations are intended to be used as a
starting point. Each operation contains operation parameters that affect how the
toolpath is created and specific parameters that will be output to the NC program.
These parameters can be edited before generating the toolpaths and post processing
the part.
Exclamation mark symbol over certain operations
In the Operation tree, observe that Center Drill1 and Drill1 operations have an
exclamation mark over them. The exclamation mark serves as a potential warning. In
most cases, the exclamation mark indicates that no suitable tool was available in the
active tool crib to machine that particular feature and hence a suitable tool was added
from the tool library and assigned to the operation.
Following are the steps to get rid of the exclamation mark:
a. Right-click on the Center Drill1 operation with an exclamation mark and select
What’s wrong? from the context menu.
b. A warning message indicating that tool selected was not from the active tool crib will
be displayed.
c. Click on the Clear button in this dialog box to get rid of the exclamation mark.
d. Repeat above steps for all operations with the red exclamation mark. In this tutorial,
repeat this step for Drill1 operation.
1. Highlight the first operation in the Operation tree, hold down the Shift key, then
highlight the last operation.
This action displays the toolpaths for all the operations on the part (in the graphics
area) showing the centerline of the toolpath.
2. Click an operation in the SOLIDWORKS CAM Operation tree.
The toolpath for that operation is displayed.
As you click each operation, the toolpath for that corresponding operation is
displayed.
Generated toolpath list is displayed in the Operation tree.
4. Click the Feature Options tab. In the Entry group box, change the Method to Entry
Hole.
5. Click OK to close the dialog box.
6. Observe the SOLIDWORKS CAM Operation tree. Notice that the Center Drill2 and
Drill2 operations were created automatically above the Rough Mill5 operation since
you set the Entry Method to Entry Hole.
When using the Entry Hole method, control is provided to:
Specify any number of machining processes in the Technology Database to
machine the entry hole (i.e. Center Drill and Drill).
Tool type selection is based on what each operation supports.
Tool diameter selection can be customized in the Technology Database.
Operation parameter defaults can be defined in the Technology Database.
Simulate Toolpath
SOLIDWORKS CAM provides the ability to simulate the toolpath showing the tool
movement and the resulting shape of the part.
1. Right click on Mill Part Setup1 and select Simulate Toolpath from the context menu.
The Toolpath Simulation dialog box is displayed.
If you want to simulate only the toolpath for a given operation, you can right click on
that operation and select Simulate Toolpath in the context menu.
2. Set the simulation mode to Tool mode by clicking on the Tool mode button .
3. In the Play Tool Until dropdown list, leave the end condition set to the default End.
4. Use the Animation speed slider to adjust the animation speed.
5. Click the Play button to continuously back-plot the tool till the end condition
specified in the Play
Tool Until field is
reached. OK button
changes to Pause
button . Click the
Pause button to pause Animation speed
slider
the animation while it is Tool Position
in progress. slider
Note: The last operation varies depending on which level the Step Through
Toolpath command is executed from. For example, if this command was
executed from the Mill Setup level, then the last operation would be the last
operation under that particular setup.
8. When the animation has been completed or when it is paused, the Reverse Single Step,
Goto Start of current Toolpath and Goto Start buttons are active.
Use the Reverse Single Step button to move one toolpath record backwards
each time the button is clicked.
Use the Goto Start of Current Toolpath button to move the tool position to
the first toolpath record of the current operation.
Use the Goto Start button to move the tool position to the first toolpath record
of the very first operation.
9. If you are unsure about the use of any parameter within this dialog box, click on the
Help button at the upper right corner. This action will display the context-based
help for Step Through Toolpath command.
10. Click the OK button in the upper left corner to close the dialog box.
In this tutorial, you will post process all the operations and generate the NC program:
1. Click the Post Process button on the SOLIDWORKS CAM Command Manager.
OR
Right click on the SOLIDWORKS CAM NC Manager in the Operation tree and select
Post Process on the context menu.
The Post Output File dialog box is displayed so that you can save the NC program
file.
Typically, the NC program and Setup Sheet files are stored in the folder that
contained the last part that was opened. If you want these files in another location,
you can change the folder location.
Note: If the Post Process command is grayed out on the SOLIDWORKS CAM
Command Manager or on any context menu, make sure that you have selected
a post processor and generated the toolpaths. Refer instruction 4 of Step 3 in
this tutorial.
2. In the Post Output File dialog box, click the down arrow to the right of the Save as
type box.
SOLIDWORKS CAM provides a list of commonly used extensions that you can
select. For this exercise, use the .txt extension.
3. In the File name textbox, type the suitable file name, and then click Save button.
4. The Post Process Output dialog box will be displayed. Click the Step button on
the control bar at the top.
SOLIDWORKS CAM starts to generate the NC program and the first line of NC code
displays in the NC code output view box. The post processing mode is set to post
process one line of code at a time (Step mode).
5. Click the Step button. The next line of NC code is displayed.
6. Click the Run button . Post processing continues until it is completed.
7. When the post processing is finished, view the code using the vertical scroll bar.
8. Click OK to close the dialog box.
2 Axis Mill 2
Topics covered in this tutorial:
SOLIDWORKS CAM is a feature-based machining system. Feature-based machining
provides numerous benefits because the definition of the feature enables a higher level of
automation when creating machining operations and associated toolpaths. Adding to this
benefit, SOLIDWORKS CAM provides one method for extracting features:
INTERACTIVE FEATURE RECOGNITION
An interactive method for inserting features using the New 2.5 Axis Feature or New
Multi Surface Feature function. .
The following tutorial demonstrates how some of the features are identified
automatically using the Extract Machinable Features command.
The Machine dialog box will be displayed. This dialog box allows you to select a
machine definition, tool crib and
post processor. On the Machine
tab of this dialog box, Mill–Inch
is the active machine. This
machine definition has been
created for the SOLIDWORKS
CAM tutorials.
2. Highlight a tool in the Active tool crib list and click Edit Tool button.
The Edit Tool Parameters dialog box will be displayed.
This dialog box allows you to change the parameters for the selected tool. The
changes you make in this dialog box affect only the tool crib for the current part. To
change the tool definition for all future jobs, click the Save Tool Crib button on the
Tool Crib tab or edit the tool crib definition in the Technology Database.
3. Click OK to apply the changes and close the Edit Tool Parameters dialog box. Click
Cancel to close this dialog box without saving the changes. In this tutorial, no changes
have been done to the parameters of an tool in the Tool crib. Hence, click Cancel.
4. To add tools from the tool library to the active Tool crib, click the Add Tool button
below the Tool crib tab in the Machine dialog box.
The Tool Select Filter dialog box will be displayed. This dialog box allows you to set
filters for displaying and selecting tools. At the bottom of this dialog box is a form
listing all the existing tools in the Technology Database which meet the filter criteria.
5. Select the required filters and enter the corresponding range values in the provided
fields. Click OK.
6. To add a tool from this list into the active tool crib, highlight the required tool and
click OK.
The tool will be added at the bottom of the active tool crib. To make this tool
available in the active tool crib for all future jobs, click on the Save Tool Crib button.
Note: You cannot use the Tool Select Filter dialog box to add new tools to the
Technology Database. This dialog box can only be used to add tools to the
active tool crib.
7. Click Cancel to close the Tools Database form without adding a tool to the active tool
crib.
Deleting a Tool
To permanently delete a tool from the Technology Database, highlight the tool in the
Active tool crib list and click on the Delete Tool button. This action will remove the tool
from the Technology Database. However, the tool will still be visible in the Active tool
crib list for the current part. To remove it from the Active tool crib list, highlight the tool
in the list and click on the Remove tool button.
Strategy set to Coarse for Rectangular Pocket feature in Parameters dialog box
8. Right click Rectangular Pocket1 in the Feature tree and select Generate Operation
Plan command.
Since the Generate Operation Plan command has already been run once for this
feature, when you execute the command again, SOLIDWORKS CAM displays the
Generate Operation Plan dialog box which has the following choices:
Update: Select this option to generate operations for new features or for features that
you deleted all previously generated operations. The operation list will not be updated
for features that have previously generated operations.
Regenerate: If you select this option, all previously generated operations are deleted
and new a new operation list is created. If you have modified any operations, these
modifications will be lost.
Cancel: Click Cancel to revoke the Generate Operation Plan command.
9. Click Regenerate to delete the previous Rough Mill operation and generate a new
operation list.
The SOLIDWORKS CAM Operation tree now contains operations for all machinable
features in the selected Mill Part Setup.
To generate the NC code for this part, you would adjust the operation parameters as
required for the operations, insert a series of operations for the multi-stepped hole,
generate toolpaths, and post process the part. These steps will be explored in further
tutorials.
2 Axis Mill 3
Topics covered in this tutorial:
Defining the Stock from a Bounding Box
Inserting Additional Mill Part Setups
Creating a Face Feature
Reorganizing Machinable Features
Suppressing Machinable Features
Inserting 2.5 Axis Features
Combining Machinable Features
Top face
Step 1: Opening the Part and Defining the
Machine
MILL2AX_3.SLDPRT: The part to be
1. Open part file MILL2AX_3.SLDPRT in the machined
following folder.
C:\Users\Public\Public Documents\SOLIDWORKS\SOLIDWORKS 201x\CAM
Examples\Tutorial_Parts\Mill
2. Click the SOLIDWORKS CAM Feature Tree tab.
3. Double click on Machine [Mill–Inch] in the Feature tree. The Machine dialog box
will be displayed.
On the Machine tab, ensure that Mill–Inch is the Active machine.
Click on the Tool Crib tab and make sure Tool Crib 2 (Inch) is the Active tool set.
Click on the Post Processor tab and make sure M3AXIS-TUTORIAL is selected;
then click OK to close the Machine dialog box.
Deleting a Feature
For learning purposes, in this tutorial, you will have to delete the three irregular corner
slot features and then insert them interactively.
1. Hold down the Shift key on the keyboard and click each Irregular Slot in the tree to
highlight the items, then select Delete on the context menu.
2. Click Yes to confirm the deletion.
The features are moved to the Recycle Bin . When a feature is deleted, it is
automatically placed in the Recycle Bin, which is used to store machinable features
that you do not intend to machine.
3. Click the minus sign to the left of the Recycle Bin to collapse it.
4. In the New Features group box, make sure the Face option is checked.
If this option is checked, when SOLIDWORKS CAM creates a Mill Part Setup, a face
feature is created automatically if the top most face is parallel to the Setup and the
Setup is parallel to one of the sides of the stock.
5. Set the Strategy to Finish.
6. Click OK to close the Mill Setup dialog box.
Mill Part Setup2 is created in SOLIDWORKS CAM Feature tree with the tool
direction. The Face Feature is created automatically and listed under this Mill Part
Setup.
The names for Mill Part Setup1 and Mill Part Setup2 can be changed to Top and
Bottom or some other recognized convention.
7. Right click Mill Part Setup1 and select Rename from the context menu.
8. Change the name to Top Part Setup, and then press Enter.
Notice that when you click a Mill Part Setup in the tree, an axis displays on the part to
indicate the tool direction.
9. Right click Mill Part Setup2 and select Rename from the context menu.
10. Change the name to Bottom Part Setup, and then press Enter.
Suppressing Features
2. Right click Top Part Setup in the SOLIDWORKS CAM Feature tree and select 2.5
Axis Feature in the context menu.
3. The 2.5 Axis Feature: Select Entities dialog box is displayed. Click the down arrow to
display the Feature Type list and select Face Feature.
4. Pick the top center face from the top of the boss. On executing this action, it is
highlighted in the graphics area.
Feature: Selected Entities dialog box to define 2.5 Axis features for the three irregular
corner slots.
1. Right-click on Face Feature2 and select 2.5 Axis Feature on the context menu.
2. In the 2.5 Axis Feature: Selected Entities dialog box, click the down arrow to display
the Feature Type list and select Corner Slot.
These slots are defined as Corner Slots because more than one edge is open. By
defining it as a corner slot, the tool will machine outside the slots on the open air
edges.
3. In the graphics area, pick each of the three dark grey faces of the corner slots.
The Entities selected list displays CW Face-0, CW Face-1 and CW Face-2.
4. Click the End Conditions button. The 2.5 Axis Feature: End
Conditions dialog box will be displayed.
The depth of material to leave for this feature will be from the face of the corner slot
to the face immediately above the corner slot. You can either pick an end condition
from the End Condition dropdown list or select a face or vertex and have
SOLIDWORKS CAM set the depth automatically.
5. Leave the End condition set to Blind and pick the dark grey colored face above the
corner slot.
On executing this action, the End condition is automatically set to Upto Face and the
Depth parameter displays the distance
as 0.14in.
edges.
7. Select the Feature for which you wish to review the open air edges in the Feature
dropdown list. Suppose Irregular Corner Slot (2) is selected.
8. Select any segment in the Profile Segments list.
The corresponding edge is highlighted on Irregular Corner Slot(2). If
SOLIDWORKS CAM determined that the edge as an open air edge, then the Air
Segment button is active.
9. For every segment listed in the Profile segments list, observe that the edges have been
correctly identified by SOLIDWORKS CAM as Air Segment open/closed. You do
not need to change the feature profile of any segments.
10. Click OK.
The 2.5 Axis Feature: End Conditions dialog box will be displayed. This dialog box is
displayed when you define a Pocket, Slot, Corner Slot, or Face Feature.
The three pockets are combined into a single feature labeled Irregular Slot Group2 in
the SOLIDWORKS CAM Feature tree.
6. Repeat steps 2 for Face Mill2 of Bottom Part Setup and drag the operation over the top
of Bottom Part Setup and release the button. This action moves it first position under
the Bottom Part Setup.
Generate Toolpaths and Post Process the Part
Verify Operation Parameters and Generating Toolpath
1. Double click each operation item in the tree to open the Operation Parameters dialog
box and review the cutting parameters.
2. After you have verified that the parameters for each operation are set the way you want
them, right click Bottom Part Setup in the SOLIDWORKS CAM Operation tree and
select Generate Toolpath command in the RMB context menu.
3. Repeat step 2 for the Top Part Setup.
4. Experiment by changing parameters for the operations and regenerating the toolpaths.
SOLIDWORKS CAM Message Window
Check the SOLIDWORKS CAM Message Window.
The Message Window provides information you may find helpful. For example,
based on the information in this window, you may want to change a tool or insert a
finish operation in order to cut a machinable feature completely.
If the Message Window is not displayed, select SOLIDWORKS CAM
Options on the SOLIDWORKS CAM Command Manager and check the Message
Window check box on the General tab.
You can move the window and adjust the size. To change the size, point to a border or
corner of the window (the pointer changes to a two-headed arrow). Drag the corner or
border until the window is the size you want, and then release the mouse button.
8. In the Post Process Output dialog box, click the Play button NC code will be
created for the Top Part Setup.
9. Click OK to close the dialog box.
10. Open the saved Post process files. Observe that the generated NC code has been
saved.
2 Axis Mill 4
Topics covered in this tutorial:
Defining the Stock from a Sketch
Inserting Open Pocket Feature
Adjusting Operation Parameters
Deleting an Operation
Inserting an Operation
Defining Program Zero
Sorting Operations
This tutorial guides you through the steps to machine the part shown below. The concepts
given above (under What You’ll Learn) will be explained during the execution of the
steps required to machine this part.
You are expected to have an understanding of the concepts explained in the previous
three tutorials before beginning with this tutorial.
Top face
Sequence of machining:
Mill Part Setup1: To machine the top
side of the part
Drill two holes on each end of part.
Face top of part.
Face depression on left side of part.
Finish profiles the hole on each end of Left Depression
the part.
Rough and finish rectangular pocket. Upper side of the part to be machined
Select Sketch
8. Click Island
button at the top of the dialog
box. 2.5 Axis Feature: End Conditions dialog box
Operations will now be generated for Mill Part Setup2 in the SOLIDWORKS CAM
Operation tree.
4. Click on the plus symbol next to each operation under Mill Part Setup1. This
action expands the tree to identify the feature that is machined by the particular
operation.
5. Observe that the operations are generated for the features in the same sequence as the
features listed in the Feature tree. This is true for both Mill Part Setup1 and Mill Part
Setup2.
6. A yellow exclamation mark over certain operations indicates that the tools assigned to
those operations were not assigned from the active tool crib. You can right-click on
such operations and select What’s wrong? on the context menu. Click on the Clear
button on the displayed error message to get rid of the exclamation mark.
6. Since this tool is also shared by two other operations, making any changes will affect
those operations too. Therefore, SOLIDWORKS CAM will display a warning
message to this effect and prompt you to choose whether the changes are to be applied
to the other operations or not.
7. Click Change within the message box.
Change: When you click Change within this dialog box, then the changes made to
the tool parameters will affect all other operations sharing this tool.
Add: If you click Add within the warning message dialog box, then
SOLIDWORKS CAM creates a new tool with the changed tool parameters
and lists this tool in the Active Tool crib. This action ensures that the
changes made to the tool parameters will affect only the current operation
and none of the other operations which share the same tool.
Deleting an Operation
In some cases, it may be desirable to delete
operations that are created automatically or
to replace automatically created operations
with interactively inserted operations. In this
tutorial, two operations were automatically Operations sharing the tool
created for the Obround Pocket Group1
feature - Rough Mill operation (Rough Mill4) and Contour Mill operation (Contour
Mill2). The tool that is selected in the Contour Mill operation for this feature can machine
the feature completely. Hence, the Rough Mill operation can be deleted.
Inserting an Operation
The obround pocket group feature is now machined using a single Contour Mill
operation. To give a better finish, you can interactively insert an additional Contour Mill
operation the makes use of a tool with smaller cut diameter which will finish machine the
obround pocket features.
In this tutorial, you will interactively insert an additional Contour Mill operation for
Obround Pocket Group1. This operation will be inserted after the Contour Mill2
operation.
5. The New Operation: Contour Mill dialog box will be displayed. Click on the Features
tab.
6. In the Pick from the available list box within this tab, select Obround Pocket Group1
by placing a check in its corresponding checkbox. This action will list the selected
feature group in the Selected Features list box at the top of the tab.
7. Click on the Tool tab. Within this tab, observe that a 0.25in Flat End Mill tool has been
assigned to this operation. Since this operation finish machines the feature, a tool with
lower diameter needs to be selected. In this tutorial, we will assign a 0.125in tool.
In the Tool list box, observe that there is no Flat End tool with 0.125in tool diameter.
So, the desired tool needs to be added from the Tool Library.
i. Click on the Add New button.
ii. The Tool Select Filter dialog box will be displayed.
iii. For Tool Type, select Flat End.
iv. In the Filter by group box, place a check in the Diameter checkbox. Enter the
lower diameter range as 0in and higher range as 0.25in.
v. From the list of displayed tools at the bottom of this dialog box, highlight a
tool with 0.125in diameter.
vi. Click the OK button.
vii. The selected tool will be listed in the Tool list box.
.
‘Tool’ tab of the New Operation dialog box
8. Click on the Operation tab. In the Options group box at the bottom of this tab, ensure
that the Edit operation on creation option is checked.
Toolpath Simulation of Mill Part Setup1 Toolpath Simulation of Mill Part Setup2
operations operations
and grouped together so that the entire feature is completed before processing other
feature operations. After all feature operations are grouped, the order the operations
are processed will be from highest Z face to lowest Z face.
3. Click on the Sort tab.
This tab shows the order in which the operations will be sorted. Operations can be
sorted based either on the Operation Type or Tool. More information on sorting
operations can be found in the SOLIDWORKS CAM context-based help.
4. In the Sort by dropdown list, select Operation Type. The operation listed in the
Operation tree will be machined in order of their types. You can use the drag and drop
function to sort the order of operation types listed in the Sort by group box.
5. In the Then by dropdown list, select Tool. All the tools used by the various operations
in the selected Mill Part Setup are listed.
When multiple operations of the same operation type have to machined, you can
further sort the operations based on the tool used by the operations. Tools can be
sorted either based on Size or Station number.
6. In the Sort Tools by group box, select the Size option.
When operations are sorted by Tool size, the Mill operations are ordered on the basis
of their tool size from largest to smallest. For single point operations, the tool order is
from the smallest to the largest diameter.
7. Click the Apply button.
This action will sort the operations in the Operation tree according the specified
operation sequence. Within each type of operation, the operations with the highest Z
face will be processed first. If you do not like the order, you can click the Undo button
and change the order or any of the options, then click Apply again to see the results.
If you are running SOLIDWORKS CAM in Demo mode, this dialog box will not
be displayed. Post processing functions works only when you have a valid license
for SOLIDWORKS CAM.
5. Click Save to use the default name for the NC program file.
The Post Process Output dialog box will be displayed.
6. Click the Run button.
SOLIDWORKS CAM generates the NC program.
7. Click Cancel to close the Post Process Output dialog box.
This chapter provides an opportunity to learn more about SOLIDWORKS CAM 2 Axis Mill.
The tutorials in this chapter are intended to show you how to use SOLIDWORKS CAM and
may not correspond to actual machining practices.
The tutorial parts are installed when you install SOLIDWORKS CAM and are in the \
SOLIDWORKS\SOLIDWORKS 201x\CAM Examples\Tutorial_Parts\Mill folder on your
computer. (C:\Users\Public\Public Documents\SOLIDWORKS\SOLIDWORKS 201x\CAM
Examples\Tutorial_Parts\Mill).
Before you begin with the tutorials given in this chapter, ensure that you are through with the
concepts explained in Chapter 1.
2 Axis Mill 5
Topics covered in this tutorial:
Setting Strategies and Generating Operations
Sorting and Sequencing Operations
Machining Island Tops
Changing the Mill Part Setup Origin
Combining Operations
4. Double click Stock Manager in the tree to open the Stock Manager dialog box.
- Change the Bounding box offsets for X, Y and Z to a uniform 1mm in all directions.
- Leave the Material set to default.
- Click OK to apply the changes and close the dialog box.
This strategy has been programmed to generated a Rough and Contour Mill operation for
the selected feature.
8. Click the OK button to apply the changes and close the dialog box.
9. Click the Generate Operation Plan
button on the SOLIDWORKS CAM
Command Manager.
SOLIDWORKS CAM creates the list of
operations to machine the part. The
operations for the features are
sequenced in order the same order as the
features listed in the Feature tree.
10. Some of the operations will have a
yellow exclamation mark over them
indicating that the tool assigned to those
operations are not from the Tool crib.
RMB on such operation and select
What’s Wrong? on the context menu.
Click the Clear button in the displayed
Error message to get rid of the
exclamation mark. Operations generated using GOP command
When this option is checked, the operation sequence will be based on machining each
feature completely before machining the next feature. The features will be sorted from
highest Z to lowest Z.
3. Click on the Sort tab. Select Sort by Operation Type in the dropdown list.
The Sort tab allows operations to be sorted based on either one or two criteria- Operation
Type or Tool. The Sort by list shows
the current order for sorting
operations. The default order is
defined in the Technology Database
and can be modified as required.
4. Click the Apply button to see the
result of the current sorting rules.
The operations in the tree are sorted
according to the order in the list.
5. Click the Undo button to return to
the original order.
6. In this tutorial, you want to sort by
operation type with the Rough Mill New Sorting Sequence
cycles first, Contour Mill cycles
second and then the hole making cycles. To
do this, you can use drag and drop to reorder
the operation list.
- Select Rough Mill in the list and drag it
below Face Mill. Since there is no Face
Mill operation in the operation tree for this
part, positioning the Rough Mill cycle
below Face Mill does not matter.
- Select Contour Mill and drag and drop it
below Rough Mill.
- Ensure that Center Drill, Drill,
Countersink, Bore and Ream operations
are listed below Contour Mill operation
necessarily in the same order as it is given
here.
7. Click the Apply button. The order in the tree
changes to reflect the current operation list. Operations after sorting
8. Click OK to commit the changes and close the dialog box.
The order of the operations in the Operation tree can be further modified using drag and
drop functionality if necessary.
CAUTION!
Be careful when dragging and dropping the operations. Make sure you do not change the
order so that the tools will cause a crash. For example, you could drag the ream
operation in front of the drill operation. SOLIDWORKS CAM assumes that you know what
you are doing and will process the toolpaths exactly the way you have them ordered.
In this tutorial, you will change the operation parameters for the Rough Mill operation used
to machine the Open Pocket feature so that the following occur:
- The Pocketing pattern creates parallel lace cuts with the cuts alternating in direction.
Between each lace cut, the tool stays down in the material. (Zigzag pattern)
- The islands within this Open Pocket are faced off.
origin position is based on the SOLIDWORKS origin. You can move the Mill Part Setup
origin to a more useful location for machining.
1. Click on Mill Part Setup1 in the Operation tree.
Notice where the origin is located on the center of the top face of the part. It is in sync
with the SOLIDWORKS origin.
Combining Operations
Notice that several roughing and contouring operations use the same tool. Similar operation
types that use the same tool can be combined into one operation in order to improve
efficiency.
2 Axis Mill 6
Topics covered in this tutorial:
Interactively inserting 2.5 Axis Features
Avoiding Clamps
Modifying Operation Parameters and Toolpaths
Customizing Toolpaths
This tutorial involves the machining of a non-rectangular solid part that requires several
features to be interactively inserted.
Defining Stock
1. In the Feature tree, double click the
Stock Manager item in the Feature tree.
2. The Stock Manager dialog box will be
displayed.
6. Select the top corner vertex (highlighted in blue) from the graphics area as shown in the image
below:
Generating Operations
Click the Generate Operation Plan button on the SOLIDWORKS CAM Command Manager.
OR
Right click on Top Part Setup and select Generate Operation Plan from the RMB context menu.
The Operations list should look similar to the image below.
If you do not press the Ctrl key while dragging and dropping, then a copy of the Avoid
Area won’t be created. Instead, the Avoid Area will shift from one operation to another.
5. On the Tool Crib tab, scroll down the list of tools and highlight the 100mm Face Mill tool and
click Select.
6. Click Yes when SOLIDWORKS CAM displays a warning message indicating whether the
corresponding holder is also to be replaced or not.
7. Click OK to apply the changes and close the Operation Parameters dialog box.
5. Click OK to apply the changes and close the Operation Parameters dialog box.
Generating Toolpaths
1. Click the Generate Toolpath button on the
SOLIDWORKS CAM Command Manager.
SOLIDWORKS CAM generates the
toolpaths for all operations.
2. Under Top Part Setup, hold down the Shift
key and select the first and last operations in
the tree.
Notice how the toolpath has avoided the All toolpaths avoid the clamp area
clamp areas.
Simulating Toolpaths
1. In the Operation tree, right-click on the Top Part Setup
and select Simulate Toolpath from the RMB context
menu.
2. Click Run to simulate the tool path.
The result should be similar to the example.
3. Click Close to close the simulation and return to
the model. Simulating the Toolpath
Customizing Toolpaths
In the final part of this tutorial, you will change some of the Mill Part Setup parameters and
operation parameters in order to customize the
toolpaths.
2. The Options dialog box will be displayed. Click the Update tab.
3. Set the Update toolpaths when parameters change option to Never.
4. Click OK to apply the changes and close the dialog box.
5. In the Operation tree, double click on the Contour Mill4 operation under Top Part Setup to open
its Operation Parameters dialog box. (Contour Mill4 is the operation for the irregular pocket
feature.)
6. Click on the Leadin tab.
7. In the Leadin/out point group box, leave the option set to Mid-point.
8. Change the Leadin Type to Perpendicular.
9. Set the Leadin amount to 5mm.
10. Click OK to apply the changes and close the dialog box.
11. Right click on the same Contour Mill4 operation and select Generate Toolpath from the RMB
context menu.
12. Highlight Contour Mill4 operation in the Operation tree. The pierce point displays as a square
marker in the middle of the edge because the
Mid-point option is selected.
13. Rotate the part and notice the Leadin is
perpendicular at the mid-point of the edge.
Notice the SOLIDWORKS origin. You will
use that as the start of the leadin.
14. In the Operation tree, double-click Contour
Mill4 again. Pierce point marker at the middle of the edge
15. In the displayed Operation Parameters dialog box, click the Leadin tab and set the Leadin Type
to None.
16. Click the Feature Options tab.
17. For the Entry Type, use the default Method of None.
With this option, the end mill feeds down in Z at the specified entry point.
18. In the Entry points group box, click in the Entities selected box to set the focus.
19. In the graphics area, rotate the part, if necessary, and pick the SOLIDWORKS origin with your
mouse.
20. Point displays in the Entities selected list box and the X,Y coordinates are specified.
21. Click OK to apply the changes and close the dialog box.
2 Axis Mill 7
Topics covered in this tutorial:
Interactively Inserting 2.5 Axis Features
Inserting Engrave Features
Generating an Operation Plan and Adjusting Operation Parameters
Updating Toolpaths for Design Changes
Step 1: Edit the Open Pocket feature to machine only the top of the flange
1. Double click Open Pocket1 in the tree.
The 2.5 Axis Feature: Select Entities dialog box is displayed.
2. Click on the Edit Features button to activate the dialog box to edit the parameters.
3. Click the End Condition button.
4. In the 2.5 Axis Feature: End Conditions dialog box, ensure that the Use Stock extents
option is not checked.
When the Use Stock Extents option is checked, SOLIDWORKS CAM uses the extents of
the stock volume to define open pocket features. In this feature, you want to machine
only the top of the flange. Hence, this option should be remain unchecked.
5. Click OK.
SOLIDWORKS CAM automatically changes the End condition Type to Upto Face and
calculates the Depth.
7. Click OK to insert the feature.
Observe that Circular Boss1 feature is added below Open Pocket1 in the Feature tree.
Step 3: Insert Pocket features to machine the bottom faces of the four corner
pockets.
Automatic Feature Recognition does not recognize the four irregular corner pockets
automatically. They will be inserted interactively.
1. The 2.5 Axis Feature dialog box is
still open. Change the Feature Type to Pocket.
2. Pick the faces on the bottom of the 4 corner pockets.
Face<15>, Face<19>, Face<23>
and Face <11> are added to the
Selected Entities list.
Click the End
Condition button.
Pick the face on the top of the flange
for the end condition.
SOLIDWORKS CAM automatically
changes the End condition Type to
Upto Face and calculates the Depth.
3. Click OK to insert the pocket features. Irregular Corner Pockets
5. In the 2.5 Axis Feature: End Conditions dialog box, change the Depth to 0.015, then click
OK.
6. Click Close to exit the dialog box.
Engrave Feature1 is listed in the tree under Mill Part Setup6.
You have now defined all the features and are now ready to generate an operation plan.
Generating an Operation Plan and Adjusting Operation Parameters
1. Click the Generate Operation Plan button on the SOLIDWORKS CAM Command
Manager.
OR
Right click SOLIDWORKS CAM NC Manager in the tree and select Generation
Operation Plan.
The tree lists the operations that SOLIDWORKS CAM generated for the features in all
the Mill Part Setups.
Adjust tools before generating the toolpaths.
2. Right click Contour Mill2 (the operation for Irregular Pocket1) in the tree and select
Combine Operations from the RMB context menu.
This command allows you to combine and remove duplicate operations.
3. In the Combine Operations dialog box, select the Combine operations option.
When this option is checked, the features machined by operations in the Features or
operations list are machined by the current operation and the original individual
operations for those features are deleted.
4. Hold down the Ctrl key and select the first three operations in the Operations list box.
The selected Contour Mill operations are associated with Irregular Pocket features.
Combined Operations
5. Click the Add button.
The operations are added to the Features or operations list on the right.
Click OK to close
the dialog box.
Contour Mill3,
Contour Mill4 and
Contour Mill5 are
removed from the
tree and the
Irregular Pocket
features are listed
under Contour
Mill2.
6. Double click
Contour Mill2 in
the Operation tree
to open the
Operation
Parameters dialog Selecting a 0.38in Flat End tool from the Tool Crib for an operation
box.
By combining operations for the Irregular Pockets, you have to change the parameters
only once instead of for each operation.
7. Click on the Tool tab. On the Mill Tool page under this tab, make sure the current tool is
a 0.38in Flat End mill.
If a different tool is selected, click the Tool Crib page and select a 0.38in Flat End mill,
click the Select button, then click Yes to replace the corresponding holder.
8. Click OK to apply the changes and close the Operation Parameters dialog box.
9. Double click Contour Mill6 of the Mill Part Setup1 in the Operation tree to open the
Operation Parameters dialog box.
10. Click on the Tool tab. On the Mill Tool page under this tab, make sure the current tool is
a 0.5in Flat End mill.
If a different tool is selected, click the Tool Crib page and select a 0.5in Flat End mill,
click the Select button, then click Yes to replace the corresponding holder.
11. Click OK to apply the changes and close the Operation Parameters dialog box.
12. Double click Contour Mill8 of the Mill Part Setup1 in the Operation tree to open the
Operation Parameters dialog box.
13. Click on the Tool tab. On the Mill Tool page under this tab, make sure the current tool is
a 0.25in Flat End mill(Center Drill).
If a different tool is
selected, click the Tool
Crib page and select a
0.25in Flat End mill(Center
Drill), click the Select
button, then click Yes to
replace the corresponding
holder.
14. Click OK to apply the
changes and close the
Operation Parameters
dialog box.
15. Look at each Center Drill
operation in the trees and
check the size of the tool
selected by the TechDB by
viewing the Center Drill
Tool page under the Tool
tab of its Operation
Parameters dialog box. Selecting a 0.11in Center drill tool from the Tool Crib for an
The tool for each Center operation
Drill operation should be a #3 HSS 60Deg Center drill with a 0.11in diameter. If a
different tool is listed, then, click the Tool Crib page and select the correct tool in the
Tool Crib.
16. Under Mill Part Setup1 in the Operation tree, double click Contour Mill7 (the Contour
Mill operation for the Irregular Boss1 feature).
17. The Operation Parameters dialog box is displayed. Under the Tool tab, click on the Mill
Tool page. Make sure the current tool is a 0.5in Flat End mill.
If it is not, click the Tool Crib tab, select a 0.5in Flat End mill in the Tool Crib, click the
Select button, then click Yes to replace the corresponding holder.
18. Click OK to apply the changes and close the dialog box.
19. Click the Generate Toolpath button on the SOLIDWORKS CAM Command Manager.
OR
Right click SOLIDWORKS CAM NC Manager in the tree and select Generate Toolpath
in the RMB context menu.
Warning Message
14. Click on Hole Group8 in the New features list. The Associate button is enabled.
15. Click the Associate button.
SOLIDWORKS CAM will display a message which prompts you to add, cancel or
replace the existing features.
16. Click the Replace button on the Associate Features message dialog box.
17. Click OK to close the
Associate Features
dialog box.
SOLIDWORKS CAM
replaces the selected
Current feature (Hole
Group1) with the
selected new feature
(Hole Group8) in every
operation that contains
the Current feature and Warning Message
deletes Hole Group1
from the Feature tree.
Did You Know ...
If you click the Add button in the message dialog box, SOLIDWORKS CAM adds the
New feature to all operations for the selected Current feature. The Current feature is
not replaced. Using Add is another method to simplify machining similar features.
18. In the SOLIDWORKS CAM Feature tree, right click Hole Group8 in the Mill Part
Setup1and select Generate Operation Plan on the context menu.
SOLIDWORKS CAM will display a message which prompts you to update or regenerate
the operations.
Simulation Toolpath
1. Click the Simulate Toolpath button on the SOLIDWORKS CAM Command Manager.
OR
Right click SOLIDWORKS CAM NC Manager in the tree and select Simulate Toolpath in
the RMB context menu.
2. On the Simulate Toolbar, make sure the Tool Mode button is selected.
3. Set the following display options:
2 Axis Mill 8
Topics covered in this tutorial:
Extracting Machinable Features and Generating Operations
Specifying a Tool Overlap on Open Air Segments
Using an Avoid Area
Defining Rapid and Clearance Planes
Step 1: Opening the Part and Defining the Machine and Stock
1. Open the part file MILL2AX_8.SLDPRT in the following folder.
C:\Users\Public\Public Documents\SOLIDWORKS\SOLIDWORKS 201x\CAM
Examples\Tutorial_Parts\Mill
2. Click the SOLIDWORKS CAM Feature
Tree tab.
3. Double click the Machine [Mill-inch]
in the Feature tree to open the Machine
dialog box.
On the Machine tab, highlight Mill–
inch as the Active machine.
Click the Tool Crib tab and make sure
Crib 2 is the Active tool set.
Click the Post Processor tab and make
sure M3AXIS-TUTORIAL is selected. MILL2AX_8.SLDPRT
open slot.
The toolpath for the Rectangular Slot was generated with the overlap set at 75% of the
tool diameter.
3. Double click Rough Mill3 to open the Operation Parameters dialog box.
4. Click the Feature Options tab.
5. In the Air segment offset group box, change the % Tool diameter to 100.
6. Click OK to apply the changes and close the
dialog box. Notice: Overlap
increased
7. Right click Rough Mill3 in the Operation tree
and select Generate Toolpath from the
context menu and notice the on the open side
of the slot.
4. In the Avoid Area dialog box, select Avoid Area in the Available sketches list. This
sketch represents the perimeter of the drafted pocket.
Optionally, the Offset option allows you to offset the avoid area.
The method and depth change to the current setting for the Setup and the options are
grayed out.
4. Click OK to close the dialog box.
5. Right click Rough Mill1 and select Generate toolpath from the context menu to
regenerate the toolpaths.
6. Double click Contour Mill1 to open the Operation Parameters dialog box.
7. On the NC tab, check the Use Setup Definition in the Rapid plane section, and then click
OK.
8. Right click Contour Mill1 and select Generate toolpath from the context menu to
regenerate the toolpaths.
9. Double click Mill Part Setup1 in the Operation tree. The Part Setup Parameters dialog
box is displayed.
10. Click on the NC Planes tab.
The options on this tab provide methods for identifying the Rapid and Clearance plane
locations for all operations generated for 2 and 2.5 Axis features in a Mill Part Setup.
11. In the Rapid Plane is above dropdown list, select Top of Stock in the list.
12. Set the Distance to 1in and click OK.
This value is the distance above the specified location that defines the Z value of the
Rapid plane.
13. The warning message is displayed which ask for permission to change the setup
definition.
14. Click Yes.
15. Right click Mill Part Setup1 and select Generate Toolpath from the context menu.
The toolpaths are regenerated based on the changed setting for the Rapid plane.
2 Axis Mill 9
Topics covered in this tutorial:
Defining Features Interactively
Inserting Linear Pattern Feature
Inserting Sketch-Driven Pattern Feature
AFR found an Irregular Corner Slot and a Hole feature. The Pocket features need to be
defined interactively. One pocket feature will be
defined and it will be duplicated using the Pattern
feature.
2. Right click Hole1 in the Feature tree and select 2.5
Axis Feature from the context menu.
3. In the 2.5 Axis Feature: Select Entities dialog box,
set the Feature Type to Pocket.
4. Pick Sketch2 in the list. The sketch is highlighted on
the part in the graphics area.
5. Pick Upto Stock for the End condition. Interactively inserting pocket
SOLIDWORKS CAM automatically calculates the feature
Depth.
6. Click OK, and then click Close to close the dialog box.
The Irregular Pocket1 feature is added to the Feature tree.
7. Right click Irregular Pocket1 in the tree and select Generate Operation Plan from the
context menu.
The Operation tree lists the Rough Mill and Contour Mill operations that SOLIDWORKS
CAM generated for this feature.
8. Click the Generate Toolpath button on the SOLIDWORKS CAM Command Manager.
When you insert the Pattern feature, the toolpaths generated for this feature will be
automatically copied to each position. You can generate the operations and toolpaths
before or after you insert a Pattern feature.
Direction Arrow
10. Type 40mm for the incremental distance between features instances.
11. Type 2 for the Number of instances. The feature instances in the Y direction display
on the part as shown below.
12. Click in the Instances to skip box to set the focus. Blue points display on each
instance as shown in the below image.
13. Move the pointer over the point for the instance on the top right of the part until it turns
white, then click. The instance is removed and the point changes to red.
14. Click OK to close the dialog box. Pattern1-Irregular Pocket1 is listed in the Feature
tree.
15. Click each operation in the Operation tree. Notice the toolpaths have been copied to each
instance.
Inserting a Pattern Feature using a sketch (Sketch-driven Pattern)
1. Click the SOLIDWORKS CAM Feature Tree tab.
2. Right click Pattern1-Irregular Pocket1 in the tree, select Pattern, then select Remove
Pattern.
3. Click Yes to confirm you want to remove the Pattern feature.
The Pattern feature is removed. The original feature, Irregular Pocket1, and associated
operations and toolpaths are not deleted.
4. Right click Irregular Pocket1 in the Feature tree and select Pattern, and then select
Create Pattern.
5. In the New Pattern dialog box, select Sketch Driven
Pattern for the Type.
6. Pick Sketch Pattern in the list of Available valid
sketches.
This box lists 2D sketches that contain arcs, circles or
point entities. A 2D or 3D sketch can also be
Sketch pattern consists of
graphically selected. While the sketch can contain any points on each of the pockets
entity type, only the center point of circles, arcs or point
entities will be used to define the
pattern feature locations.
The Sketch Pattern sketch consists of
points on each of the pockets.
7. Notice that the pattern is not in the
correct position on the part. The point
on the pocket at the bottom right
identifies the point on the sketch that
is the reference point for the feature.
The default is the first point in the
Sketch-driven Pattern at incorrect position
sketch. When this point is not correct,
you can change it.
8. Click the Move to previous and
Move to next buttons to select the sketch
point that positions the pattern correctly.
9. Click OK to insert the Pattern feature.
10. Click the SOLIDWORKS CAM
Operation Tree tab. Notice the toolpaths
have been copied to each instance.
Sketch-driven Pattern Feature
2 Axis Mill 10
Topics covered in this tutorial:
Defining Features Interactively
Inserting Circular Pattern Feature
Inserting Sketch Driven Pattern Feature
Right click SOLIDWORKS CAM NC Manager and select Extract Machinable Features
from the context menu.
AFR has found a Hole Group feature (Hole Group1). The Pocket features will be defined
interactively. One pocket feature, along with its associated operations and toolpaths, will
be defined and then a Pattern Feature will
be inserted to array it to other positions.
2. Right click Hole Group1 in the Feature
tree and select 2.5 Axis Feature from the
context menu.
3. Set the Feature Type to Pocket.
4. Make sure the Check for taper & fillets
option is checked. Pick the highlighted blue colored bottom
face of the Pocket
5. Pick the highlighted blue colored face at
the bottom of the pocket on the right side of the part.
6. Click the End
Condition button.
7. Click the top face of the part to set the End
condition to Upto Face.
8. Click the Auto detect button in the 2.5 Axis
side wall group box.
9. Click OK.
10. Click Close to close the 2.5 Axis Feature
dialog box.
Observe that Rectangular Pocket1 is Pick the top face to set the depth
inserted in the feature tree.
5. Click the top face of the part to set the End condition to Upto Face.
6. Click the Auto detect button in the 2.5 Axis side wall group box. This action detects the
tapers and fillets.
7. Click OK, and then click Close to close the dialog box.
Observe that Irregular Pocket1 is listed in the Feature tree.
1. Right click Irregular Pocket1 in the tree and select Pattern, then select Create Pattern.
2. In the New Pattern dialog box, select Circular Pattern for the Type.
When you insert the Pattern feature, the toolpaths generated for this feature will be
automatically copied to each position. You can either generate the operations and
toolpaths before or after you insert a Pattern feature.
Use the default ‘Machine [Mill–metric]’ machine, post processor and active Tool Crib.
Double click Stock Manager in the tree. Change the Bounding box offset for X, Y and Z
to a uniform 1mm.
This chapter provides an opportunity to learn 3 Axis Mill through a step by step hands-on
tour of the features and functions.
We recommend that you go through the tutorials in Chapter 1 and Chapter 2 first. In
addition to learning how to generate 2 axis mill toolpaths, these tutorials explain basic
functions and procedures that are used to generate both 2 and 3 axis mill toolpaths and NC
code.
The tutorial parts are installed when you install SOLIDWORKS CAM and are in the
\SOLIDWORKS\SOLIDWORKS 201x\CAM Examples\Tutorial_Parts\Mill folder.
(C:\Users\Public\Public Documents\SOLIDWORKS\SOLIDWORKS 201x\CAM
Examples\Tutorial_Parts\Mill).
The tutorials in this chapter are intended to show you how to use SOLIDWORKS CAM for 3
Axis Mill operations and may not correspond to actual machining practices.
3 Axis Mill 1
Topics covered in this tutorial:
Inserting a Mill Part Setup & creating a Multi Surface Feature
Generating Area Clearance toolpaths
Using Contain area to selectively machine within specified areas
Generating and Z Level toolpaths
Using Avoid Area to selectively machine within specified areas
Defining user-defined limits to selectively machine specific areas
Generating Flat Area toolpaths
5. Set the Depth to 1.3in, and then click OK to apply the changes and close the
dialog box.
Steps to insert the Mill Part Setup and create a Multi Surface Feature:
1. Right click the Stock Manager and select New Mill Part Setup from the context menu.
The Mill Setup dialog box is dispalyed.
2. In the graphics area, pick the top of one of the rounds cone as
shown in the figure.
This action selects the face to the Selected entity field.
3. Make sure the Face option under New Features group box is not
checked.
4. Click OK to close the dialog box.
The Mill Part Setup1 is inserted in the Feature tree. Pick the top face of the
cone
5. Right click the Mill Part Setup1 in the tree and select New
Multi Surface Feature from the context menu.
The New Multi Surface Feature dialog box will be displayed.
6. In the Strategy dropdown list, select Area Clearance, Z Level.
7. Under Face Select Options, click the Select all faces button.
8. Click OK to insert the feature.
The Multi Surface Feature1 is now listed in the Feature tree.
Did You Know ...
When you define Multi Surface features for 3 Axis operations (except 3 Axis Rough
and Finish), the most reliable results are usually obtained by picking all model faces
as Faces to Cut. Using Faces to Avoid is not recommended. If you need to restrict
machining to specific areas, use the New Contain and New Avoid commands at the
operation level.
4. Highlight a 0.375in Flat End mill and click the Select button.
5. Click Yes to replace the corresponding holder.
6. On the Pattern tab, set the Pattern type to Lace.
7. On the Area Clearance tab, within the Depth Parameters group box:
- Set the Method to Constant
- Set the Cut amount to 0.2in.
8. On the Links tab:
- In the Depth Processing group box,
select the option To depth by region
for the Depth processing.
- In the Corners group box, select
Round for Type and set the Max radius
and Part deviation to 0.0375in.
9. On the Entry/Retract tab:
- Select Skim for the Retract Method
- Set the Max. Ramp angle to 20deg.
10. Click OK to apply the changes and close Toolpath generated for Area Clearance
the Operation Parameters dialog box. operation
11. Click the Generate Toolpath button on the
SOLIDWORKS CAM Command Manager.
Yes. If the option in the Options dialog box is set to Always, SOLIDWORKS CAM
automatically regenerates the toolpaths. If set to Never, then you need to manually
execute the Generate Toolpath command on the context menu.
4. Click Yes when prompted to regenerate the toolpaths. If you click no, the toolpaths will
be generated when you execute the Generate Toolpath command.
Did You Know ...
For 3 Axis operations (except 3 Axis Rough and Finish), the XY extents will be within
a contain area while machining over and around the faces and surfaces in the Multi
Surface feature. The contain area can be defined either automatically on the
Advanced tab in the Operation Parameters dialog box or interactively using the New
Contain Area command.
The priority is to observe the XY shape of any interactively defined contain areas. If
interactively defined contain areas are suppressed or not defined, then an
automatically generated XY contain area will be used.
10. On the Links tab, in the Corners group box, set the Offset deviation to 0.0375in.
11. Click OK to apply the changes and close the Operation Parameters dialog box.
12. Click Yes, if SOLIDWORKS CAM displays a warning message asking if you want to
regenerate the toolpaths.
13. Right click Mill Part Setup1 in the tree
and select Set View, then pick Setup XZ
in the cascading menu.
14. The view of the part in the graphics area
changes. Click the Area Clearance1
operation in the tree and notice the
amount of material at the bottom of the
cavities.
SOLIDWORKS CAM provides a
Variable & Flats method, which inserts Amount of material left in the cavities
additional cuts in the toolpath at a Z
location equal to the Allowance above
any flat face between the top and
bottom of the surface. These flat faces
may define ledges or island tops.
When this option is selected, the
distance between tool passes varies
based on the settings for Min. cut
amount, Max. XY stepover, and Level
accuracy.
15. Double click Area Clearance1 in the
Operation Tree. Additional levels of cuts in the toolpath using the
Variable & Flats method
16. On the Area Clearance tab, change the
Depth Parameters Method to Variable & Flats, set the Min. cut amount to 0.05in.
17. Click OK to apply the changes and close the Operation Parameters dialog box.
18. Click Yes if SOLIDWORKS CAM displays a warning message asking if you want to
regenerate the toolpaths.
19. Notice the additional levels with respect to the previous settings.
1. Right click Z Level1 in the Operation tree and select New Avoid Area from the context
menu.
If a Flat End Tapered tool of this diameter is not available, click on the Add button and
use the Tools Database form to add the requisite tool to the Tool Crib.
9. On the Tapered Tool page, make sure the Taper angle is 10deg.
10. Click the Z Level tab.
11. In the Limits group box, for the First cut from option, select User Defined.
12. Click the Pick Point button.
13. The Define Point dialog box is displayed. Pick the top edge of one of the cones, then
click OK to close the dialog box.
14. In the Limits group box, for the Last Cut at option, select User Defined.
15. Click the Pick Point button.
16. The Define Point dialog box is displayed. Pick the bottom edge of the cone and then click
OK to close the dialog box.
17. Click OK to close the Operation Parameters dialog box.
You do not need to change any other
parameters since you copied the
parameters from the previous operation.
18. Click Cancel to close the New
Operation dialog box.
19. Observe that the toolpath was not
generated for the Z Level2 operation
(indicated by the still magenta color of the
Z Level2 item in the operation tree). This
is because when the parameters of Z
Level1 operation was copied to Z Level2,
the contain and avoid areas associated Z level toolpath to cut around the cones with
with that operation were also copied. a tapered tool
20. Left click the plus sign next to Z Level2 in the tree.
21. Right click Avoid Area2, select Delete on the context menu. Click Yes to confirm.
22. Right click Z Level2 in the Operation tree and select Generate Toolpath from the context
menu. The toolpath for this operation is successfully generated. Only the area around the
cones is cut.
23. Right click Z Level2 in the tree and select Simulate Toolpath on the context menu.
24. Click Run. The tapered tool cuts around the cones.
25. Click the Close button to exit the simulation.
3 Axis Mill 2
For 3 Axis operations, the XY extents will be within a contain area while machining over
and around the faces and surfaces in the Multi Surface feature. The contain area can be
defined either interactively using the New Contain Area command or automatically on the
Advanced tab in the Operation Parameters dialog box as shown in this tutorial.
The priority is to observe the XY shape of any interactively defined contain areas. If
interactively defined contain areas are suppressed or if none have been defined, then an
automatically generated XY contain area will be used.
OR
Click on the Generate Toolpath button
on the SOLIDWORKS CAM Command
Manager.
5. In the FeatureManager design tree,
position the pointer over the Stock
sketch item.
The Stock shape is represented by the
rectangular colored sketch.
LEGAL NOTICES
Patent Notices
SOLIDWORKS® 3D mechanical CAD and/or Simulation software is protected by U.S. Patents
6,219,049; 6,219,055; 6,611,725; 6,844,877; 6,898,560; 6,906,712; 7,079,990; 7,477,262; 7,558,705;
7,571,079; 7,590,497; 7,643,027; 7,672,822; 7,688,318; 7,694,238; 7,853,940; 8,305,376; 8,581,902;
8,817,028; 8,910,078; 9,129,083; 9,153,072; 9,262,863; 9,465,894; and foreign patents, (e.g., EP
1,116,190 B1 and JP 3,517,643).
eDrawings® software is protected by U.S. Patent 7,184,044; U.S. Patent 7,502,027; and Canadian
Patent 2,318,706.
U.S. and foreign patents pending.