Re: [Emc-users] changing emcmodule.cc and axis.py

2008-08-25 Thread Stuart Stevenson
> 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(-

Re: [Emc-users] changing emcmodule.cc and axis.py

2008-08-25 Thread Jeff Epler
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 > wan

Re: [Emc-users] changing emcmodule.cc and axis.py

2008-08-24 Thread Stuart Stevenson
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 emcmodul

Re: [Emc-users] changing emcmodule.cc and axis.py

2008-08-24 Thread Stuart Stevenson
> I recently removed those items, they were no longer used. (they were > emc1 settings that have always been in hal in emc2) > > if you copied emcmodule.cc from 2.2 or an older TRUNK checkout into a > fresh TRUNK checkout, then you might get this error. > > If this is what is going on, you can fix

Re: [Emc-users] changing emcmodule.cc and axis.py

2008-08-24 Thread Jeff Epler
I recently removed those items, they were no longer used. (they were emc1 settings that have always been in hal in emc2) if you copied emcmodule.cc from 2.2 or an older TRUNK checkout into a fresh TRUNK checkout, then you might get this error. If this is what is going on, you can fix it by removi

Re: [Emc-users] changing emcmodule.cc and axis.py

2008-08-24 Thread Stuart Stevenson
> You didn't by any chance comment out an include file did > you? Did you clean out the old files left behind by a previous make? > > Mark > I commented nothing out of either file. I did not clean old files. Do I need to do a 'make clean'? thanks Stuart

Re: [Emc-users] changing emcmodule.cc and axis.py

2008-08-24 Thread Mark Wendt (Contractor)
Stuart, You didn't by any chance comment out an include file did you? Did you clean out the old files left behind by a previous make? Mark At 12:06 AM 8/24/2008, you wrote: >Gentlemen, >When I download the emc2-trunk and compile it works fine. After I >make a change to emcmodule.c

[Emc-users] changing emcmodule.cc and axis.py

2008-08-23 Thread Stuart Stevenson
Gentlemen, When I download the emc2-trunk and compile it works fine. After I make a change to emcmodule.cc I get this error. When I restore the original file I get this same error. Obviously I am doing something wrong. Any ideas? Compiling emc/usr_intf/axis/extensions/emcmodule.cc emc/usr