Hello Guest it is April 19, 2024, 04:52:01 AM

Author Topic: Calculating G68 rotation point?  (Read 3426 times)

0 Members and 1 Guest are viewing this topic.

Offline Tomas

*
  •  15 15
    • View Profile
Calculating G68 rotation point?
« on: February 03, 2015, 03:26:15 PM »
Hi,

 I'm trying to figure out Mach3 is calculating it's origin then using G68.

Example say I'm doing with G54 set to X0 Y0
Quote
G68 X1 Y1 R15
Mach3 will say my new origin is X-1.2247 Y-0.7071, but if you calculate a roration about X1,Y1 by 15 Degs the
origin comes as X0.2929 Y-0.2247.  Can anyone shed a light on this for me?

Thanks,
Tomas
Re: Calculating G68 rotation point?
« Reply #1 on: February 03, 2015, 09:06:52 PM »
Hi Tomas,
see picture.

Alex

Offline Tomas

*
  •  15 15
    • View Profile
Re: Calculating G68 rotation point?
« Reply #2 on: February 04, 2015, 11:58:55 AM »
Hi Alex,

  Thanks for drawing! I see what is going on now. Do you know why when the DRO's are
red they are showing the distance from the rotation point and not the origin location?

-Tomas

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Calculating G68 rotation point?
« Reply #3 on: February 04, 2015, 12:59:25 PM »
The G68 will rotate from the givin point in the call . IF there is no Givin point then it rotates from the point from which it was called.


Just a thought, (;-) TP