Pause at height and redo layers
Closed this issue · 2 comments
Hi,
I'm using cura 2.5 beta (downloaded from the website), on Linux.
I have a problem with the pause at height plugin. When I choose to redo some layers (let's say 2 layers) after a pause, I can see in the Gcode that the layers a redone before the pause. It's not the expected behaviour.
UM2O_POC_extraction_cartridge_broken.txt
I attached my gcode. I would like to redo layers 81 and 82 after the pause. But you can see in the Gcode that these layers are redone before the pause. After the pause, the printing resumes at layer 83.
Gcode unaltered directly outputed by Cura.
Is there a way to solve this issue ?
I've added the functionality, but currently have limited time. Maybe you could try debugging the following lines:
https://github.com/nallath/PostProcessingPlugin/blob/master/scripts/PauseAtHeight.py#L166-L169
Done. I made a PR: #42
The block responsible to write the layers to be redone was placed after the block responsible for the pause.
It is now before.