Whoops, my bad, I meant to write that this is for a corexy printer controlled by a duet 2 wifi. Thanks for your answer. I went through my files and replaced all of the pause command script with a singly m226. My print went great and paused perfectly.
It's a shame that Cura has removed support for a more simplified pause for reprap firmware. I just need a single m226 inserted in my gcode. The old script worked fine so functionality is missing in this newer version of cura vs older versions.
I'm not even going to begin to try to deal with getting the current script to work, if I replace the entire 20+ line set of commands that the script outputs with a single m226 then it works fine.
GregValiant 1,454
Do you still have the older version of Cura loaded? You could go into the new "plugins\PostProcessingPlugin\scripts" folder and rename PauseAtHeight.py. Then go to the old version and copy the older version of PauseAtHeight.py into the 4.8 Scripts folder. When you restart Cura the old one should show up instead of the one you don't like.
No, I don't have it installed any longer. I will just manually edit my gcode for now, hopefully the Cura dev team can put this functionality back into the software in future releases.
GregValiant 1,454
Is this it?
Recommended Posts
GregValiant 1,454
What printer? and what firmware? It looks like you added the printer as a custom FFF is that correct? Then you may need to customize the Pause at Height. You can open it in Notepad.
In your Cura folder "...\Plugins\PostProcessingPlugins\Scripts" is PauseAtHeight.py. Near the end of that file is a line: prepend_gcode += self.putValue(M = 8
2) + " ;switch back to absoluteE values\nIf you were to change it like this:
prepend_gcode += self.putValue(M = 83) + " ; relative E values\n
I think you would get what you want as far as the extrusion mode goes.
There is also this line:
pause_command = {
"marlin": self.putValue(M = 0),
if you were to change the 0 to 226 it would then insert what you want.
You could also use the Search and Replace plugin to change all M0's in the file to M226's.
Link to post
Share on other sites