Hello everyone,

How does one ensure the angular alignment of both spindle when doing a part transfer?
Let's say we have bar that requires hex shape on both ends and we want the milled flats
to be aligned on each end. We're off by a some degrees when we mill on the sub.
Our actual need is to have a threaded holes on both ends with the same requirements, the holes must be aligned and they are not thru.

I'm pretty new with the machine, is there some settings/parameter I can check before I start compensating in the code?
Could somebody post a sample gcode I can look or suggest steps that I should take.
BTW, we're using a CAM program.
Any help would be greatly appreciated.