CW Tutorial
CW Tutorial
TUTORIAL
www.teksoft.com
Table of Contents
CHAPTER 1 LEARNING 2 AXIS MILL BASICS 1-1
2 Axis Mill 1................................................................................................. 1-2
What You'll Learn................................................................................... 1-2
Steps to Generate Mill Toolpaths and NC Code in Part Mode ......... 1-2
Step 1: Model Part in SolidWorks or Import Part ............................ 1-3
Step 2: Change to CAMWorks Feature Tree ................................... 1-3
Step 3: Define the Machine .............................................................. 1-5
Step 4: Define the Workpiece........................................................... 1-8
Step 5: Define Machinable Features................................................. 1-9
Step 6: Generate Operation Plan .................................................... 1-13
Step 7: Adjust Machining Parameters ............................................ 1-14
Step 8: Generate Toolpaths ............................................................ 1-15
Step 9: Post Process Toolpaths....................................................... 1-17
2 Axis Mill 2............................................................................................... 1-20
What You'll Learn................................................................................. 1-20
Extracting and Working With Machinable Features ....................... 1-20
2 Axis Mill 3............................................................................................... 1-29
What You'll Learn................................................................................. 1-29
Defining the Workpiece From a Bounding Box.............................. 1-29
Extracting Machinable Features ...................................................... 1-30
Inserting Additional Part Setups...................................................... 1-31
Reorganizing Machinable Features ................................................. 1-32
Suppressing Machinable Features ................................................... 1-32
Inserting 2.5 Axis Features.............................................................. 1-33
Combining Machinable Features..................................................... 1-35
2 Axis Mill 4............................................................................................... 1-38
What You'll Learn................................................................................. 1-38
Defining the Workpiece from a Sketch ........................................... 1-39
Extracting Machinable Features ...................................................... 1-39
Defining Additional Features .......................................................... 1-40
Generating Operations..................................................................... 1-42
Adjusting Machining Parameters .................................................... 1-43
Deleting an Operation...................................................................... 1-43
Inserting an Operation ..................................................................... 1-44
Defining Program Zero.................................................................... 1-45
Sorting Operations........................................................................... 1-47
i
Table of Contents
ii
Table of Contents
iii
Chapter 1 Learning 2 Axis Mill Basics
This chapter provides an opportunity to learn CAMWorks 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 CAMWorks and may not
correspond to actual machining practices.
2 Axis Mill 1
What You'll Learn
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. Change to the CAMWorks Feature tree.
3. Define the Machine and modify the controller
parameters.
4. Define the Workpiece.
5. Define machinable features.
6. Generate the operation plan.
7. Adjust machining parameters.
8. Generate toolpaths.
9. Post process the toolpaths.
START
Adjust machining
Model part in parameters as Generate toolpaths
SolidWorks or needed
import part
Post process
Generate
Change to operation plan
CAMWorks
Feature tree Transmit file into
Define machinable CNC
features
Define machine
& change controller
parameters Define Workpiece END
The next 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 CAMWorks, you work
with a part that was previously modeled in SolidWorks. When you define the operations and
toolpaths, you will follow steps that are not explained in depth. This is done to show you the
basics of generating toolpaths from start to finish without getting into the details at this time.
Sample parts are provided for the exercises in this manual. When you install CAMWorks,
these files are installed automatically.
Step 1: Model Part in SolidWorks or Import Part
A part is a solid that is created with SolidWorks or imported into SolidWorks from another
CAD system via an IGES, Parasolid, SAT file, etc. This exercise uses an existing
SolidWorks part.
1. Open the part file MILL2AX_1.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
The FeatureManager design tree lists the features, sketches, planes
and axes in the part.
The tabs at the bottom of the tree are for moving between the
SolidWorks trees and the CAMWorks trees.
If the CAMWorks tabs are not visible, you can expand the size of
the tree. Position the cursor on the line that divides the tree from the
graphics area. When the cursor changes to a bar, drag the bar to the
right until the tabs display.
CAMWorks
toolbar
CAMWorks menu
Graphics area
CAMWorks
Feature tree
CAMWorks Menu
The CAMWorks menu lists the CAMWorks commands. The commands are explained in the
CAMWorks online Help. In addition to the CAMWorks menu, right-mouse shortcut menus
provide quick access to a variety of frequently used commands.
CAMWorks Toolbar
The CAMWorks toolbar provides access to the main CAMWorks commands found on the
CAMWorks menu. Clicking a toolbar button is the same as selecting a command from the
NC Manager level, regardless of the active item in the tree. The Options dialog box contains
a tab that allows you to select the buttons that display on the toolbar.
Step 3: Define the Machine
The machine includes information that identifies what to machine, how to machine it, and
the format of the NC output. Important parameters of the machine definition include:
Machine type mill or turn: The machine type defines the machinable feature set that
can be recognized automatically and defined interactively.
The icons that display in the tree identify the current machine as either mill or turn:
Mill Machine Turn Machine
An alternative machine can be selected at any time to output different G-code programs
for alternative machine tools. If the machine type changes, then all features and
operations will be deleted.
Tool crib: A subset of tools from the tool library that are commonly loaded into or used
with the current machine.
Controller: Also called a post processor. This post processor identifies the format of the
NC G-code output.
Define the machine:
1. Right click Mill machine - mm in the CAMWorks
Feature tree.
The shortcut menu displays. Right-mouse shortcut menus
provide quick access to commands that are appropriate for
whatever is highlighted in the tree.
2. Select Parameters on the shortcut menu.
8. Type 1001 for the Program Number and press the down
arrow on the keyboard.
9. Type Stainless for the Material and press the down
arrow.
10. Type 40mm for the Part Thickness and click OK.
Step 4: Define the Workpiece
The workpiece is the stock from which the part will be machined. The default workpiece is
the smallest cube (bounding box) that the part will fit into. Typically, this is not the size of
the stock you will be using. You can change the workpiece definition either by offsetting the
bounding box from the part or by defining the workpiece from a sketch and a height.
Currently, the sketch can be a rectangle or a circle.
In this exercise, you define the workpiece as a box offset from the part.
1. Right click Workpiece in the CAMWorks Feature tree and
select Edit Definition on the shortcut menu.
The Define Workpiece dialog box displays.
Most feature parameters are fixed; however, some parameters can be changed using the
Parameters command on the feature shortcut menu.
2. Right click Hole Pattern1 in the tree and select Parameters on the shortcut menu.
The Hole Parameters dialog box displays the number of components and the hole
parameters. Since there is no physical information about the type of hole, CAMWorks
allows you to define an attribute for the hole (Drill, Bore, Ream, Thread or a user-defined
attribute).
3. Click the down arrow next to Drill to see the choices.
4. Click Thread in the list.
The figure changes to reflect your choice and the Thread parameters are enabled.
5. Click the down arrow next to Thread and select Drill again, then click OK to exit the
dialog box.
6. Click the + next to Hole Pattern1 in the CAMWorks Feature tree.
The tree expands to display each individual hole.
7. Click the - next to Hole Pattern1.
Save the part with the machinable feature data:
8. Click the Options button the CAMWorks toolbar.
Note that you can also click CAMWorks on the menu bar or right click NC Manager in
the tree and select the Options command.
9. Make sure the Save/Restore part option on the General tab is checked, then click OK.
If this option is checked, when you save and close a part document, the machining data is
saved. When the part document is opened again, the machining data is restored along
with the part design information.
If this option is not checked, when you save and close a part document that contains at
least one CAMWorks Setup, a message indicates that Save/Restore is disabled. If you
click Yes, CAMWorks saves all CAMWorks data before closing the file. If you click No,
CAMWorks closes the part and discards any new CAMWorks data since the last save.
10. Click Save As on the File menu.
11. In the Save As dialog box, type cwex1 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.
CAMWorks provides an Auto save option on the General tab in the Options dialog
box for automatically saving your CAMWorks 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.
CAMWorks generates the operation plan for all the machinable features in Part Setup1.
The operations are listed in the CAMWorks Operation tree, which is accessed by clicking
the CAMWorks Operation Tree tab.
2. Click the CAMWorks Operation Tree tab at the bottom of the
tree.
The CAMWorks Operation tree displays. The CAMWorks Operation tree provides an
outline view of the operations for the machinable features. Operations are listed under the
Part Setup in the same order as the machinable features. At the top of the tree is the NC
Manager. The Workpiece and Machine items function the same as in the CAMWorks
Feature tree. You can change the workpiece size and shape and the controller definition
used by CAMWorks to produce G-Code.
The CAMWorks 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.
Step 7: Adjust Machining Parameters
The operations that are generated by CAMWorks are based on information stored in the
Technology Database. These operations are intended to be used as a starting point. Each
operation contains machining 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.
Edit operation parameters using the Parameters command on the shortcut menu:
1. Right click on Rough Mill5 (the operation generated for Irregular Pocket2) in the
CAMWorks Operation tree.
2. Select the Parameters command on the shortcut menu.
The Machining Parameters dialog box displays. This dialog box gives you access to all
the parameters used to define the toolpath.
General parameters for the type of toolpath include the method of machining, depth of
cut, step over, stock allowance, retract height, speeds and feeds. This dialog box also
gives you access to all the parameters for the tool you are using and allows you to select a
different tool.
3. Click the Roughing tab and change the Pocketing Pattern to Zigzag.
4. Click the Feature Options tab and change the Entry type to Entry Drill.
5. Click OK to exit.
Step 8: Generate Toolpaths
CAMWorks calculates toolpaths using the operation parameters and the feature's size and
shape.
1. Select one of the following options to generate toolpaths:
Right click Part Setup1 in the CAMWorks Operation tree and click Generate Toolpath on
the shortcut menu.
or
Click the Generate Toolpath button on the CAMWorks
toolbar. Clicking this toolbar button is the same as selecting
the command from the NC Manager level, regardless of the
active item in the tree.
CAMWorks calculates the toolpaths for each operation in the Part Setup.
You can also generate toolpaths for each operation individually by right clicking on an
operation and clicking Generate Toolpath on the shortcut menu.
2. Highlight the first operation in the tree, hold down the Shift key, then highlight the last
operation.
The toolpaths for all the operations display on the part showing the centerline of the
toolpath.
3. Click an operation in the CAMWorks Operation tree.
The toolpath for that operation displays.
As you click each operation, the toolpaths for that operation are displayed.
CAMWorks also provides the ability to step through the toolpath using the Step Thru
Toolpath command.
8. Right click an operation in the tree and select Step Thru Toolpath.
The Step Thru Toolpath toolbar displays. Step increment
9. Click the Forward one record button (single arrow) several times.
The active toolpath node is highlighted.
10. Set the multiple step increment to 5 and click the Forward Multiple Records button
(double arrow) several times.
11. Click the Goto End button.
The toolpath is completed.
12. Click the X button in the upper right corner to remove the dialog box.
Did You Know ...
CAMWorks provides an option to display the XYZ position of the tool in the
Message Window during Simulation and Step Thru Toolpath. To activate this
option, select the Options command on the CAMWorks menu or the NC Manager
shortcut menu. On the General tab, select the Message Window option. On the
Simulation tab, select the Display Coordinates option.
Step 9: Post Process Toolpaths
Post processing is the final step in generating the NC program file. This step translates
generalized toolpath and operation information into NC code for a specific machine tool
controller. CAMWorks creates NC code for each toolpath in the order the operation appears
in the CAMWorks Operation tree. When you post process a part, CAMWorks creates two
files: the NC program and the Setup Sheet. These are text files that you can read, edit and
print using a word processor or text editor.
In this exercise, you post process all the operations and generate the NC program:
1. Click the Post Process button on the CAMWorks toolbar.
or
Right click NC Manager in the Operation tree and click Post
Process on the shortcut menu.
The Post Output File dialog box displays so you can name 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.
If you are running CAMWorks in
Demo mode, the Post Output File
dialog box does not display because
you cannot save NC code in Demo
mode.
If the Post Process command is
grayed out on the CAMWorks menu or on a shortcut menu, make sure that you have
selected a post processor and generated the toolpaths.
2. Click the down arrow to the right of the Save as type box.
CAMWorks provides a list of commonly used extensions that you can select. For this
exercise, use the txt extension.
Did You Know ...
If you want change the default extension from txt to one of the ones in the list or if
you want a different file name extension for NC program files, you can edit or create
a .pinf file and specify the new extension. For more information on making these
changes, see the online Help.
3. If cwex1 is not in the File name text box, type cwex1, then click Save.
You do not have to type the extension if you are using the default .txt. Naming the post
output file the same as the part file is the most common way of saving parts and NC
programs. Both files can have the same name because they have different extensions.
2 Axis Mill 2
What You'll Learn
Extracting and Working With Machinable Features
CAMWorks 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,
CAMWorks provides both an automatic method of extracting features called Automatic
Feature Recognition (AFR), and an interactive method using the Insert 2.5 Axis Feature
function. A CAMWorks file can contain both types of features.
This exercise demonstrates some of the features that are identified automatically by the
Extract Machinable Features command.
1. Open the part file MILL2AX_2.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
2. Examine the part.
You can recognize various sizes and shapes of holes, bosses, pockets and slots.
It would appear that
CAMWorks extracts
features based on
SolidWorks features used
to create the part. As you
will see, this is not
necessarily so. Notice that
the design tree contains no
design features. This part
was imported into
SolidWorks. In this
exercise, you will see how
CAMWorks determines
machinable features.
3. Click the CAMWorks Feature Tree tab at the bottom of the tree.
4. Right click Mill machine Inch in the CAMWorks Feature tree and select the
Parameters command on the shortcut menu.
The Machine dialog box displays the Machine tab. This dialog box allows you to select a
machine definition, tool crib and controller.
On the Machine tab, Mill machine Inch is the Active machine. This machine definition
has been created for the CAMWorks exercises. When you use CAMWorks to machine
your own parts, select the machine tool you want to use to machine the part.
5. Click the Tool crib tab.
Rectangular Slot
Rectangular Pocket
Obround Boss
Rectangular Boss
2.5 Axis Pocket
Irregular Slot
Counterbore
Hole
Multi-stepped
Hole Countersunk
Hole
Rectangular
Corner Slot Hole
CAMWorks allows you to control the types of 2.5 and 3 axis features that are created by
AFR.
1. Click the Options button on the CAMWorks toolbar or select Options on the
CAMWorks menu.
2. Click the Features tab in the Options dialog box.
3. Notice that the defaults are set for CAMWorks to create hole, non-hole and boss features.
4. In the Feature types section, check the Face option.
If the Face option is checked, when CAMWorks creates a 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 workpiece.
5. Check the Tapered & filleted option.
When CAMWorks extracted features, the 2.5 Axis pocket was not found. If you check
this option, CAMWorks can automatically create features that meet the definition of
filleted and tapered features as created interactively using the Insert 2.5 Axis Feature
command:
The top and bottom of the feature are flat and parallel to the Part Setup direction.
The side wall can be vertical or a constant taper with a top or bottom fillet and/or a
top of bottom chamfer.
Corner fillets must be conical as defined by the taper angle of the feature.
6. Remove the check mark from the Boss option and check the Remove on Rebuild option,
then click OK.
If you were machining this part, you would not want to generate operations for the Boss
features that were found by AFR. You can delete the features or you can Rebuild the
features without the bosses as shown in this exercise.
Machinable features are recognized based on the part's geometry (the shape of a feature) and
topology (how the features are related to one another). However, not all attributes of a
feature can be determined from
the geometry and topology.
For example, AFR cannot
determine that a hole has been
threaded, reamed or bored.
CAMWorks allows you to
specify additional attributes to a
feature so that more appropriate
operations can be can be created.
1. Right click Hole1 in the tree
and select Parameters.
The Parameters dialog box
provides a geometric and
dimensional report on the
feature and allows you to
assign additional information
to the feature. In the case of
holes, you can identify that
the hole is to be drilled,
bored, reamed or threaded,
etc.
Depending on the attribute, a different machining process can be assigned. You can
change how each feature is processed by defining the sequence in the Technology
Database.
2. Click OK or Cancel to exit the dialog box.
3. Review the parameters of other machinable features to understand more about the
features.
Notice that AFR also created Part Setup1. The Part Setup defines the tool direction necessary
to machine these features.
1. Click Part Setup1 in the tree.
A triad displays on the part. The large arrow indicates
the machining direction. The other two arrows represent
the machining X and Y axes. The X machining direction
can be changed if necessary. For more information, see
the CAMWorks online Help.
The origin of the Part Setup is program zero for the Part
Setup. By default, the origin is set to a vertex or middle
of the top most feature. In most situations, you will want
to change this. You learn how to change the Part Setup
origin in Chapter 3.
If the triad does not display, click Redraw and select the Part Setup again.
When you select Generate Operation Plan, operations are created for every selected feature
based on the rules defined in the Technology database (TechDB). Operations are not
generated for suppressed features and features in the Recycle Bin.
In this exercise, you create an operation plan for an individual machinable feature and then
for all machinable features in the Part Setup.
1. Right click Rectangular Pocket1 and select Parameters on the shortcut menu.
2. Click the down arrow to display the Attributes list and select Coarse.
This is a system attribute that has been defined in the TechDB to generate a Rough Mill
operation for a Rectangular Pocket feature. After you have learned how to use
CAMWorks, you can modify system attributes to correspond to your requirements.
3. Click OK to exit the dialog box.
4. Right click Rectangular Pocket1 in the tree, select
Generate Operation Plan, then click the CAMWorks
Operation Tree tab at the bottom of the tree.
The Operation tree lists a Rough Mill operation for the
rectangular pocket.
5. Click the CAMWorks Feature Tree tab to return to the Feature tree.
6. Right click Rectangular Pocket1 and select Parameters on the shortcut menu.
7. Change the Attribute to Rough Finish in the Rectangular Pocket Parameters dialog box,
then click OK.
This attribute is a user-defined attribute that has been set up in the TechDB to generate
Rough Mill and Finish Mill operations for a Rectangular Pocket feature. You can modify
or delete the user-defined attributes and you can define additional attributes to customize
the TechDB.
8. Right click Rectangular Pocket1 in the tree, select Generate Operation Plan.
If Generate Operation Plan has been run
once and you select the command again,
CAMWorks displays a dialog box with
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.
9. Click Regenerate to delete the previous Rough Mill operation and generate a new
operation list.
10. Click the CAMWorks Operation Tree tab at the
bottom of the tree.
The Operation tree lists Rough Mill and Finish Mill
operations for the rectangular pocket.
11. Click the CAMWorks Feature Tree tab to return to the Feature tree.
12. Right click Part Setup1 in the Feature tree and select Generate Operation Plan on the
shortcut menu.
13. Click either Update or Regenerate in the Generate Operation Plan dialog box.
Since you have not changed any machining parameters for the Rough Mill and Finish
Mill operations that have already been generated, you could select either Regenerate or
Update. If you had modified these operations, you would want to select Update to
generate an operation list only for the features that do not have operations.
14. Click the CAMWorks Operation Tree tab at the bottom of the tree.
The CAMWorks Operation tree now contains operations for all machinable features in
the selected Part Setup.
15. Click the CAMWorks Feature Tree tab at the bottom of the tree.
16.Right click on MS Hole1 [MSH1(inch)] in the tree and select Go To First Operation on
the shortcut menu.
This command allows you to quickly locate the first operation that was generated for a
selected feature.
The Drill3 operation is highlighted in the Operation tree. In the TechDB, the attribute
[MSH1(inch)] has been defined to generate a single drill cycle for multi-stepped hole
features. Since multi-stepped holes can be any shape, you can define machining
sequences in the TechDB that are common for machining multi-stepped holes in your
facility.
To generate the NC code for this part, you would adjust the machining parameters as
required for the operations, insert a series of operations for the multi-stepped hole, generate
toolpaths, and post process the part.
2 Axis Mill 3
What You'll Learn
Defining the Workpiece from a Bounding Box
Inserting Additional Part Setups
Creating a Face Feature
Reorganizing Machinable Features
Suppressing Machinable Features
Inserting 2.5 Axis Features
Combining Machinable Features
In this exercise, assume that the part starts out as a casting and machining is required only for
the holes and certain faces.
In the first clamping position or Part Setup, you
will face the bottom of the part and drill the large
center hole and the three outside holes. In the
second clamping position or Part Setup, you will
machine off the top center face, and the three
yellow ears.
1. Open part file MILL2AX_3.SLDPRT in the
\examples folder inside the CAMWorks folder
(e.g., \program files\camworks\examples).
2. Click the CAMWorks Feature Tree tab
at the bottom of the FeatureManager design
tree.
3. Right click Mill machine Inch in the
Feature tree and select the Parameters command on the shortcut menu.
On the Machine tab, Mill machine Inch is the Active machine.
Click the Tool Crib tab and make sure Crib 1 is the Active tool set.
Click the Controller tab and make sure FANTUTM is selected, then click OK to exit
the Machine dialog box.
Defining the Workpiece From a Bounding Box
The workpiece size, shape and material type is defined next.
The workpiece definition serves several purposes:
Defines the stock size and shape for simulation.
Specifies the material type, which is used by the TechDB for feed/speed calculations.
By default, the workpiece shape is a cube whose dimensions enclose the part. For this
example, the part is machined from a casting that has .1in material to be removed from the
top and bottom surfaces. Since CAMWorks currently defines the workpiece as either a
rectangle or a round bar stock, you will use the default rectangle shape and offset the
minimum workpiece size by .10in.
1. Right click the Workpiece in the CAMWorks Feature tree and select Edit Definition
on the shortcut menu.
2. Change the Offset to .1in and press Enter.
3. Click OK.
Extracting Machinable Features
Before CAMWorks extracts machinable features, you can customize AFR to eliminate Boss
features:
1. Click the Options button on the CAMWorks
toolbar or select Options on the CAMWorks menu.
2. Click the Features tab in the Options dialog box.
3. Remove the check mark from the Extract Boss
features option.
4. Make sure the Face option is not checked.
CAMWorks can recognize some Face features
automatically when you select the Face option.
However, for some parts you may need to define a
Face Feature interactively as explained in this
exercise.
5. Click OK.
6. Click the Extract Machinable Features button on the CAMWorks toolbar or right
click NC Manager in the tree and select Extract Machinable Features on the shortcut
menu.
CAMWorks creates the Part Setups necessary to machine all of the machinable features
that are recognized.
Other than drilling, the only additional operations needed to machine this part are facing
cycles. CAMWorks may not be able to find all features on a part. On complex parts, AFR
may not recognize all possible features that you want to machine or AFR may recognize
a feature that might not be suitable for the intended machining process. When this occurs,
you can define these features interactively.
For learning purposes, in this exercise you delete the Irregular Corner Slot features and
insert them interactively.
7. Hold down the Shift key on the keyboard and click each Irregular Corner Slot in the tree
to highlight the items, then select Delete on the shortcut menu.
8. 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.
9. Click the minus sign to the left of the Recycle Bin to collapse it.
10. Click Part Setup1 in the tree and notice the machining direction indicated by the triad that
displays in the graphics area.
Inserting Additional Part Setups
Part Setup1 defines a tool direction pointing down from the top of the part. For this exercise,
you want to face the underside of the part first. Before you can machine the underside, you
must define a Part Setup for that tool direction. New Part Setups are inserted into the
CAMWorks Feature tree by selecting a part face that is normal to the tool axis of the Part
Setup.
1. Rotate the part so that the underside surface is visible.
2. Right click Part Setup1 in the CAMWorks Feature tree and select Insert Part Setup.
The Part Setup dialog box displays.
3. In the graphics area, pick the underside face.
First, you will define a Face Feature for the top of the boss.
3. Click the down arrow to display the Feature Type list and select Face Feature.
4. Pick the top center face (magenta) for the top of the boss as shown in the figure.
Face <1> displays in the Entities selected list.
5. Click the Next button.
6. In the 2.5 Axis Feature Wizard: End Conditions dialog box, make sure the Edit feature
profiles option is not selected, then click Finish.
The 2.5 Axis Feature Wizard: Feature & Cross Section Definition dialog box displays
again and you can continue to define 2.5 Axis features for the three ears.
7. Click the down arrow to display the Feature Type list and select Corner Slot.
The ears 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 ear on
the open air edges.
Make sure the Multiple option is
selected. This option allows you to
define multiple similar features by
selecting multiple faces, sketches
and edges.
A sketch with geometry representing
multiple features can also be
selected. This option can be selected
for Pocket, Slot, Corner Slot, Boss,
Hole, and Open Profile feature
types.
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, then release the mouse button.
7. Experiment by changing parameters for the operations and regenerating the toolpaths.
CAMWorks provides the ability to simulate toolpaths showing the tool movement and the
resulting shape of the part.
8. Click the Simulate Toolpath button on the CAMWorks toolbar.
2 Axis Mill 4
What You'll Learn
Defining the Workpiece from a Sketch
Defining Additional Machinable Features
Adjusting Machining Parameters
Deleting an Operation
Inserting an Operation
Defining Program Zero
Sorting Operations
This lesson guides you through the steps to machine the part shown below. The bottom
depressions of the part will not be machined in this exercise.
Sequence of machining:
Drill two holes on each
end of part. Top Face
Face top of part.
Face depression on left
side of part.
Finish profile the hole on
the left.
Rough and finish
Left Depression
rectangular pocket.
Finish machine three
obround holes.
Rough and finish outside part shape from stock
1. Open the part file MILL2AX_4.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
2. Click the CAMWorks Feature Tree tab at the bottom of the tree.
3. Right click Mill machine Inch in the Feature tree and select Parameters.
On the Machine tab, Mill machine Inch is the Active machine.
Click the Tool crib tab and make sure Crib 1 is the Active tool set.
Click the Controller tab and make sure FANTUTM is selected, then click OK to exit
the Machine dialog box.
The 2.5 Axis Feature Wizard: Edit Feature Profiles dialog box displays. When a Corner
Slot or Slot feature is defined from a part face, CAMWorks automatically determines the
open air edges. If necessary, you can change the open air edges.
6. Click the segments in the Profile Segments list to view the open air edges selected by
CAMWorks. You do not need to change any segments.
7. Click Finish.
Irregular Corner Slot1 is created and added to the CAMWorks Feature tree.
The second 2.5 Axis feature will be used to machine the perimeter of the part. For this
example, you will rough the part from the workpiece, then finish machine the perimeter of
the part. In order to do this, you define the workpiece perimeter as an Open Pocket and the
part as an island in this pocket.
By defining this 2.5 Axis feature as an
Open Pocket, the toolpath will extend
beyond the workpiece perimeter so that
all of the material will be removed. In
comparison, if the workpiece perimeter
were defined as a simple Pocket, the
roughing toolpath would be constrained
within the perimeter of the workpiece
leaving unmachined areas in the
corners.
1. In the 2.5 Axis Feature Wizard:
Feature & Cross Section Definition
dialog box, select Open Pocket for
the Type.
2. In the Available sketches list, select
the sketch labeled Stock Profile and
click Next.
3. In the 2.5 Axis Feature
Wizard: End Conditions
dialog box, set the End
condition Type to Upto
Workpiece.
4. Select the Through option.
With this option checked, the
feature will be machined
slightly deeper than the
workpiece to remove all
material.
5. Click Next.
The 2.5 Axis Feature Wizard:
Island End Conditions dialog
box displays.
Generating Operations
Before the operation plan is generated, attributes can be assigned to features to affect the
operations that are created for each feature.
1. Right click Rectangular Pocket1 and select Parameters.
2. In the Rectangular Pocket Parameters dialog box, set the Attribute to Coarse, then click
OK.
This system attribute has been set up in the TechDB to
generate a Rough Mill operation for a Rectangular
Pocket feature.
3. Click the Generate Operation Plan button on the
CAMWorks toolbar or right click Part Setup1 in the
tree and select Generate Operation Plan.
4. Click the CAMWorks Operation Tree tab at the
bottom of the tree.
The operations are listed in the Operation tree.
Deleting an Operation
In some cases, it may be desirable to delete operations that are created automatically. In this
example, Rough Mill and Finish Mill operations were created for the Obround Pocket
Pattern1 machinable feature. Based on the tool that is going to be used for the obround hole,
a Finish Mill operation is all that is needed. You can delete the Rough Mill operation.
1. In the CAMWorks Operation tree, right click Rough Mill5 (the roughing operation for
the obround slots) and select Delete on the shortcut menu.
2. Click Yes to confirm you want to delete the operation. The operation is removed from the
tree.
Inserting an Operation
The larger hole on the right has been drilled. In this example, you also want to finish mill
around the inside of the hole. To do this, you need to add a Finish Mill operation.
1. Right click Drill1 in the CAMWorks Operation tree
and select Insert Hole Operation.
The Insert hole operation dialog box displays.
Generate toolpaths:
1. Click the Generate Toolpath
button on the CAMWorks toolbar or
right click Part Setup1 in the
CAMWorks Operation tree and select
Generate Toolpath.
2. Click the first operation in the tree,
hold down the Shift key and click the
last operation in the tree.
The toolpaths that were generated for
all operations display.
Sorting Operations
When the Generate Operation Plan command is run, operations are created for each feature
in the Feature tree in the order listed. As shown above, operations can also be inserted
manually and deleted. After making these changes, it is possible that the machining order is
not in the most efficient sequence. Using drag and drop, operations can be reordered into an
optimized sequence; however, this could become time consuming for a part that includes
dozens of operations. To make the ordering task easier, CAMWorks provides a Sort
command that sorts operations based on their type, depth and tool.
1. Right click Part Setup1 and select Sort Operations.
The Sort Operations dialog box displays.
2. On the Process tab, remove the check mark from the Process complete feature option.
When this option is checked, all operations for a given feature will be sorted 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. Select the Sort tab.
This page shows the order in which the operations will be sorted. More information on
sorting operations can be found in the CAMWorks online help.
4. Click the Apply button.
Note that the operations have been sorted 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.
5. Click the OK button.
If required, the operations can still be reordered manually using drag and drop.
6. Right click Part Setup1 and select Simulate Toolpath.
7. Run the simulation and note the changes.
8. Save the part.
This chapter provides an opportunity to learn more about CAMWorks 2 Axis Mill.
The exercises in this chapter are intended to show you how to use CAMWorks and may not
correspond to actual machining practices.
2 Axis Mill 5
What You'll Learn
Setting Attributes and Generating Operations
Sorting and Sequencing Operations
Machining Island Tops
Changing the Part Setup Origin
Combining Operations
1. Open the part file MILL2AX_5.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
Since this part is rectangular, you do not have
to machine the outside of the part. AFR will
find the holes, bosses, slot, corner slots and
open pocket features.
2. Click the CAMWorks Feature Tree tab at
the bottom of the SolidWorks Feature tree.
3. Right click Mill machine mm in the
Feature tree and select Parameters.
On the Machine tab, Mill machine mm is
the Active machine.
Click the Tool Crib tab and make sure Tool
Crib 1 (metric) is the Active tool set.
Click the Controller tab and make sure
FANTUTM is selected, then click OK to exit the dialog box.
4. Right click on the Workpiece in the CAMWorks Feature tree and select Edit
Definition on the shortcut menu. The Define Workpiece dialog box displays.
5. Change the Offset to 1.00mm and press Enter.
6. Click the Material button in the top right corner of the dialog box. The Workpiece
Material dialog box displays.
7. Select a material in the pulldown list, then click OK.
8. Click OK to close the Define Workpiece dialog box.
9. Click the Options button on the CAMWorks toolbar or select Options on the
CAMWorks menu.
10. Click the Features tab in the Options dialog box.
11. In the Feature types section, make sure the Face option is not checked and click OK.
12. Click the Extract Machinable Features button on the CAMWorks toolbar or right
click on the NC Manager in the tree and select Extract Machinable Features.
Automatic Feature Recognition analyzes the model
and extracts the features to machine. The tree
displays the list of features that were found.
An Open Pocket feature was created with the
Obround Boss and the two Rectangular Bosses
as islands.
The two rectangular bosses were extracted as a
Rectangular Boss Pattern.
The Rectangular Corner Slots were not extracted as a Pattern Feature because they are
different sizes.
Did You Know ...
The default machining sequence is based on the order that the machinable features
appear in the list. Using drag and drop, you could rearrange the features so that they are
in the order that you would like them to be machined. However, the CAMWorks
Operation tree allows operations to be automatically sorted and interactively sequenced
(as explained below) so it is unnecessary to reorder features.
3. Check the Machine island top option so that the islands on the top of the part are faced
off.
4. Change the Pocketing Pattern to Zigzag.
This option creates parallel lace cuts with the cuts alternating direction. Between each
lace cut, the tool stays down in the material.
5. Click OK.
Changing the Part Setup Origin
CAMWorks creates Part Setups automatically with the Part Setup depth set to the highest
face on the recognized features and the Part Setup origin on the edge of the first recognized
feature on the top of the part. The Part Setup origin defines the G-code program zero location
using the machine tool's fixture location, Work Coordinates and/or Sub Coordinate offsets.
The Part Setup origin position is based on the SolidWorks origin. You can move the Part
Setup origin to a more useful location for
machining.
1. Left mouse click on Part Setup1 in the tree.
Notice where the origin is located on the part.
2. Right click on Part Setup1 and select
Parameters.
The Part Setup Parameters dialog box displays.
Combining Operations
Notice that several roughing and finishing operations use the same tool. Similar operation
types that use the same tool can be combined into one operation.
1. Right click on Part Setup1 in the tree and select Combine Operations.
2. Select Finish Mill, then click OK.
CAMWorks combines similar Finish Mill operations that use the same tool.
3. Click the + next to the Finish Mill operations in the tree to expand the items.
Several of the operations were combined because they use the same size tool. Notice that
the order of the operations was maintained. The rough operations are first, followed by
the finish operations, and finally the hole operations.
Before Combining After Combining
2 Axis Mill 6
What You'll Learn
Interactively Inserting 2.5 Axis Features
Inserting Operations
Avoiding Clamps
Changing Machining Parameters and Tools
Inserting a Part Setup and Face Feature to Cut the Bottom of the Part
Customizing Toolpaths
This exercise involves a non-rectangular part that requires a number of interactive toolpaths.
1. Open the part file MILL2AX_6.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
Since this part is non-rectangular, the
toolpaths to machine the outside of the
part will have to be added. In addition,
two face cuts will be added. All
machining will be from the top of the
part.
2. Click the CAMWorks Feature Tree
tab at the bottom of the SolidWorks
Feature tree.
3. Right click Mill Machine mm in
the Feature tree and select Parameters on
the shortcut menu.
On the Machine tab, Mill machine mm is the Active machine.
Click the Tool Crib tab and make sure Tool Crib 1 (metric) is the Active tool set.
Click the Controller and make sure FANTUTM is selected, then click OK.
4. Right click on the Workpiece and
select Edit Definition.
5. Click the Sketch option button.
6. Select Stock from the Sketch pulldown
list.
7. Set the Height to 45.00mm and press
Enter.
8. Click OK to close the Define Workpiece
dialog box.
9. Click the Extract Machinable Features button on the CAMWorks toolbar or right
click the NC Manager in the tree and select Extract Machinable Features.
Automatic Feature Recognition analyzes the model for
features to machine and the tree displays the list of
Machinable Features that CAMWorks has found. Only
the large hole and the two internal pockets have been
found. Additional features will be defined interactively to completely machine the part.
Inserting 2.5 Axis Features
You need to insert 2.5 Axis Features to cut the outside of the part and the two faces.
Insert the first 2.5 Axis Feature to define the area to machine around the outside of the part.
1. Right click on Part Setup1 and select Insert 2.5 Axis Feature. The 2.5 Axis Feature
Wizard starts and the Feature & Cross Section Definition dialog box displays.
2. Select Face Feature for the Feature
Type.
3. Pick the top face of the part at the
top of the hole.
The Entities selected list shows
Face<1>.
4. Uncheck the Check for taper &
fillets option.
5. Click Next.
The 2.5 Axis Feature Wizard: End
Conditions dialog box displays.
6. Make sure Use workpiece extents
is checked so that the entire top of
the material is faced off.
7. If Edit feature profiles is checked,
remove the check mark.
8. Click Finish to complete the
feature.
The Feature & Cross Section
Definition dialog box displays
again so you can continue inserting
features.
Insert the 2.5 Axis Feature for the second face cut:
1. Make sure the Feature Type is set to Face Feature, then
pick the face at the top of the pockets as shown in the
figure.
2. Click Next.
3. In the End Conditions dialog box, you can use the
defaults.
4. Click Finish to complete the feature.
The third 2.5 Axis Feature will be the area around the outside of the part. The workpiece was
defined so that the bottom of the part is 5mm off the bottom of the workpiece. If the feature
is defined as having a bottom depth equal to the bottom of the part, then a 5mm skin will
remain to hold the part to the clamp.
1. Rotate the part so that you can see the bottom face.
2. Make sure the Feature Type is set to Face Feature, then pick
the bottom face as the entity to be machined.
3. Click Next.
4. Rotate the part back to view the top.
Inserting Operations
1. Click the Generate Operation Plan button on the CAMWorks toolbar or right click
on Part Setup1 and select Generate Operation Plan, then click the CAMWorks Operation
Tree tab at the bottom of the tree.
The Operations list should look similar to the example
on the right. Note that the three Face Features are
machined only by a Rough Mill operation. This was
defined in the Technology Database. In the case of the
second and third face features, you also want finish
operations. In the next series of steps, you add
Operations to existing Operations.
2. Right click on Rough Mill2 and select Insert Operation.
The Insert Operation dialog displays.
3. Change the Type of operation to Finish Mill.
4. Change the Select features from
option to Operations List.
5. Choose Rough Mill2 from the list,
then click the
Add -> button.
The feature (Face Feature2) that is
associated to this operation is listed
in the Feature list.
6. Click OK.
4. Right click RoughMill1 and select Insert Avoid Area on the shortcut menu.
5. In the 2 Axis Wizard dialog box, pick Clamp 2 and click Finish.
6. Repeat these steps to define avoid areas for RoughMill2 and RoughMill3.
Changing Machining Parameters and Generating Toolpaths
Before generating toolpaths, we will modify some of the operation parameters. Typically,
choosing parameters for machining is based on personal preference. The following is an
example for the purposes of making you more comfortable in making these changes.
1. Right click Rough Mill1 in the tree and select Parameters.
2. On the Roughing tab, make sure the Cleanup pass option is not checked, then click OK.
3. Repeat steps 1 and 2 for every Rough Mill operation in the list.
If the general rule is to not generate a cleanup pass, the default could be set to off in the
Technology Database.
4. Right click Finish Mill4 and select Parameters.
Customizing Toolpaths
In the final part of this exercise, you change some of the Part Setup and operation parameters
to customize the toolpaths.
1. Change the orientation to Back view and zoom up on the toolpath.
2. Right click on Finish Mill3 in the tree and select Parameters.
3. On the Mill Tool tab, set the Cut diameter to 10mm.
4. Click the Leadin tab and change the Leadin Type to Perpendicular.
5. Set the Leadin Amt. to 5mm.
6. Pick the lower edge of the feature to change the
toolpath start location and click OK.
The pierce point displays as a square marker in
the middle of the edge because the Mid-point
option is selected.
7. Right click on the same Finish Mill operation and select Generate Toolpath.
8. Rotate the part and notice the leadin line at the
start of the Finish Mill tool path. The angle is
perpendicular to the start angle at the beginning
of the arc.
You can see the SolidWorks origin. Next, you
will use that as the start of the leadin.
9. Right click on the Finish Mill3 operation and select Parameters again.
10. Click the Leadin tab and set the Leadin Type to None.
11. Click the Feature Options tab.
12. For the Entry Type, use the default None.
With this option, the end mill feeds down in Z at the specified entry point.
13. Rotate the part, if necessary, and pick the SolidWorks origin with your mouse.
The entity displays in the Entities selected list.
14. Click OK.
15. Right click on the same Finish Mill operation
and select Generate Toolpath.
The start of the leadin changes to the origin
point that was selected. This acts as a leadin
even though the Leadin Type was set to None.
16. Right click Part Setup1 in the tree and select Post Process.
The Post Output File dialog box displays.
17. Use either the default file name or type a different name and save the file.
18. Click the Run button in the Post Process Output dialog box to output the G-code file.
19. After reviewing the code, click OK to close the dialog box.
2 Axis Mill 7
What You'll Learn
Interactively Inserting 2.5 Axis Features
Inserting Engrave Features
Generating an Operation Plan and Adjusting Machining Parameters
Updating Toolpaths for Design Changes
1. Open the part file MILL2AX_7.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
2. Click the CAMWorks Feature Tree tab at the bottom of the tree.
3. Use the default Mill machine Inch, controller and active tool crib (as defined in the
Machine dialog box).
4. Right click on the Workpiece and select Edit Definition.
The default bounding box displays on the part.
5. Click OK to use this workpiece.
6. Click the Extract Machinable Features button on the CAMWorks toolbar.
AFR extracts features to machine and generates the Part Setups needed to machine these
features.
Defining Features Interactively
In the following exercises, you edit the Open Pocket feature to machine the top of the flange
and insert features to machine the perimeter of the part and the four corner pockets.
Edit the Open Pocket feature to machine only the top of the
flange.
1. Right click Open Pocket1 in the Feature tree and select Edit
Definition on the shortcut menu.
2. In the 2.5 Axis Feature Wizard: End Conditions dialog box,
remove the check mark from the Use Workpiece extents
option.
By default, CAMWorks uses the extents of the workpiece
volume to define open pocket features from. In this feature,
you want to machine only the top of the flange.
3. Click Finish.
Insert Pocket features to machine the bottom faces of the four corner pockets.
1. Change the Feature Type to Pocket.
2. Make sure the Multiple option is selected.
This option allows you to define multiple
similar features by selecting multiple faces,
sketches and edges.
3. Pick the faces on the bottom of the 4 corner
pockets and click Next.
4. Pick the face on the top of the flange for the
end condition.
5. Click Finish, then click Close to exit the wizard.
The features are listed in the tree in the order
you inserted them. This is the order they will be
machined when you generate an operation plan.
6. Use drag and drop to reorder the features in Part Setup2 so that Open Pocket1 is first and
Irregular Boss1 is last.
5. Make sure the Operations list displays in the left list box, then hold down the Shift key
and select the three operations in the list box.
6. Click the Add button.
The operations are added to the Features or operations list on the right.
7. Click OK.
Finish Mill3, Finish Mill4 and Finish Mill5 are removed from the tree and the Irregular
Pocket features are listed under Finish Mill1.
8. Right click Finish Mill2 in the tree and select Parameters.
By combining operations for the Irregular Pockets, you have to change the parameters
only once instead of for each operation.
9. On the Tool tab, make sure the current tool is a .38in flat end mill.
If a different tool is selected, click the Turret tab and select a .38in flat end mill, click the
<- Replace button, then click Yes to replace the corresponding holder.
10. Click OK to exit the Machining Parameters dialog box.
11. Look at each Center Drill operation in the tree and check the size of the tool selected by
the TechDB.
The tool for each Center Drill operation should be a #3 60 degree center drill with a .11in
diameter. If a different tool is listed in the tree, right click the operation and select
Parameters. Then, click the Turret tab and select the correct tool in the Tool Crib.
12. Right click on Finish Mill8 in the tree (the Finish Mill operation for the Irregular Boss)
and select Parameters.
13. On the Mill Tool tab, make sure the current tool is a .5in flat end mill.
If it is not, click the Turret tab, select a .5in flat end mill in the Tool Crib, click the
<- Replace button, then click Yes to replace the corresponding holder.
14. Click OK.
15. Click the Generate Toolpath button on the CAMWorks toolbar or right click NC
Manager in the tree and select Generate Toolpath.
CAMWorks generates toolpaths based on the information in the Technology Database.
Associating Machining Information After Design Changes
One of the unique features of CAMWorks is the ability to re-apply, or associate, machining
information to a part after the size or shape of the part has been modified. This associative
action is done through the CAMWorks Rebuild process. Maintaining this associativity is a
complex process and may require user interaction to help reconcile unresolved associations.
In this exercise, you change the size of the four 1.00in diameter holes in the center of the
part.
1. Click the FeatureManager Design tab at the bottom of
the tree.
2. Right click on one of the 1.00in diameter holes and
select Edit Sketch.
3. Change the 1.00in dimension to 1.25in.
If the machinable
features from the
original
part shape cannot be
associated
automatically to
machinable features
created after a model
change, both the
current and new
features display in
the Associate
Features dialog box
and you can interactively resolve which new features are associated to current features.
7. Click Hole Pattern1 in the Current features list.
When a Current feature is selected, operations used to machine the feature are listed
under the Operation List for Current Feature. For visual confirmation, when a Current
feature is selected in the list, an red outline of the feature displays on the part.
8. Click on Hole Pattern8 in the New features list.
The Associate button is enabled.
9. Click the Associate button.
When you click the Associate button, CAMWorks replaces the selected Current feature
with the selected New feature in every operation that contains the Current feature. The
New feature is removed from the list and the Current feature icon changes from a red
exclamation mark to a green resolved marker.
17. On the Simulate Toolbar, make sure the Tool Mode button and the Show
Animation buttons are selected, then set the following display options:
Tool and Holder Display = Shaded, Translucent, or Wireframe
2 Axis Mill 8
What You'll Learn
Extracting Machinable Features and Generating Operations
Creating an Entry Drill Operation and Generating Toolpaths
Specifying a Tool Overlap on Open Air Segments
Using an Avoid Area
Defining Rapid and Clearance Planes
1. Open the part file MILL2AX_8.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
2. Click the CAMWorks Feature Tree tab at the bottom of the tree.
3. Use the default Mill machine Inch.
Extracting Machinable Features and Generating Operations
1. Click the Extract Machinable Features button on the CAMWorks toolbar or right
click NC Manager and select Extract Machinable Features.
Automatic Feature Recognition creates the Part Setups necessary to machine all of the
machinable features that are recognized. In order to machine the open profile on the right
side of the part with a keyway cutter, you would interactively insert the features as
explained in exercise TechDB9 in Chapter 7.
2. Right click Part Setup1 in the tree and select Generate Operation Plan.
Note that if you click the Generate Operation Plan button on the CAMWorks toolbar,
operations will be generated for all Part Setups. For this exercise, you only need the
operations in Part Setup1.
3. Click the CAMWorks Operation Tree tab at the bottom of the tree.
The operations are listed in the CAMWorks Operation tree.
Creating an Entry Drill Operation and Generating Toolpaths
1. Right click Rough Mill2 in the CAMWorks Operation tree and select Parameters.
If RoughMill2 is not the operation generated for Irregular Pocket1, the large pocket on
top of the part, then select the applicable rough operation.
2. Click the Roughing tab in the Machining Parameters dialog box and make sure the
Pattern is set to Pocket Out.
3. Click the Feature Options tab.
This page contains parameters that allow you to set the entry type, start location, retract
point and the machining depth for the machinable features associated to the Rough Mill
operation.
4. Click the down arrow next to the Entry type Method and select Entry Drill.
The Generate Operation Plan command does not create Entry Drill operations. If this
option is selected, an Entry Drill operation is created
automatically each time toolpaths are generated for the finish
operation. The XY location for the entry drill is at the same
position as the specified Entry Point.
5. Click in the salmon colored Entities selected box in the Entry
point section and pick the edge of the upper hole indicated by
the arrow.
6. Click in the Entities selected box in the Retract point section
and pick the edge of the lower hole indicated by the arrow.
7. Click OK to exit the
Machining Parameters dialog
box.
8. Right click Part Setup1 in the
CAMWorks Operation tree
and select Generate
Toolpath.
Toolpaths are created for all
operations in this Part Setup.
9. Left click the Entry Drill
operation in the tree.
The drill toolpath displays at
the hole you selected as the
entry point.
10. Left click Rough Mill2 or the
applicable operation for the large pocket.
11. Rotate the part and notice that the toolpath starts at the specified hole for the entry drill
and ends at the hole specified as the retract point.
Specifying a Tool Overlap on Open Air Segments
When machining an Open Pocket, Slot, Corner Slot or Face Feature, the Feature Options tab
in the Machining Parameters dialog box allows you to specify how much to overlap the air
segment edges for 2 Axis rough and finish operations. The amount is specified as a percent
of the tool diameter up to 150%.
1. Left click Rough Mill1 in the tree.
This should be the operation for the Rectangular
Slot.
2. Zoom up on the toolpath and rotate the part to view
the open slot toolpaths. The toolpath was generated
with the overlap set at 75% of the tool diameter.
Part2
Since this part is rectangular, you do not have to machine the outside of the part. AFR will
find the holes, bosses, slots, pocket and corner slots.
Open the part file MILLP2.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
Change to the CAMWorks Feature tree.
Use the default Mill machine mm
machine, controller and active Tool Crib.
Right click on the Workpiece and select
Edit Definition. Change the bounding box
Offset to 1mm.
Click the Extract Machinable Features
button on the CAMWorks toolbar.
Right click on the Hole Pattern2 feature
and select Parameters. Change the
Attribute to Ream.
Click the Generate Operation Plan button
on the CAMWorks toolbar.
Switch to the CAMWorks Operation tree.
Using the Sort Operations command, reorder to the operations so that the Rough Mill
operations are first, followed by the Finish
Mill operations and finally the hole
operations.
Right click on the Part Setup and select
Combine Operations to merge operations
that use the same tool.
In the Combine Operations dialog box,
select the Rough Mill, Finish Mill and
Center Drill options.
Right click Rough Mill1 in the tree and
select Parameters. On the Mill Tool tab,
change the Protrusion to 65mm.
Click the Generate Toolpath button on the
CAMWorks toolbar.
Click the Simulate Toolpath button on the CAMWorks toolbar. Run the simulation.
Click the Post Process button on the CAMWorks toolbar and generate the NC code.
This chapter provides an opportunity to learn CAMWorks 3 Axis Mill through a step by step
hands-on tour of the features and functions.
We recommend that you go through the exercises in Chapter 1 and Chapter 2 first. In
addition to learning how to generate 2 axis mill toolpaths, these exercises explain basic
functions and procedures that are used to generate both 2 and 3 axis mill toolpaths and NC
code.
The exercises in this chapter are intended to show you how to use CAMWorks and may not
correspond to actual machining practices.
3 Axis Mill 1
This exercise provides an introduction to generating toolpaths and NC code for 3 axis
machining.
8. Select Sketch.
9. In the Sketch dropdown list,
select Stock OD.
The rectangular sketch
representing the perimeter of
the stock is highlighted.
10. Set the Height to 1.5in and
press Enter.
11. Click OK.
Define the machining direction, which will be normal to the face indicated below:
12. Right click Workpiece in the Feature tree and
select Insert Part Setup on the shortcut menu.
13. Pick the top face.
14. Make sure the Face
option is not checked,
then click OK.
Part Setup1 is added to
the tree.
4. Click Run.
5. Click the X button to exit the simulation.
6. If you were generating the NC program for the toolpaths, the last step would be to
click the Post Process button on the CAMWorks toolbar and post process the part.
3 Axis Mill 2
What You'll Learn
Inserting a Part Setup
Creating a 3 Axis Feature
Generating Z-level Rough and Finish toolpaths
Adding levels and machining depths for 3 Axis Rough toolpaths
Changing 3 Axis Finish and Rough operation parameters to generate Core toolpaths
1. Open the part file MILL3AX_2.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
2. Click the CAMWorks Feature Tree tab at the bottom of the FeatureManager design
tree.
Define the machine:
3. Right click Mill machine - Inch in the Feature tree and select Parameters.
On the Machine tab, Mill machine Inch is the Active machine.
Click the Tool Crib tab and make sure Crib 1 is the Active tool set.
Click the Controller tab and make sure FANTUTM is selected, then click OK to exit
the Machine dialog box.
Define the workpiece:
4. Right click the Workpiece in the tree and select Edit Definition on the shortcut menu.
5. In the Define Workpiece dialog box, select Sketch for the Define workpiece from option
and select Stock Box for the Sketch.
6. Set the Height to 1.3in and press Enter.
7. Click OK.
Inserting a Part Setup and Creating a 3 Axis Feature
Insert the Part Setup and create a 3 Axis Feature:
1. Right click the Workpiece and select Insert Part Setup.
2. Pick the top of the round cone shown in the figure.
3. Make sure the Face option is not checked, then click OK.
4. Right click the Part Setup in the tree and select Insert 3 Axis
Feature.
5. In the Faces to cut section, click the Select All button.
6. For the Attribute, select Zlevel-SemiCav.
7. Click OK.
The .185in
depth of cut
has left a
large amount
of material at
these levels.
A cut is made at the Allowance amount above the lowest flat face.
When you use the Generation 2 Engine, additional options are provided for controlling the
start and end depths of the toolpath. For example, if you use another operation to face the top
of the cavities, you can start the toolpath at the top of the cavities.
4. Right click 3 Axis Rough Mill1 in the tree and select Parameters.
5. Click the Feature Options tab.
6. In the Containment section, change the First cut from option to Top of cavity.
7. Click OK.
8. Right click 3 Axis Rough Mill1 in the tree and select Generate Toolpath.
CAMWorks calculates the toolpath and deletes the cuts above the top of the cavities.
Notice the first
toolpath level.
9. Right click 3 Axis Rough Mill1 in the tree and select Parameters.
10. On the Feature Options tab, change the First cut from option to Top of feature and set the
Offset to -.15in, then click OK.
11. Right click 3 Axis Rough Mill1 in the tree and select Generate Toolpath.
If you use the Generation 1 processing engine, after the toolpaths have been generated
for a 3 Axis Rough operation, machining depths can be interactively added or subtracted
using the Z Level Edit tab in the Machining Parameters dialog box. The Z Level table shows
the levels and depths that were generated based on the settings for the First cut and
Subsequent cut parameters on the Rough tab. You can use this table to add and delete Z
levels and/or change the depth of each pass. When the toolpath is regenerated, it is updated
based on the Z depths specified in this table.
Generating Core Toolpaths for Finish and Rough Operations
Change the 3 Axis Z-level Finish operation to generate a core toolpath:
1. Right click 3 Axis Finish Mill2 in the tree and select Parameters.
2. On the Finish tab, set the Mach. deviation to .005in and click OK.
3. Right click 3 Axis Finish Mill2 in the tree and select Generate Toolpath.
4. Left click 3 Axis Finish Mill2 in the tree.
5. Rotate the part and notice that the toolpath does not cut the outer portion of the part. The
toolpath is contained such that the full diameter of the tool is within the silhouette of the
feature as seen from the Part Setup direction.
6. Right click 3 Axis Finish Mill2 and select Parameters.
7. Click the Finish tab and change the Z level to Core.
The Z level finishing pattern provides options to specify whether the toolpath is
contained inside the perimeter of the feature (cavity) or is allowed to machine around the
inside and outside of the feature outline (core).
8. Set the Filter to Cut Outer Most Only.
9. On the Leadin tab, change the Leadin
and Leadout type to Perpendicular.
10. Set the Leadin and Leadout amounts
to .25in. and click OK.
11. Right click 3 Axis Finish Mill2 in the
tree and select Generate Toolpath.
Changing the Z level to Core allowed
the outside to be cut. Setting the Filter
to Cut Outer Most Only trimmed out
all the toolpaths on the inside of the
part as shown in the figure. Notice the
leadin moves at the beginning and end of each pass.
12. Right click 3 Axis Finish Mill2 again and select Parameters.
13. On the Finish tab, change the Filter to Delete Outer Most, then click OK.
14. Right click 3 Axis Finish Mill2 and
select Generate Toolpath.
The toolpath cuts all of the inner
features of the part while the outer
toolpath has been trimmed out.
Rough Toolpath with Cavity Containment Rough Toolpath with Workpiece Containment
3 Axis Mill 3
CAMWorks allows parts to be machined using any combination of 2 and 3 Axis machining
operations. This lesson demonstrates how to create 2 and 3 Axis features for the same part
and explains the options you can use when creating a 3 Axis feature.
What You'll Learn
Creating 2 and 3 axis features and operations for the same part.
Defining a 3 Axis feature.
Changing 3 Axis Roughing and Finishing strategies to see the effects on the machining of
a part.
Using AFR to Identify 2.5 Axis Features
1. Open the part MILL3AX_3.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
2. Click the CAMWorks Feature
Tree tab at the bottom of the
FeatureManager design tree.
This part needs to be machined with a
combination of both 2 axis and 3 axis
machining operations. The 2.5 axis
features include the counterbored holes
and the two pockets on either end of
the main cavity. The cavity itself has
tapered walls as well as a tapered
bottom, which necessitates a 3 axis
machining operation.
3. Right click Mill machine Inch in
the Feature tree and select Parameters.
On the Machine tab, Mill machine Inch is the Active machine.
Click the Tool Crib tab and make sure Crib 1 is the Active tool set.
Click the Controller tab and make sure FANTUTM is selected, then click OK to exit
the Machine dialog box.
4. Right click Workpiece in the tree and select Edit Definition.
The default bounding box displays on the part.
5. Click OK to use the default workpiece for this exercise.
When a part contains 2.5 axis features, normally the next step is to allow CAMWorks to
identify features automatically using Automatic Feature Recognition. Then, if AFR does not
recognize features that you are certain could be machined with 2 axis cutting cycles, you can
define the features interactively with the Insert 2.5 Axis Features command.
6. Click the Extract Machinable Features button on the CAMWorks toolbar or right
click NC Manager and select Extract Machinable Features.
CAMWorks finds two features: a Rectangular
Pocket Pattern that includes the two rectangles at
the ends of the cavity and a Counterbore Hole
Pattern that includes the four counterbore holes.
Creating 3 Axis Features
Currently CAMWorks does not recognize 3 Axis features. Therefore, you need to create the
cavity feature for this part using the Insert 3 Axis Feature command.
In this exercise, you create a 3 Axis Feature and try the different methods for selecting faces
to cut and faces to avoid.
1. Right click Part Setup1 and select Insert 3 Axis Feature on the shortcut menu.
The Insert 3 Axis Feature
dialog box displays. A 3 Axis
feature consists of a list of
faces to cut and optionally for
3 Axis Finish operations, a list
of faces to avoid.
2. Click the Select All button
under the Faces to cut.
Notice that all viewable faces
are selected. The Faces to cut
shows 78 Faces. When you
click the Select All button, all
faces on the part are added to the Faces to cut or Faces to avoid list depending on which
button is clicked. The Select All button selects all faces that can be machined from any
machining direction.
3. Use the Rotate command and examine the bottom side of the part.
This face is selected because CAMWorks determined that the face could be machined.
However, you cannot machine this face from this Part Setup and you can remove it from
the Faces to cut list.
4. Pick the face in the graphics area.
The Faces to cut list changes to 77 Faces.
5. Rotate the part to display the top side.
The Select All command picked all faces of the part including those faces that belong to the
2.5 axis features. When defining the 3 axis feature, you do not want to include these
additional faces. Next, you learn how to remove these faces from the Faces to cut list.
Using the Select All button and a combination of these modes, you could remove all faces
except those that define the cavity.
However, selecting the cavity faces
would be easier if you used the Window
selection mode instead.
11. Click the Clear All button to remove
all the faces from the Faces to cut list.
12. Put the selection box around the
cavity.
In this example, you rough the 3 Axis feature that was just created. In addition, you define a
second 3 Axis feature that will machine the bottom cavity and the top of the boss. When
machining these two faces, it is critical that the fillets at the bottom of the cavity and the near
vertical walls are not gouged. To do this, you define a 3 Axis feature that includes Faces to
cut and Faces to avoid.
Since the 3 Axis feature contains numerous faces to avoid and only two faces to cut, the
faces to avoid are identified first, then the faces to cut.
1. Right click 3 Axis Feature1 in the Feature tree and select Insert 3 Axis Feature.
The Insert 3 Axis Feature dialog box displays.
2. Click the Faces to avoid box to set the focus to the Faces to avoid list.
3. With Select mode set to Window selection, window pick around the faces defining the
entire cavity as done when you defined 3 Axis Feature1.
4. Click the Faces to cut box to set the focus to the Faces to cut list.
5. With the selection mode set to
Default, pick the bottom face and the
top of the boss in the middle of the
cavity.
These two faces are highlighted in
the Faces to cut color. The Faces to
cut list shows 2 Faces and the Faces
to avoid shows 40 Faces.
6. Change the Attribute setting to Fine.
Based on the rules specified in the
Technology Database, 3 Axis
features assigned a Fine
attribute generate only a finish
operation.
7. Click OK.
A 3 Axis feature is created and
3 Axis Feature2 is added to the
Feature tree.
Before generating toolpaths for the 3 Axis features, you can verify and change machining
parameters:
3. Click the Options button on the CAMWorks toolbar or right click NC Manager in
the tree and select Options.
4. On the Features tab, set the 3 Axis part deviation to .001in and click OK.
This parameter allows you to define the deviation for approximating the faces during 3
axis machining.
5. Right click 3 Axis Rough Mill1 in the tree and select Parameters.
6. On the Rough tab, set the Max deviation to .005in and set the Processing engine to
Generation 2.
7. On the Feature Options tab, make sure the Containment XY extents option is set to
Cavity, then click OK.
8. Right click 3 Axis Finish Mill1 in the tree and select Parameters.
9. Click the Turret tab and select a .25in Ball Nose tool.
If Ball Nose tools are not listed, clear the check mark to the left of the Filter button.
10. Click the <-- Replace button, then click Yes to replace the corresponding holder.
11. On the Finish tab, set the following parameters:
Finish Pattern = Z Level (so that the cavity and boss sides are finished)
Z level = Cavity
Use the defaults for the other parameters
12. Click OK to exit the Machining Parameters dialog box.
13. Change the tool for 3 Axis Finish Mill2 to the same .25in ball nose you selected for 3
Axis Finish Mill1.
14. Right click Rough Mill1 in the tree and select Parameters.
15. On the Turret tab, select a .1875in Flat End Mill, then click the <- Replace button.
If Flat End tools are not listed, clear the check mark to the left of the Filter button.
16. Click Yes to replace the corresponding holder.
17. Click OK to exit the Machining Parameters dialog box.
18. Click the Generate Toolpath button on the CAMWorks toolbar.
If you want to change the machining parameters for one operation, you can make the
desired changes, then right click the operation in the tree and select the Generate
Toolpath command on the shortcut menu. CAMWorks recalculates only the toolpaths for
that operation and you avoid what could be a time-consuming wait for CAMWorks to
recalculate the toolpaths for the operations that have not changed.
Did You Know ...
If you change the 3 Axis part deviation, all 3 axis toolpaths should be regenerated.
3 Axis Mill 4
What You'll Learn
Inserting a Part Setup
Creating a 3 Axis Feature
Defining program zero
Adjusting machining parameters and generating toolpaths
Simulating material removal
Generating Finish toolpaths using Slice and Lace patterns
Inserting an Operation for a Pencil Mill toolpath to cut around the parting line of the
mouse mold
Defining the Machine and Machining Direction
1. Open the part file MILL3AX_4.SLDPRT in the \examples folder inside the CAMWorks
folder (e.g., \program files\camworks\examples).
This part is an imported surface
model. The rectangular shape of
the part creates a bounding box
material block that works well for
machining the part.
Note that a message may display
indicating SolidWorks is unable to
locate a file. This file is not
needed and you can click No to
continue.
2. Click the CAMWorks
Feature Tree tab at the bottom of
the SolidWorks Feature tree.
3. Right click Mill machine
Inch in the tree and select
Parameters.
On the Machine tab, Mill machine Inch is the Active machine.
Click the Tool Crib tab and make sure Crib 1 is the Active tool set.
Click the Controller tab and make sure FANTUTM is selected, then click OK to exit
the Machine dialog box.
4. Right click Workpiece in the tree and select Edit Definition.
The default bounding box displays on the part.
5. Click OK to use the default workpiece for this exercise.
5. Make sure the Entry Method is set to Plunge and the Secondary method is set to Outside
workpiece.
When these options are selected, CAMWorks sets the entry point for all roughing levels
to start off the end of the currently defined workpiece.
6. Click OK.
7. Click the Generate Toolpath button on the CAMWorks toolbar or right click Part
Setup1 in the tree and select Generate Toolpath.
Simulating Toolpaths
The Simulate Toolpath command provides a graphical representation of the material removal
for the verification of machining operations. Running this simulation helps confirm the
toolpaths created and can reduce the need for dry runs on the machine tool.
1. Right click Part Setup1 in the tree and select Simulate Toolpath.
2. Click the Turbo mode button and change the end condition to Next Operation.
3 Axis Mill 5
For a 3 Axis Finish operation, the Flowline pattern has unique characteristics that make it
appropriate for machining areas that are defined using SolidWorks loft or sweep features.
The Flowline pattern produces toolpaths based on two user-specified curves. The toolpath
can be generated parallel to (Along) or between (Across) the two curves. The curves can be
either open or closed.
3 Axis Mill 6
CAMWorks provides numerous patterns that can be used to finish or semi-finish a 3 Axis
feature. Each pattern has unique characteristics that make it appropriate for machining
appropriate part model configurations. The following exercises explain how to generate
toolpaths using UV, Spiral, Radial and Offset patterns. While you may not use these for
general machining, occasionally you will machine a part that is appropriate for one of these
styles.