You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
g01
About this tag
The g01 tag on WindowsForum.com covers discussions about G-code, specifically the G01 command used in CNC machining. In a recent thread, a user asked how to automate inserting lines before G00 and G01 commands in Notepad, such as adding G00 Z2 before G00 moves and G00 Z0 before G01 moves. The user sought a find-and-replace method to handle carriage returns and line feeds in large G-code files. This tag is relevant for users working with CNC programming, G-code editing, and text manipulation in Windows environments.
Is it possible to alter 2 lines in notepad using edit/replace?
I have a number of files, gcodes, that are in the format
G00 Xnn Ynn
G01 Xnn Ynn
G01 Xnn Ynn
G00 Xnn Ynn
G01 Xnn Ynn
G00 Xnn Ynn etc
I would like to finish up with a line before each G00 Xnn Ynn line with G00 Z2 and before each...