4-axis Wirepaths
4-axis wirepaths have geometry in both the XY plane (the lower contour) and UV plane (the upper contour).
Where a contour wirepath derives a second contour from the geometry, a 4-axis wirepath can have completely different geometry in the two planes, resulting in different wire movement in the XY and UV planes. The examples below show a 4-axis wirepath with different geometry in the XY and UV planes.
| Plane | Toolpath (Isometric View) | Toolpath (Side View) |
|---|---|---|
| UV plane |
|
|
| XY plane |
|
|
UV geometry does not lie in a single plane, but part can be machined using the 3D tracking option.
You can also create multiple 4-axis wirepaths from the same operation. Click the drop-down below for guidelines on how to do this.
- The default Chain selection method is recommended for chaining multiple 4-axis wirepaths. This provides the control you need to select each entity in the order you require. When using this selection method, make sure to choose the thread point before each XY/UV pair of chains and the cut point after each pair of chains.
- When setting thread and cut points for multiple wirepaths, you must be consistent. You can locate the thread point in the upper contour and the cut point in the lower contour, or you can locate the thread point in the lower contour and the cut point in the upper contour. Either way is fine, but you must locate all the thread points on one contour and all the cut points on the opposite contour for all chains in the wirepath.
-
When chaining, make sure you choose
the upper and lower contours in the order you want them placed
within the operation. For example, choose the first entity of
the upper contour, then the corresponding first entity of the
lower contour, then the upper contour of the next pair of chains,
then the lower contour of that pair of chains, as shown in the
example below.

- You can also select them in reverse order as shown below.

- You cannot choose two upper contours, two lower contours, or an upper and lower contour that are not intended to be the upper and lower rails of the same cut.
- Make sure the direction of upper and lower contour chains for each entity in the wirepath are set to chain in the same direction. Use the Reverse direction button on the Chaining dialog box if necessary.
- When window chaining multiple 4-axis wirepaths, make sure that the Lock the UV height above the XY height option in the Cuts page of the Control Definition is selected so that the lower contour (XY) is located first.
- This is the desired setting because when you create multiple 4-axis wirepaths using the window selection chaining method, Mastercam looks for pairs of chains that have the closest endpoint to each thread point in the window. If you chain multiple 4-axis parts that do not have corresponding thread points, the start points may be random.
- Mastercam recognizes branch lines as entities. When you window chain, the branch lines are picked up, which usually results in an unwanted chaining pattern. If you are synchronizing by branch, use the default chain selection method and manually select each of the XY and UV chains.
- Use the Partial selection method to effectively chain open contours. When using this selection method, make sure to choose the thread point before each XY/UV pair of chains and the cut point after each pair of chains.
- Single, Point, and Vector selection methods are not recommended for chaining multiple 4-axis wirepaths. These types of entity selection either do not apply to multiple 4-axis wirepath chaining, or do not provide sufficient control during entity selection, resulting in faulty wirepaths.
When 3D tracking is supported by the wire EDM machine and the control, you can use the 3D tracking option to enable Mastercam Wire to include variable Z depths for geometry that does not lie completely in a single plane. This option is located on the 4 Axis page.
The 4-axis Direct wirepath accommodates more types of geometry and creates smoother motion. The following features apply to 4-axis Direct wirepaths:
- Support for splines, broken into linear moves by the linearization tolerance.
- Support for line/arc motion pairs, broken into 4-axis Direct linear moves by the linearization tolerance.
- If a clockwise arc is paired with a counterclockwise arc, this section of the toolpath will be output in 4-axis Direct linear moves so any wire machine can handle it. Most wire machines will not handle a clockwise move in one plane paired with a counterclockwise move in the other plane.
-
Chained geometry does not require the same number of entities between branch lines. If there are a different number of entities between branch lines in the XY and UV motion, the toolpath breaks up both the XY and UV into the same number of linear moves. The toolpath also always hits the endpoints of all entities and stays within the linearization tolerance of the arc/spline geometry.





