The program calculates the coordinates of the x-axis and c-axis for the following. It calculates the coordinates of the x-axis and c-axis for holes. It calculates the coordinates of parallel planes for wrench. It calculates the coordinates for the polygon. and it calculate the coordinates of the x-axis and z-axis for holes. The program has not been tested in a real machine.