penpen Yes, but I don't want to have "G1" and "E" or "F", just only X, Y and Z. Store the numbers following by the letter of the variable and put into the robtarget Pn:=[[X,Y,Z],...; And I want to have Z1 -- store Z1 X1 Y1 -- store them, create robtarget P1 and store v...
(...) G1 Z5 F5000 ; lift nozzle (...) I want to delete or avoid the lines with ";" and replace in sequence the values for each X, Y and Z like this: I'm not sure what you want to do, as for example the fourth line contains a Z value ("Z5"), too. Do you want to process only lines...
Hello, I am trying to create a script which read from a file for example composition.gcode and I want to extract values that starts with X, Y and Z. For example in this file there is a structure like this: G21 ; set units to millimeters M104 S200 ; set temperature G28 ; home all axes G1 Z5 F5000 ; l...