Jump to content
Ultimaker Community of 3D Printing Experts

Add a Pause in GCode


Recommended Posts

Posted (edited) · Add a Pause in GCode

Hi All,

 

My next project is printed in parts. One part needs to be added to the part that is in the printer. So, I manually pause the printer, so I can add the other part. Then, I continue printing.

 

Question: is there a GCode Command that I can add in the GCode file, so that the printers pauses automatically at the right line? Or is there a function in Cura or a plugin that can do that?

 

Thanks.

Edited by jeex
  • Link to post
    Share on other sites
    Posted (edited) · Add a Pause in GCode

    This is a piece of cake.

    In Cura, select Extensions / Post Processing / Modify Gcode

    Select "Add a Script" and then select Pause At Height

    In the dialog box for Pause at Height in "pause at" select By Layer (Height can be fooled by Z-hops)

    Remember that the layer you see in  the Cura preview is a base 1 number, but gcode layers are base 0.  So if you see in Cura that you want to pause at Layer 57, then in the dialog enter 56 (Cura layer - 1).

    Disarm timeout = 1800 (that's the max of 30 minutes)

    Park the head wherever you want to get it out of the way.

    I don't bother with the retraction stuff.  It requires some dialing in.

    Standby Temperature should be your printing temperature.

    Code before pause is M300.  It means Beep.

     

    So the print will move along and then get to the pause.  The printer will beep, maybe make 1 or 2 more moves, and then park the head where you told it to.  Insert your insert.  I know that if the pause uses the M0 Marlin command, it will require a button click to resume.  Other firmware might be different.

    Do to some oozing, the first few mm of extrusion may be sparse, then it will get back to normal.  You might be able to fix that by practicing with the retraction settings. 

     

    Oh yeah...Show Progress.  The "ShowProgress.py" file goes here:  "C:\Program Files\Ultimaker Cura 4.x.x\plugins\PostProcessingPlugin\scripts".  Copy it in and re-start Cura.  Add ShowProgress as a post processing / Modify Gcode script.  It will show the Cura layer number and a time estimate on the LCD screen.

     

     

     

     

    ShowProgress.zip

    Edited by GregValiant
    CRS disease
    • Like 2
    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
    ×
    ×
    • Create New...