Can anyone tell me the formula for X and Z co-ordinates when you rotate the B-Axis around the centre of a horizontal machining centre and the you have a part or fixture which is sitting at z200.

Assume that the part has been loaded at X 0, Y 0 and the hole is on Y0.


eg. Say I want to drill a hole at 45° on a diameter.
My component is Z200.0 from the centre of the table(centre of rotation).
I rotate the B axis 45° around the centre of the table .
What would my x and z figures be.