Currently, the solution is that the G68 command rotates the entire coordinate system (program and machine)
In order for it to achieve its goal, it is enough that after the machining is done, you cancel the rotation of the coordinate system:
G21
G0 X0 Y0 z0
G68 R45
G1 X10 F3000
Y10
X0
Y0
G69
G53 G0 X0 Y0
M30
This way when you run gcode again, the machine will repeat exactly what it did the first time.
Currently, the solution is that the G68 command rotates the entire coordinate system (program and machine)
In order for it to achieve its goal, it is enough that after the machining is done, you cancel the rotation of the coordinate system:
G21
G0 X0 Y0 z0
G68 R45
G1 X10 F3000
Y10
X0
Y0
G69
G53 G0 X0 Y0
M30
This way when you run gcode again, the machine will repeat exactly what it did the first time.