OK still not looked to see what is causing the graphics glitch but am more concerned with the Z-5 part of the code when nesting. I know what the Z-5 is, its my safe Z.
I did a very simple code for the test so that I could make sure the Z-5 line was still being added when nesting and it is, heres the code before and after nesting, anyone have any idea why the Z-5 is always added? and if it should be there should it not be machine coordinates instead? sorry for my lack of proper terminology, I dont know G Code but am learning (slowly)
Hood
%
G0 X0 Y0 Z2
G1 Z-3 F100
G1 X100 F4000
Y50
X0
Y0
G0 Z2
M99
%
M98(-C:\Documents and Settings\Hood\My Documents\TEST.tap)
G0 Z-5
G0 X100 Y0
G92 X0
M98(-C:\Documents and Settings\Hood\My Documents\TEST.tap)
G0 Z-5
G0 X0 Y0
G92 X100
G0 X0 Y50
G92 Y0
M98(-C:\Documents and Settings\Hood\My Documents\TEST.tap)
G0 Z-5
G0 X100 Y0
G92 X0
M98(-C:\Documents and Settings\Hood\My Documents\TEST.tap)
G0 Z-5
G0 X0 Y0
G92 X100
G92 Y50
G0 X0 Y0
M30