CAM From Entry To Master Tutorial - 5X Machining
CAM From Entry To Master Tutorial - 5X Machining
4-5X Machining
Copyright and Trademarks
ZWSOFT CO., LTD.(GUANGZHOU). All rights reserved.
This tutorial may be reproduced provided it complies with the terms presented on the LICENSE AGREEMENT
supplied.
ZWSOFT CO., LTD.(GUANGZHOU) and the program authors have no liability to the purchaser or any other
entity, with respect to any liability, loss, or damage caused, directly or indirectly by this software and training
materials, including but not limited to, any interruptions of service, loss of business, anticipatory profits, or
consequential damages resulting from the use of or operation of this software.
Updates may be made to this tutorial and incorporated into later editions.
ZWCAD™, ZWSOFT™, the ZWCAD™ logo, and the ZWSOFT™ logo are all trademarks of ZWSOFT CO.,
LTD.(GUANGZHOU)
I
Foreword
In this tutorial, we provide various case studies, which are from easy to difficult and combine theory with
practice. We hope to improve users’ 3D CAD/CAM skills and techniques with ZW3D.
The tutorial bases on our technical engineers’ years of experience in the industry and ZW3D, which is the
fruit of a lot of efforts and wisdom. We sincerely hope that the tutorial will do help to you, and your precious
advice on it is highly welcomed.
There are three series for this tutorial: Primary Tutorial, From Entry to Master Tutorial, and Advanced
Tutorial. From easy to difficult, they offer a step-by-step learning process that can meet different user needs.
Primary Tutorial series is for users who have little or no prior 3D CAD/CAM experience. If you are green hands
of 3D CAD/CAM software, or if you are a new user of ZW3D, we recommend that you get started with this
tutorial. Here you can learn the basic knowledge and concepts of ZW3D, rapidly master the simple operations
and workflows of ZW3D, and practice simple cases.
From Entry to Master Tutorial series is for users with basic know-how of 3D CAD/CAM software. If you have
experience in 3D CAD/CAM software and want to master common functions of ZW3D, we suggest that you
start with this series. Here you can dig deeper into the functions and master more operations of ZW3D.
Advanced Tutorial series is for users with practical experience in 3D CAD/CAM software. If you hope to have
a comprehensive command of ZW3D and get the complicated operations done independently, you can
choose to learn this series. Here you can learn to use the software more flexibly and get rich experience to
increase your efficiency.
What you are learning is ZW3D From Entry to Master 4-5X Machining, a master tutorial.
II
Contents
1 4-5X Machining ........................................................................................................................................ 1
1.1 4X Indexing Milling ........................................................................................................................ 1
1.1.1 Align The Part ...................................................................................................................... 1
1.1.2 Create Sub Frame ................................................................................................................ 2
1.1.3 Create Toolpath Based On Each Frame ............................................................................... 4
1.1.4 Set Up The Machine ............................................................................................................ 9
1.1.5 Set Up Output Space ......................................................................................................... 10
1.1.6 Output NC Code: ............................................................................................................... 11
1.2 5X Indexing Milling ...................................................................................................................... 12
1.2.1 Align Part ........................................................................................................................... 13
1.2.2 Create Sub-Frame For Multiple Faces ............................................................................... 14
1.2.3 Create Toolpath Based On Different Frame ...................................................................... 15
1.2.4 Set Up Machine and Output Space.................................................................................... 15
1.2.5 Output NC Code ................................................................................................................ 17
1.3 5X Silmutaneous Movement Operations ..................................................................................... 18
1.3.1 5X Plane Cut Operation ..................................................................................................... 19
1.3.2 5X Swarf Cut ...................................................................................................................... 23
1.3.3 5X Drive Curve Cut ............................................................................................................ 38
1.3.4 5X Guide Surface ISO Cut................................................................................................... 42
1.3.5 5X Flow Cut ....................................................................................................................... 47
1.3.6 5X Side Cut ........................................................................................................................ 54
2 Summary ................................................................................................................................................ 61
III
4-5X Machining
1 4-5X Machining
ZW3D CAM 5X module provides user 4X&5X indexing milling function and simultaneous movement
function. With the indexing milling function user can easily mill multiple sides of a complicated part by one-
time clamping. With the 4X/5X simultaneous movement operations user can deal with such tough jobs as
the titled surface, undercut surface etc.
Notes:
This tutorial is based on ZW3D 2021 version, some functions or icons may not match the current version.
All the tutorial models can be found in installation folder: …training\5X machining model
Analysis: It is apparent that if we use the 3X milling tool, we are not able to finish all sides by one-time
clamping. From the structure of the part it is easy to see that rotating the part around the cylinderical center
line(as indicated in Figure1) it is able to mill all sides by one-time clamping. So one rotary positioning axis is
enough for this case, here let’s suppose that the 4X machine ‘s rotating axis is A whichis rotating around X
axis and the part is a casting part. Then let’s see how to achieve the 4X indexing milling in ZW3D CAM.
1.1.1 Align The Part
In order to make use of the A axis here we will align the part to make the default X axis colinear with the
cylindrical center line as follows:
1
4-5X Machining
II. Click on Insert Frame command then the definition form for Frame will pop up as follows
III. Then we can click create datum to create new frame as follows
2
4-5X Machining
Notes: This process is the same as the process of creating datum in CAD level.
IV. Newly created frame will be as follows:
STEP 02 Then create another frame for the bottom side as follow:
3
4-5X Machining
II. Set up frame for it : open the parameter form to set up which frame to be based on as follows:
III. Set up the rest necessary parameters and then calculate the toolpath as follows:
4
4-5X Machining
Notes: since this process is the same as using 3X milling operation so here we will skip the details for
creating the toolpath. And here we just use one opeartion to show indexing milling, for the rest necessary
operations please finish by yourself.
Tips: In order to better manage the operations on each side , it is helpful to create operation folder and
name it clearly. For example here we can name the folder for the operations in topside as “topside” and put
all of the operations into this folder as follows:
Rotated part
II. Create a folder and name it as Right side and then go to add operations.
III. Pick 3X Flat Finish operation. Then Open the parameter form to set up the work frame as
follows:
5
4-5X Machining
.
Set up bottom boundary
V. Add the whole part as feature and then calculate (other parameters are default) then we can
get the toolpath as follows:
Next, use the same process to choose other operations to finish the inner wall as follows:
So far we have created tool path in different frames, next we can go to verify the toolpath in frame1 as
follows:
6
4-5X Machining
From the verified result we can find that now the tool axis has been tranformed. If we check the tool axis’s
vector we can find it is not (0,0,1) which is default Z axis, butit is (0,1,0), that means the tool has been
rotated around X axis 90 degree.
So far the indexing milling from default frame to frame1 is almost finsihed.
But there still is a probem confusing us: How is the tool transformed to this position? And we always want
to track this process. Actually the Inter Path Move operation can achieve this function. It will connect the
end point of the last operation in previous operations and the start point of the first operation in next
frame.
STEP 03 Create link toolpath by Interpath operation:
I. Insert Interpath operation between Top side and Right side as follows:
7
4-5X Machining
Notes: The Interpath operation’s tool should be the same as the tool used by the first operation in next
frame as follows:
8
4-5X Machining
III.Calculate the Interpath operation we can get the link tool-path between right side and bottom
side as follows:
So far we have finished the 4X indexing milling process for this part. Next we need to output the NC code
for it. Before we output the NC code, we have to check some necessary setting such as machine type,
controller, output space etc.
1.1.4 Set Up The Machine
Double click on the machine tab to activate the Machine Manager and set up as follows:
9
4-5X Machining
Set up machine
10
4-5X Machining
11
4-5X Machining
Output NC
Output NC code as follows, it shows how the tool rotates around X axis from the default frame to frame1.
Output NC code
If you want to check more, please go through the whole NC code by yourself.
So far, we have finished the sample case for 4X indexing milling. From this process we can find that the key
points for the indexing milling are as follows:
1) Align the part according to the machine structure
2) Create sub frame
3) Set up 4&5 X machine type
4) Set up the output Space
Analysis: From this part we can find that if we want to finish all sides by one clamping, the machine needs
to rotate the tool axis around different axis. Here let’s suppose the 5X machine is AC type, which means
rotating around X, Z. Besides here we just take the finished operation as an example to show how to
12
4-5X Machining
achieve in ZW3D CAM.
1.2.1 Align Part
Just as what we mentioned above, in order to make use of the default frame we can align the part in CAD
level as follows, here the origin is located at the center of top.
STEP 01 Create a assistive stock for positioning part as follows:
Aligned Part
13
4-5X Machining
Then we can delete or hide the stock.
1.2.2 Create Sub-Frame For Multiple Faces
Here we will choose some faces as examples to show this detailed process which is as follows:
14
4-5X Machining
Notes : Here the sub frame is only used to define the tool axis’s direction, so the sub frame’s origin point
can be located at any position. In order to show it clearly,here we chose an obvious position mentioned
above.
STEP 02 Create other frames on area 2 and area 3 as follows:
Finished frame
Finished toolpath
For your reference you can open the file 5X_indexing_With toolpath.Z3 directly.
But you are strongly recommended to finish it from beginning again by yourself.
1.2.4 Set Up Machine and Output Space
STEP 01 Set up the machine and choose the post processor ZW_FUNAC_5X :
15
4-5X Machining
STEP 02 Set up the machine structure as AC type by the post Processor editor as follows:
16
4-5X Machining
Save modification
17
4-5X Machining
STEP 02 Output NC code and verify
18
4-5X Machining
Among those operations we have introduced the InterPath Move operation, so we can skip it. As for the
Interactive operation, since it is not used very often, it will be not introduced in this chapter, if you are
interested in it then you can check the help document.
ZW3D CAM 5X simultaneous movement operations integrate both 4X and 5X functions together.
Therefore, it is able to switch the 5X simultaneous operation to 4X simultaneous operation by the tool axis
control parameter.
1.3.1 5X Plane Cut Operation
Philosophy: The 5 axis plane cut creates a cutting pattern based on parallel cuts at a user-specified angle
with respect to the frames X axis. This cutting pattern can be used to control the tool tip or the contact
location of the tool on the part. It is possible to constrain the tool axis to a plane (for 4 axis milling) or to a
specific orientation (for 3 axis milling).
5X Plane Cut
19
4-5X Machining
II. Calculate operation by default parameter to get toolpath as follows:
Primary parameters
20
4-5X Machining
• Fixed Axis: The tool axis will be determined by lead and roll angles along the cutting direction and
relative to the Z axis of the frame. Actually, you can think it is the frame’s Z axis, since by default the
Lead and Roll angle are all 0. As follows:
• Tip Control: The local contact data determines the cutter orientation while the cutter tip point is
kept within the cutting plane. Actually, when the Tip of Tool is in the cutting plane then the tool axis
is the surface’s normal way.
Tool tip
• Contact Control: The local contact data determines both the cutter orientation and tip point. It uses
the local contact point as reference and the normal way of this point together to determine the
tool axis’s position.
21
4-5X Machining
• 4X Tip Control: Tip contol option work in 4X mode, and you need to specify 4X plane as follows:
Specify 4X plane
• 4X Contact Control: Contact control option work in 4X mode, you also need to specify 4X plane.
• Lead angle: The angle of the tool axis will be tilted toward the movement direction
Lead angle
• Roll angle : The angle of the tool axis will be tilted to the direction which is perpendicular to the
forward motion direction. A positive value will tilt the tool to the right, negative to the left.
22
4-5X Machining
Roll Angle
23
4-5X Machining
STEP 02 Define Part surface: the part surface actually is the target that will be cut as follows:
STEP 03 Choose a ball end tool with diameter of 6 mm, and calculate the operation by default parameter.
Then we can get toolpath as follows:
Swarfcut toolpath
24
4-5X Machining
• Cutting height : It is a limitation for depth and only work for At Top option as follows
• Cutting position: we can regard it as a measurement reference for depth, starting from top or from
bottom. If we only create one toolpath then it is used to specify where to cut top or bottom.
25
4-5X Machining
• Side cast offset: it is used to set up the side thickness of cast part which needs to be removed.
• Side cut depth:something like the stepsize in XY.
Side steps
2. Path setting parameters
26
4-5X Machining
Axis Option:
• Ruled lines: The tool axis always follows the ruling direction of a drive surface for ruled surfaces, it
is used for the ruled drive surface.
• Vertical: The tool axis is both tangent to the drive surface and vertically tilted.
• Automatic: The tool axis follows ruled lines for curved ruled drive surfaces and will be vertical for
other types of drive surfaces including flat ones.
Real case study
Next we will use 2 real cases as examples to show how to apply the swarf cut operation to real work.
1. Case 1: “5X_Impeller.Z3”
Let’s open the real case “ 5X_impeller.Z3 ” file as follow:
5X_Impeller file
Then we will create swarf cut toolpath to cut the blade as follow:
27
4-5X Machining
STEP 01 Define the 5X control surface as follow:
28
4-5X Machining
STEP 04 Pattern the toolpath by transforming function and setting up the pattern parameters as follows:
29
4-5X Machining
After saving the file. From the result we can find that actually the blade part has been finished. We will
keep on creating toolpath on this impeller file by other operations and finally when we finished the tutorial
the impeller model also will be finished.
2. Case 2: SwarfCut_A.Z3
Please open the case file Swarfcut_A.Z3 as follows:
Swarfcut_A file
Task: finish the highlighted surface as follows:
30
4-5X Machining
31
4-5X Machining
32
4-5X Machining
Trimmed surface
STEP 03 Ensure that the trimmed surface can be tangent to the adjacent surface by Match Tangency Tool as
follows:
Please use the same way to match the trimmed surface tangency on the both right and left side
STEP 04 After healing the surface we can go back to CAM and create swarfcut toolpath for the target surface
as follows:
I. Define the drive surface:
33
4-5X Machining
Primary parameters
34
4-5X Machining
link
Verify toolpath
we can find that actually this is 4X milling simultaneous movement toolpath. So let’s look at the Four Axis
Plane option as follows:
35
4-5X Machining
Next we will go to create toolpath on the chamfer face by the four axis plane option or without it
seperately.
STEP 01 Define the chamfer face as drive surface:
STEP 02 Set up parameters and choose the same tool (D10) as follows:
36
4-5X Machining
From the result you can find that now actually it is a 5X toolpath not 4X simultaneous toolpath. So it will
conflict with your machine. How to solve it? By 4X plane option as follows:
STEP 04 Set up the 4X plane according to real condition (here let’s choose A)
Set up 4X plane
37
4-5X Machining
STEP 05 After calculation we can get another toolpath as follows:
DriveCut_ISOCut_HelicalGear file
Next, we will use this file to introduce how to run the Drive Curve cut operation and Guide Surface ISO
operation. First, let’s look at drive curve cut operation.
1. How to run Drive Curve Cut operation
STEP 01 Create the drive curve:
38
4-5X Machining
I. Choose the 3D medial command from the wireframe module as follows:
3D Medial command
II. Pick the edges on bottom surface of any tooth socket as input as follows:
39
4-5X Machining
So far we finished the 5X drive curve toolpath for the tooth socket. But as we can see that we had left
some material over, so it is necessary to use another operation to finish the whole tooth socket. Then let’s
take a look at 5X GuideSurface ISO Cut operation as follows:
41
4-5X Machining
1.3.4 5X Guide Surface ISO Cut
Tool axis normal to drive surface and move along the isoline
Bi Rail Loft
43
4-5X Machining
STEP 03 After defining the auxiliary face as drive surface, define the cutting region as part surface as
follows:
44
4-5X Machining
STEP 04 Choose the same tool used in drive curve operation and then set up the parameters as follows:
I. Primary parameters:
• Stepover: can choose differnet type,including Absolute, %Tool Dia, Scallop, Num of Cuts etc.It is the
same menaing for the Absolute, %Tool Dia, Scallop,options with what in 3X milling operations.
• Num of Cuts means how many toolpath layer you can determine to cretae, which will fill the whole
part face.
45
4-5X Machining
• Cut Drive Surface: if we choose yes then the drive surface will serve as milling target at the same
time. If No, then it will ignore it, and only use the drive surface to guide the tool axis.
• StepoverLink: Straight or Round
• ISO direction: if along the U direction or V direction of drive surface
III. Axis Control parameters
Here the four axis plane will affect your output, you can set up according to the real machine’s structure.
IV. Leak and lead parameters:
46
4-5X Machining
Here we will make use of the part to introduce 5X Flow Cut operation. Now we need to create toolpath for
the areas between blades and the out surface of the blade as follows:
Next we will use both introduced swarf cut operation and drive curve operation as reference separately to
create the 5X flow toolpath on the desired areas.
1. Reference to Swarf Cut operation
STEP 01 Create another swarf cut toolpath on the root of blade as follows:
47
4-5X Machining
48
4-5X Machining
Primary parameters
• Collision check: choose yes to check if the toolpath will collide with stock
• Start Point: it is allowed to set up the start point as follows:
49
4-5X Machining
STEP 03 Calculate the toolpath and we will get the following result:
In order to make the toolpath that can fully cover the whole end surface, it is necessary to create an
auxiliary surface to help create the toolpath. As follows:
50
4-5X Machining
Next let’s make use of the existing auxiliary surface to create the toolpath
STEP 01 Define the surface as part surface and choose the profile as drive curve as follows :
Define the auxiliary surface as part surface for drive curve operation
51
4-5X Machining
Primary parameters
52
4-5X Machining
Then we can use the transform function to pattern the toolpath, finally we can get the following result :
53
4-5X Machining
After finishing these steps please hide the auxiliary part and then save the file. Next let’s take a look at the
last operation of 5X, side cut.
54
4-5X Machining
Primary parameters
• Allow Undercutting: If there is undercut need to cut, choose this option to allow tool axis
to rotate
• Cutting Regions: Includes All Regions, Pockets Only, Outside Only,
• All regions: means all of the region in the target surface or part will be taken into account
• Pockets Only: Just cut the pocket, need to combinate with the option of Control Point in Axis
control.
• Outside Only: just cut the outside of surface or part.
• Enable Spiral: If we allow the toolpath move as spiral pattern or not.
55
4-5X Machining
IV. Axis control parameters:
• Axis Type: besides the introduced types in this operation there are 2 more different types :
- Tip SideCut: Tool Tip determine the tool axis’s orientation and then cutter side will be tangent
to the part tangent plane.
- Contact SideCut: Tool’s contact point determine the tool axis’s orientation and then cutter
side will be tangent to the part tangent plane
• Control Point
This parameter is used to machine pockets. If defined, the control point overwrites the Axis Control
parameter so that the tool axis passes through the control point.
• Axis Guide
In 5x sidecut, Axis Guide tries to define a few types of primitive surfaces as the guide surface by
using the same concept as the guide surface does in 5x isocut. It is used mainly to machine pockets
or porting (like driving curve).
For more details about the axis guide function we will use some cases to explain it in details. Here let’s skip
it first, and choose none.
STEP 03 For the rest parameters please refer to the previous introduction to finish by yourself and then
calculate the toolpath as follows:
After saving the file. So far actually we have finished the toolpath for the impeller.
Next, we will take another example to show how to use the axis guide function to solve some problems:
1. Statue Case: Open the Statue Cut case file Statue_SideCut.Z3 as follows:
56
4-5X Machining
Statue_SideCut case
STEP 01 Enter into CAM and create 5X Side Cut operation and then add the general surface as follows:
In oder to let the tool stop at the bottom of statue we can define the bottom face as Start check surface as
follows:
57
4-5X Machining
Next let’s make use of the created toolpath to explain axis guide parameters, as follows:
58
4-5X Machining
• Guide type: normally use the cylinder, cone, sphere and drive curve. For drive curve we will use
another case to show how to use it.
• Origin: Can be regarded as the center point of section profile in XY as follows, the picked normal
way will pass this origin.
Origin option
• Normal: if choose Cylinde, Cone, Sphere etc type, regard it as the center line of the guide geometry.
which will affect the cutting region together with guide radius.
• Guide Radius: It is the section profile’s radius of guide geometry which depends on the guide type.
• Guide Side: If cut the outside or Pocket.
• Guide Rule: if the tool axis guide by guide geometry normal or cutting part’s normal.
• Origin Deflection: if deflect the origin to allow the tool to engage into the small corner.
Now that most of the pameters are illustrated, let’s use another case to explain how to use the drive curve
type guide and control point together to do the porting cut.
2. Porting cut Case: Open the file 5X PortingCut.Z3 as follows:
59
4-5X Machining
60
4-5X Machining
2 Summary
We have introduced how to achieve the 5X indexing milling by sub frame and Interpath function. And with
the practical examples, we have introduced how to run 5X simultaneous movement operations and apply
these operations to the real case.
Notes:
This tutorial is based on ZW3D 2021 version, some functions or icons may not match the current version. If
you have any suggestions or questions about this tutorial, please contact us at
61
4-5X Machining
ZW3D Global Website: https://www.zwsoft.com
ZW3D Support Team: [email protected]
62