This is an effort to synchronize the working of this script with how CuraEngine's time estimation works. This includes tracking only one value for acceleration and multiple Jerk stuff, that sort of thing. We need to ensure it's exactly the same.
Contributes to issue CURA-5561.
Because we need to execute several other processing steps as well.
This parse function for G0 and G1 now needs to initialise the state in the same way as how Block is initialised in CuraEngine.
Contributes to issue CURA-5561.
The idea of this issue is to mimic the implementation of CuraEngine. So let's transform its entire algorithm into Python.
Contributes to issue CURA-5561.