Mill Turn Tutorial
Mill Turn Tutorial
Mill-Turn Tutorial
Disclaimer
Geometric Americas, Inc. makes no warranties, either expressed or implied with respect to this
manual. Geometric Americas, Inc. reserves the right to revise and improve products as it sees
fit, and to revise the specifications and information contained herein without prior notice. Due to
continuing product development, specifications and capabilities described in this manual are
subject to change without notice.
Trademarks
The following and other product names and corporate references herein are registered or
proprietary trademarks of their respective owners.
CAMWorks® is a registered trademark of Geometric Americas, Inc.
SOLIDWORKS® is a registered trademark of Dassault Systèmes SOLIDWORKS Corp.
FeatureManager™ is a trademark owned jointly by DS SOLIDWORKS and Bentley Systems,
Inc.
All other brands and names are the property of their respective owners.
TABLE OF CONTENTS
Table of Contents i
Mill-Turn Tutorial
Mill-Turn 5 ..................................................................................................................... 48
Adjusting Entity Locations to Machine a Wrapped Engrave Feature ............................... 48
Inserting a Wrapped Engrave Feature to Machine Text .................................................. 50
Inserting a Wrapped Engrave Feature to Machine Text .................................................. 51
Inserting a Plane to Control the Index or Rotational Angle for Mill Setups ...................... 52
Inserting a 2.5 Axis Wrapped Engrave Feature .............................................................. 54
Machining Using C-Axis ................................................................................................. 54
Simulate Toolpath .......................................................................................................... 55
ii Table of Contents
Mill-Turn Tutorial
This chapter provides an opportunity to learn CAMWorks Mill-Turn 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.
These exercises have been developed to provide supplemental information on Mill-Turn and
assume you are familiar with CAMWorks Mill and Turn. The CAMWorks Mill-Turn Tutorial contains
more detailed information about using CAMWorks.
The exercise parts are installed when you install CAMWorks and are in the
\Examples\Tutorial_Parts\Mill-Turn folder in the CAMWorks data folder.
Typical location: Drive:\CAMWorksData\CAMWorks201x\Examples\Tutorial_Parts\Mill-Turn
Mill-Turn 1
Steps to Generate Mill Toolpaths and NC Code in Part Mode
1. Model the part or open the part file in SOLIDWORKS/CAMWorks Solids.
2. Change to the CAMWorks Feature tree.
3. Define the Machine and modify the Post Processor parameters.
4. Define the Stock.
5. Define the machinable features.
6. Generate the operation plan and adjust operation parameters.
7. Generate toolpaths and run the simulation.
8. Adjust parameters if necessary.
9. Post process the toolpaths.
START
Simulate Toolpath
Generate toolpaths
Model part in
SOLIDWORKS/import part
Adjust operation No
parameters as needed Are
Change to CAMWorks toolpaths
Feature tree correct?
Yes
Generate operation
Define machine/change plan
controller parameters
Post process
Define machinable
features (AFR & IFR)
Define Stock
END
When you install CAMWorks, the exercise parts are installed in the \Examples\Tutorial_Parts\Mill-
Turn folder in the CAMWorks data folder (e.g.,
\CAMWorksData\CAMWorksxxxx\Examples\Tutorial_Parts\Mill-Turn).
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 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/ CAMWorks Feature Tree tab Line that divides the tree from the
CAMWorks Solids Trees graphics area
Graphics area
Graphics area
Part Model
CAMWorks Options
Use the CAMWorks Options dialog box to changes the various settings you want apply in
CAMWorks.
To open the CAMWorks Options dialog box:
on the CAMWorks Command Manager to open the context-based Help. Every parameter
and tab of each dialog box in explained in the context-based Help.
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.
Post Processor: The post processor identifies the format of the NC G-code output.
The Machine dialog box is displayed. The default machine is defined in the Technology
Database. When you use CAMWorks 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 CAMWorks to machine
your parts, make sure you define the machine tools available in your facility.
2. In the Available machines list, highlight the Mill-Turn Single Turret - Inch and click on the
Select button.
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.
Did you know: Features display in a different color when they have no operations
generated. Once operations are successfully generated, they
display in another color. If operations are not generated for certain
features (this occurs when feature conditions have not been
defined in the Technology Database), then they retain their original
color indicating non-generation of operations. You can set the
color on the Display tab in the Options dialog box.
6. Right click Cutoff Feature1 under Turn Setup1 in the Feature tree, select Delete on the
context menu.
7. Click Yes to confirm.
The part will be held in a chuck so this feature is not needed.
8. Right click Irregular Slot1 under Mill Part Setup3 in the Feature tree, select Delete on the
context menu.
9. Click Yes to confirm.
You are going to define this feature as a Corner Slot in Mill Part Setup2.
This will be a Y axis cut. The CW-Face is listed in the selected Entities field.
4. Make sure Check for taper & fillets is not checked.
If the feature you are defining does not contain any fillets at the base of the feature, you
can disable Check for taper & fillets to improve the performance of the wizard.
5. Click End Condition button.
The 2.5 Axis Feature: End Conditions dialog box is displayed. This dialog box allows you
to determine how CAMWorks calculates the depth of the feature and select a Strategy
that defines a unique machining sequence.
6. Set the Strategy to Rough-Finish.
7. Leave the End condition Type set to Blind.
8. Set the Depth to 0.15in.
9. Make sure the Direction (indicated by red arrow) is correct
on the feature. If not, click the check box next to the
Reverse direction option.
The correct direction is shown in image.
Click the Generate Operation Plan button on the CAMWorks Command Manager.
OR
Right click CAMWorks NC Manager in the CAMWorks Feature tree and select Generate Operation
Plan on the context menu.
CAMWorks generates the operation plan for all the machinable features and the operations are
listed in the CAMWorks Operation tree, automatically. The Operation tree can also be accessed by
clicking the CAMWorks Operation Tree tab.
The CAMWorks Operation tree provides an outline view of the operations for the machinable
features. Operations are listed under the Mill and Turn Part Setups in the same order as the
machinable features in the Turn and Mill Part Setups. At the top of the tree is the CAMWorks NC
Manager. The Stock Manager and Machine items are the same as in the CAMWorks Feature tree.
You can change the stock size and shape and the post processor used by CAMWorks to produce
G-code.
Did you know: If an operations display in a color other than black, then it indicates
that toolpaths have not been generated for that particular operation.
This occur when you insert a new operation interactively, you insert a
new feature interactively and generate operations for a new feature, or
CAMWorks cannot generate a toolpath for an operation because of an
error in the toolpath algorithm or a parameter is not correct. You can
set the color for operation without toolpaths on the Display tab in the
Options dialog box.
CAMWorks calculates the toolpaths for each operation in the Turn and Mill Part Setups.
CAMWorks provides the ability to simulate the toolpath showing the tool movement and the resulting
shape of the part. You can define the chuck for display during simulation, including the size of the
chuck base and the jaws.
1. To set the proper view, right click Turn Setup1, select Set View.
2. Select Turn ZX from cascading context menu.
3. Double click Turn Setup1 in the Operation tree.
The Operation Setup Parameters dialog box is displayed.
4. Click the Chuck/Fixture Location tab.
5. In the Chuck Properties group box, change the Chuck defined from to Setup from dropdown
list.
This action will enable the Edit tab.
6. Click on the Edit tab.
The Chuck Parameter: [Main Spindle] dialog box is displayed.
7. Select 4in_1Step_Chuck for the configuration from Available Chucks dropdown list.
8. In the Jaw Parameter group box, set the Length and Width to 0.4in.
Simulation Toolpath
CAMWorks provides the ability to simulate the toolpath showing the tool movement and the
resulting shape of the part.
On execution of the Step Thru Toolpath command using one of the above methods, the Step
Thru Toolpath dialog box is displayed.
2. Use controls given in the Display Options group box to set the options as to how the toolpath
will be displayed during the Step Through process.
OK button
Play button
Animation speed
slider
Tool Position
slider
Displays information on
the current operation
being back- plotted
5. Click the Play button to continuously back-plot the tool till the end condition specified in
the Play Tool Until field is reached.
6. During animation, the Play button display changes to Pause button . Click the Pause
button to pause the animation while it is in progress.
7. When the animation has not yet begun or when it is paused, the Forward Single Step, Goto
End of Current Toolpath and Goto End buttons are active.
- Use the Forward Single Step button to move one toolpath record forward each time
the button is clicked.
- Use the Goto End of Current Toolpath button to move the tool position to the last
toolpath record of the current operation.
- Use the Goto End button to move the tool position to the last toolpath record of the
very last operation.
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.
CAMWorks 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.
Note: 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.
The Post Process dialog box is displayed.
Mill-Turn 2
Topics covered in this tutorial:
Inserting Multiple Wrapped Features
Adjusting operations parameters and Machining using C-Axis
5. Click the Extract Machinable Features button on the CAMWorks Command Manager.
OR
Right click on the CAMWorks NC Manager
in the tree and select Extract Machinable
Features on the context menu.
CAMWorks generates a Turn Setup, a Mill
Part Setup and machinable features. The
items display in the CAMWorks Feature
tree.
When AFR is run on some parts,
CAMWorks may not recognize all the
features 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 delete unwanted
setups and features and define the setups Features recognized by EMF
and features interactively. In this exercise,
the slot features are treated as OD features instead of face features, so a different Mill Part
Setup and features are needed.
6. Right click Mill Part Setup1 in the tree and select Delete on the context menu.
7. Click Yes to confirm the deletion.
8. Right click Recycle Bin in the tree, select Empty on the context menu.
9. Click Yes to confirm.
13. Click the Generate Toolpath button on the CAMWorks Command Manager.
OR
Right click on the CAMWorks NC Manager in the tree and select Generate Toolpath on the
context menu
Simulation Toolpath
1. Click on the Simulate Toolpath button on the CAMWorks Command Manager.
OR
Right click on the CAMWorks NC Manager in the tree and select Simulate Toolpath on the
context menu.
2. Set the following display options:
Simulation Toolpath
Mill-Turn 3
Topics covered in this tutorial:
Creating a Wrapped Feature from a 2D sketch
Unwrapping a solid model cylindrical face and creating a Wrapped feature
Machining Using C-Axis
2. Right click Cutoff Feature1 in Turn Setup1 and select Delete on the context menu.
3. Click Yes to confirm the deletion.
The deleted feature is moved to Recycle Bin.
You can either pick an entity on the model to define the diameter or enter a value.
7. Click the End Condition tab.
8. Click the Reverse Direction button and set the depth to 0.2in.
Click on arrow next to Trim Entities to display the dropdown list in the Sketch Ribbon
bar and select Extent Entities from the list.
12. Click on upper point and extend the line to connect the open entities.
13. The sketch is now a fully closed loop that CAMWorks can wrap (Figure 4).
Spline Curve
Extended line
18. Click Close dialog box to close the Trim dialog box.
OR
Click on Trim Entities button to close the dialog box.
22. In the graphics area, click Zoom to Fit to display the part.
23. Right click Wrapped Pocket1 in the tree under Mill Part Setup5 and select New Wrapped
Feature on the context menu.
24. Leave the Feature Type set to Wrapped Pocket.
25. Select the Strategy to Rough-Finish from dropdown list.
26. Pick Sketch10 in the Available valid sketches list.
You can edit the operation and have CAMWorks automatically pick the most efficient angle.
4. Double click Rough Mill3 in the Operation tree.
5. On the Roughing tab, set the Pattern to Zigzag and check the Automatic angle option.
When you use this option, CAMWorks picks the longest segment and runs the toolpath
parallel to that segment.
6. Click OK to close the dialog box.
7. Right click Rough Mill3 and select Generate Toolpath on the context menu.
8. Notice the difference in the toolpath.
Simulation Toolpath
1. Click on the Simulate Toolpath button on the CAMWorks Command Manager.
OR
Right click on the CAMWorks NC Manager in the tree and select Simulate Toolpath on the
context menu.
2. Set the following display options:
Simulation Toolpath
Mill-Turn 4
Topics covered in this tutorial:
Interactively inserting 2.5 Axis and Multi Surface features
Inserting Contain and Avoid areas for 3 Axis operations
Adjusting operation parameters and machining using Y-Axis
MT_4.SLDPRT
This part can be machined using Y-axis.
4. Click the Reverse Selected Entity button and make sure the machining direction is from
top (as shown in above image).
2. Make sure the Selection mode is set to Single Face and Single Edge (Default).
3. Pick all the top edges of the pocket.
A silhouette displays on the pocket when all the edges are selected. All the selected edges
are listed in the Selected Contour list box.
You want to contain the Constant Stepover toolpath. Instead of defining a Contain Area for this
operation, you can copy the Contain you inserted for the Area Clearance operation.
1. Click the ( ) plus sign next to Area Clearance1 in the Operation tree to expand the item.
The Contain and Avoid areas are listed in the tree.
2. Click Contain Area1 to highlight the item, hold down the Ctrl key and drag the item on top of
Constant Stepover1, then release the mouse button.
The cursor changes to an arrow to indicate copy mode.
3. Click the ( ) plus sign next to Constant Stepover1. Contain Area2 is listed in the tree.
You can copy features, contains and avoids to other operations in the same Mill Part Setup.
This option defines whether the toolpath can create an undercut up to the back angle of the
tool. If checked, the toolpath follows the entire toolpath observing the back angle.
4. Double click Area Clearance1 in the tree under Mill Part Setup2.
The Operation Parameters dialog box is displayed.
5. On the Area Clearance tab in the Limits group box,
- Leave the First cut from option set to Top of Stock
- Change the Offset to -0.25in.
- Click OK to apply the changes.
6. Double click Constant Stepover1 in the tree.
The Operation Parameters dialog box is displayed.
7. On the Constant Stepover tab,
- In the Surface Finish group box, set the Mach. Deviation to 0.008in.
- In the Direction control group box, set the option to Zigzag.
- In the Limits group box, set the Last cut at option to User Defined.
8. Click OK to close the Operation Parameters dialog box and apply the changes.
Simulate Toolpath
1. Click on the Simulate Toolpath button on the CAMWorks Command Manager.
2. Set the following display options:
- Target: No Display
4. During the simulation, you can click the Show Animation button to adjust the speed of
the simulation. Increasing the number of moves speeds up the simulation.
Mill-Turn 5
Topics covered in this tutorial:
Adjusting text or entity locations to machine a Wrapped Engrave Feature
Interactively inserting Wrapped Engrave Features
Adjusting Starting Angles and C-Axis Rotation Direction
Creating Planes to control index angles and Setups
Machining using C-Axis
2. Click Tools on the SOLIDWORKS/CAMWorks Solids menu bar and select Measure on
the context menu.
3. Pick the vertical line that represents the edge of the 1.5in diameter surface (highlighted in
green).
4. Click Expand button on the Measure – MT_5.SLDPRT to expand the dialog box and
notice that the Length (circumference) is 4.7124in.
5. Click Close to exit the Measure utility.
6. In the FeatureManager design tree, right click TEXT-SKETCH and select Edit
Sketch on the context menu.
Notice the vertical dimension of 1.75in. If you were to cut this 1.5in diameter surface and lay
it out flat, you would be able to machine up to a 4.7124in surface around this part. The letters
of the CAMWorks engraving will cover only 1.75in. The letter C of the text is located at a
zero start location because the text sketch was started on the Front Plane at the edge of the
center of the rotational axis of the part. If you needed to start this at a different location, you
would need to move the text up or down the vertical line offset from the rotational axis.
In this tutorial, you are going to start this text at 45degrees instead of zero degrees, so you
need to calculate how far to move this text to start machining at 45degrees.
To calculate this:
4.7124 (circumference distance) divided by 360degrees = 0.01309 per one degree of
rotation
45degrees x 0.01309 = 0.58905 distance
Therefore, you need to move the text a distance of 0.58905in up or down vertically. This will
shift the text and start angle to start machining at 45degrees off the center of the rotational
axis.
7. Select and double click on the 0.0001in vertical dimension on the part, and change it to
0.58905in.
8. Click the Save the current value and exit the dialog button to close the dialog.
cylindrical faces. However, if the model does not have cylindrical edges or faces that can be
used to create the feature, a 2D sketch can be used to create a feature.
18. Rotate the part to see how the feature is trying to wrap around the surface.
27. Right click TEXT-SKETCH and select Hide button on the context menu.
You no longer need to view the sketch.
2. Click View menu on the SOLIDWORKS/CAMWorks Solids menu bar and select
Temporary Axes to turn the same on.
3. Rotate the part.
4. Select Front Plane in the FeatureManager design tree to highlight the plane in the
graphics area.
5. Click Insert menu on the SOLIDWORKS/CAMWorks Solids menu bar and select Plane on
the cascading menu under Reference Geometry.
11. Click on View Orientation in the graphics area and select Normal to.
12. Click the Sketch button under the Sketch Ribbon bar.
Insert a Circle
4. Click the Reverse Selected Entity button in the Mill Setup dialog box.
18. Click View menu on the SOLIDWORKS/CAMWorks Solids menu bar and select
Temporary Axis to turn it off.
3. Click the Generate Operation Plan button on the CAMWorks Command Manager.
OR
Right click on CAMWorks NC Manager in the Feature tree and select Generate Operation
Plan on the context menu.
4. Double click Groove Rough1 operation of the Turn Setup1 in the tree.
The Operation Parameters dialog box is displayed.
5. In the Holder page of Tool tab, make sure the Holder Edge is set to Side.
6. Click OK to close the dialog box.
7. Double click Groove Finish1 operation of the Turn Setup1 in the tree.
8. In the Holder page of Tool tab, make sure the Holder Edge is set to Side.
9. Click OK to close the dialog box.
10. Click the Generate Toolpath button on the CAMWorks Command Manager.
OR
Right click on CAMWorks NC Manager in the Feature tree and select Generate Toolpath on
the context menu.
Simulate Toolpath
1. Click on the Simulate Toolpath button on the CAMWorks Command Manager.
OR
Right click on CAMWorks NC Manager in the Feature tree and select Simulate Toolpath on
the context menu.
2. Set the following display options:
Simulation Toolpath