Jump to content

Can I customize the "G92 E0" line Cura inserts automatically at the start?


pulsar123

Recommended Posts

Posted · Can I customize the "G92 E0" line Cura inserts automatically at the start?

I want to have this command right before the printing starts in my gcode:

 

G92 E-11

 

That forces the printer to advance the filament rapidly right at the moment when printing starts, so it starts extruding from the very first point (otherwise I get no extrusion for the first 10-15 cm, and I want to avoid printing a skirt just because of this).

 

Unfortunately I cannot do this automatically (only by manually editing the gcode file), because Cura inserts a line "G92 E0" at the beginning, right after the end of my custom startup machine code. So placing "G92 E-11" at the end of my startup code will not achieve anything, as the next line will always be "G92 E0".

 

Where is this "G92 E0" command is generated by Cura? Can I customize it?

 

Thanks!

  • Link to post
    Share on other sites

    Posted · Can I customize the "G92 E0" line Cura inserts automatically at the start?

    I did - I searched all text files in the cura installation directory for the expression "G92 E0", but all I found was lines like these (in *.json files):

     

    "default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15.0 F9000 ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E3 ;extrude 3mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F9000\n;Put printing message on LCD screen\nM117 Printing..."

     

    I don't think I am getting my G92 line from one of those, because I don't see in my gcode any other accompanying commands (like G1 F200 E3).

     

    I also checked the */AppData/Roaming/cura/ directory (I am under Windows), nothing there.

     

  • Link to post
    Share on other sites

    Posted · Can I customize the "G92 E0" line Cura inserts automatically at the start?
    1 hour ago, pulsar123 said:

    I did - I searched all text files in the cura installation directory for the expression "G92 E0", but all I found was lines like these (in *.json files):

     

    "default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15.0 F9000 ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E3 ;extrude 3mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F9000\n;Put printing message on LCD screen\nM117 Printing..."

     

    I don't think I am getting my G92 line from one of those, because I don't see in my gcode any other accompanying commands (like G1 F200 E3).

     

    I also checked the */AppData/Roaming/cura/ directory (I am under Windows), nothing there.

     

    What machine are you using? Maybe it will give hints to someone to help you more.

  • 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
        • 16 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...