The complete Gcode is calculated pre start based of the parameters that is collected from the user interface. Eg. the Gcode is static.
My first thought:
1. Program Start
2. Program STOP
3. User press "Rewind to last cut" [<]
4. CB check current Gcode line
5. CB opens file -> searches Gcode for keyword like "Cut"
6. CB determines which "cut" that is closest (backwards) to current line
7. CB set next line
8. User is happy, and press Start to try again!
Please tell me there is a better way
