SetToolVector

This method is used to change the cutting tool vector.

Normally, the cutting tool vector information comes from the APTCL file.

However, in some cases, we need to reorient cutting tool vector. This mostly happens in 6 axis milling post processors. CNC machine tools do not calculate 3 rotary axis rotations at the same time. Therefore, while developing post processors for 6 axis milling machines, we first calculate rotary table position. Then we reorient the cutting tool vector accordingly.

You can also use this method in your special applications when you need.

This methos takes 3 parameters as shown below:

SetToolReferenceOrientation(-1,0,0)

Here, the first parameter is the X component of the new tool reference, Second parameter is the Y component, Third parameter is the Z component.

This vector should be defined as unit vector.