## Math Question : Writing Machine Macro

## Math Question : Writing Machine Macro

(OP)

I'm not sure how well versed people are here with machine process, etc. My question is basically a trigonometry problem and I will try and lay it out as easy as I can..

I am machining a part that rotates (not on center) about a fixed rotary point. I know where the machine center of rotation is . Now what I need to do is track an offset that I will set, off my part when I rotate to 25 degrees.

This needs to be able to be done mathematically (I can use sine, cos, tangent etc) functions in the machine, the thing is the part is not always in the same location.

Basically I will probe the part to find the 0 offset, then I can populate some fields, and I need to calculate the offset when it rotates 25 degrees, based on the initial offset (should be able to since I know this point obviously, and where it is relative to the point of rotation.) I am just not sure the required trig functions to do so, since the distance from the actual rotation center will change part to part...

Thanks

I am machining a part that rotates (not on center) about a fixed rotary point. I know where the machine center of rotation is . Now what I need to do is track an offset that I will set, off my part when I rotate to 25 degrees.

This needs to be able to be done mathematically (I can use sine, cos, tangent etc) functions in the machine, the thing is the part is not always in the same location.

Basically I will probe the part to find the 0 offset, then I can populate some fields, and I need to calculate the offset when it rotates 25 degrees, based on the initial offset (should be able to since I know this point obviously, and where it is relative to the point of rotation.) I am just not sure the required trig functions to do so, since the distance from the actual rotation center will change part to part...

Thanks

## RE: Math Question : Writing Machine Macro

then of course just X and Z are the calculated axis. First you would calculate where that point is in the zero tombstone face position of setup, and then you will know the Z dimension from center of rotation and X location from center point then calculate using the rotation angles for the other positions. I really thought that some of the better programming software did all that for you. Personally I'd rather be using work offsets for adjustability.

## RE: Math Question : Writing Machine Macro

Bill