Part One High Performance Milling Trick: 5-axis part with square hole cut manually programmed using a special macro written for measuring angle tools. The Heidenhain controller calculated each move in 5-axis but the C & B positions are all based on the exact tool angle and theoretical tool point position measured on the laser setter. How was this done? All XYZ positions and tool orientation angles were programmed at B zero. The Heidenhain control then recalculated each position in order to accommodate a vertical tool orientation using the M128 command.