Greetings!

In my GladeVCP am trying to calculate the relative position (displayed in
 in the working coordinate system when there is a rotational offset in
effect.

The python interface provides the following information in the status
attributes:

self.s.actual_position (current position in machine units)
self.s.g92_offset
self.s.g5x_offset
self.s.tool_offset
self.s.rotation_xy

When rotation_xy is 0 (and tool_offset is all zeros) the following is true:

             Work position = actual_position - g92_offset - g5x_offset

However, when rotation_xy is not zero, a rotation has to be applied.  The
question is where?

I swear I've seen this discussed before, but for the life of me can't find
it anywhere.

Thanks for any pointers!

-Kip
------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to