Quote Originally Posted by RichardR View Post
How would I write or add to G0 Z10 Z0 to repeat a few hundred times without doing it manually, I have not got into writing G code as I just let JS cut do it for me :-)
Just use a text editor like Notepad and use copy n paste. To change for other axis just use the find n replace option ie: find Z and replace with X.

When writing the G-code you only need G0 Z-10 on the top line only because it's what's called a Modul command and the G0 which means travel at max velocity will stay in effect until another command comes along like G1, which is a commanded feedrate move.

So you can write it Like this, then just copy and paste the last 2 lines over and over, or if you're clever you'll do 10 or 20 lines then copy n paste those.
G0 Z-10
Z0
Z-10
Z0