Greetings all; I've managed to cobble up what I think is the same code as in center.c, but in gcode, with the idea of eventually making it a named, callable from disk, subroutine so I don't have to reinvent this wheel again.
However, the move _before_ that start of what is supposed to be a very flat arc, curving slightly downward to the left, is actually moving upward as x moves to get to the starting point of this shallow inside arc! example: G01 Y[#1003*42.0000] X[#1004*380.973] G01 Y[#1003*84.0234] X[#1004*380.973] (straight line move to back of stem) G01 (Y[#1003*84.0234]) X[#1004*260.000] ( move up stem to 260? ) o50 call [260.000] [84.0234] [230.000] [76.500] [245.000] [81.50000] g3 Y[#1003*76.500] X[#1004*230.000] i[#1004*#<_x>] j[#1003*#<_y>] There is a G64 p0.001 at the top of the file. Even with the Y motion commented out in this 3rd line as above, it ramps up 3 pixels in the backplot by the time the 3rd move has been made. The G3 curve does ok I think, but because of this, its right hand starting y is too high. Leads to gouging warnings at the drop of a hat that might fit a micron sized head too. #1003=#1004=0.00239 in this case. This is a small part. :) I am seeing the first of the 2 outputs from the o50 call subroutine on screen before it actually starts the 3rd lines move when single stepping, so the lookahead is working, and the next click gets me the 2nd output from the o50 call. Another click then gets this doofy slanted straight line xy move, and its giving me a headache. These values from the subroutine for i=2.115198, and j=-6.291388 for the center point intersection of the arc, the I & J of the arc to be drawn. I think Murphy is back again, he must be immortal. ;P) Thanks for any clues guys. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> is up! My views <http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml> "It is easier to fight for principles than to live up to them." -- Alfred Adler I was taught to respect my elders, but its getting harder and harder to find any... ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users