Jump to content

The new "Pause at Height" script not working correctly with duet 2 wifi. Cura 4.8.


orkg

Recommended Posts

Posted · The new "Pause at Height" script not working correctly with duet 2 wifi. Cura 4.8.

I'm having trouble with the new Pause at height script in Cura. 

I like to use it to stop a print to change filaments. I typically accomplish this by using my printer's firmware to retract old filament, 

I had some initial issues with it due to me not realizing that it was going to drop out the heater, causing my printer firmware to disable the extruder which would prevent me from changing filament, I have solved that with settings. 

Now I'm stuck on this issue where the extruder goes the wrong direction when the print resumes. It retracts instead of extruding. Further manual pausing using my firmware works fine, but the extruder is going the wrong direction for the rest of the print. 

Previously Cura had a post processing script named something for like "Pause at height for reprap firmware". This always worked perfectly. It had like one setting for pause height and just worked. 

The new script has all of these options which I want nothing to do with. My printer has a pause.g and resume.g confuration file to make changes to how pausing works. 

 

I'm pretty sure that all I need is a script which puts an "m226" into my gcode so that my printer can initiate the pause sequence.

In my gcode there are 16 other unnecessary commands being executed by this script. When I resume, my extruder goes backwards. I don't see how I could change this in the GUI. I can see that it is setting absolute E values using m82, I use the relative extrusion setting in Cura special modes. Could that be why my extruder goes backwards?

There is lots that I don't know, any help would be appreciated. For now I guess I will just manually edit all gcode files from cura to clean up the pauses to just a single m226. 

 

 


i906XQm.png

CFFFP_Keycap.gcode

  • Link to post
    Share on other sites

    Posted · The new "Pause at Height" script not working correctly with duet 2 wifi. Cura 4.8.

    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 = 82) + " ; switch back to absolute E values\n

     

    If 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

    Posted · The new "Pause at Height" script not working correctly with duet 2 wifi. Cura 4.8.

    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. 

  • Link to post
    Share on other sites

    Posted · The new "Pause at Height" script not working correctly with duet 2 wifi. Cura 4.8.

    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.

     

  • Link to post
    Share on other sites

    Posted · The new "Pause at Height" script not working correctly with duet 2 wifi. Cura 4.8.

    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. 
     

  • Link to post
    Share on other sites

    Posted · The new "Pause at Height" script not working correctly with duet 2 wifi. Cura 4.8.
    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...