Jump to content

Avoid implicit G-Codes after Start G-Code


Recommended Posts

Posted · Avoid implicit G-Codes after Start G-Code

Cura creates implicit G-Codes after the Start G-Code and before the sliced object.

;Generated with Cura_SteamEngine mb-master-20210516
M82 ;absolute extrusion mode
; >>> Printer Start G-code
; allow preheat in fluiid/mainsail
;M109 S235.0 
;M190 S75 
;M106 S0 
; start gcode is handled by Klipper
; <<< exit Start G-code
G92 E0
; >>> Extruder Start G-code
; <<< Extruder Start G-code
G92 E0
G1 F1800 E-2

How can I convince CURA not to insert this implicit retract before Layer 0?


  • Link to post
    Share on other sites

    Posted · Avoid implicit G-Codes after Start G-Code

    I don't think you can.  It's usually a good thing - it prevents the nozzle from leaking while it moves to the start of the skirt or brim.  Then it does an E0 which undoes that retraction and then it starts printing the skirt or brim.


    If you take out the E-2 it will leak a bit and there will be less filament for when it starts printing the skirt/brim.


  • Link to post
    Share on other sites

    Posted · Avoid implicit G-Codes after Start G-Code

    @gr5 and @SusisStrolch,

    When I was tweaking my start gcode I was having trouble getting the head to "pick up here, move over there, start to extrude".  It turned out to be that line that was the issue.  My fix (not a great one) was to use the Search And Replace plugin and search for G1 F1800 E-2 and replace it with G92 E-1.5.  Since there was no longer a retraction, the filament was right at the nozzle and the later G1 F1800 E0 that precedes the start of printing ends up being a good prime.  Now my skirt (or whatever) starts right up.

    The downside to using the Search and Replace is that if I change retraction speed or retraction distance, the search criteria has to change as well.  The second downside is that if the same line was to appear later in the gcode (which is exceedingly unlikely), it would be changed as well.


  • 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

      • 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
      • Ultimaker Cura 5.6 stable released
        Cura now supports Method series printers!
        A year after the merger of Ultimaker and MakerBotQQ, we have unlocked the ability for users of our Method series printers to slice files using UltiMaker Cura. As of this release, users can find profiles for our Method and Method XL printers, as well as material profiles for ABS-R, ABS-CF, and RapidRinse. Meaning it’s now possible to use either Cura or the existing cloud-slicing software CloudPrint when printing with these printers or materials
        • 48 replies
    • Create New...