On Sun, Aug 24, 2008 at 10:10:08PM -0500, Stuart Stevenson wrote:
> Gentlemen,
>    I have the preview showing the tool like I want to see. The A and B
> axis tilt in the direction I want. The motion for the A axis is what I
> want but the motion for the B axis is still tilted opposite what I
> want.
>    I cannot see where to make the change. I am thinking it is in
> emcmodule.cc. I  am not sure though. It should be as simple as
> changing a sign. I have tried a few things with no success.
>    Thanks in advance for the direction.
> Stuart

My guess is that you want to change the sign of the second argument to
rotate_y in emcmodule.cc:
    rotate_y(p, pt[4]);
becomes
    rotate_y(p, -pt[4]);

and similarly in axis.py you want to change the sign of the first
argument:
    glRotatef(ry, 0, 1, 0);
becomes
    glRotatef(-ry, 0, 1, 0);

In each case, this argument is the angle to rotate through.

Jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to