webers wrote:I have printer with firmware which uses G1 as activation for extruder so I need the G code which uses G0 for non printing moves.
Sorry, I don't understand this. G1 is always the definited movement of the print head to a certain position AND allows extrusion with the parameter "E" ... mm or even no extrusion when "E" stays empty. What do you need more?
G1 Axis [X/Y/Z/E] Position Feed [F] Controlled Movement G1 F150 X10 in this example it is going to X 10 ( Y = 0 ) where ever it starts.
This movement - without the parameter "E" is only used for positioning the print head to begin the extrusion or changing place of extrusion. The next step is the G1 order with "E" parameter for the planed extrusion.
I would say, you cannot use it to reach your goal with a transformation of G1 to G0.
At the moment I have tested a very complex thing with 2.500.000 g-code lines and there is no one line with G0