Jump to content

Recommended Posts

Posted (edited) · New Cura version has G92 extruder nonsense in "End G-Code"

So after installing the latest version of Ultimaker Cura, Cura decided to corrupt all of my printer settings from the previous version, and I had to start over completely from scratch. Whatever, I understand this happens sometimes, but what I really didn't understand was why my already difficult-to-load filament kept retracting completely out of the extruder every time a print finished. Finally, I uncovered this in the End G-Code:

 

M104 S0

M140 S0

G92 E80

G28 X0 Y0

M84

 

Can anyone explain what the rationale for this was? G92 is used to reset an origin. What business does it have being used to command an extruder like this? Why couldn't whoever came up with this just use the G1 command if they wanted to add a routine extraction? And why on Earth was this set by default to 80mm? Why would anyone think that this was a good idea to include? Can anyone think of any conceivable situation where automatically retracting 80mm at the end of a print would be something an operator would actually want? I'm just asking because I had nothing but nonstop printer problems all week and this was just the icing on the cake. 

Edited by grimsrudjk
  • Link to post
    Share on other sites

    Posted · New Cura version has G92 extruder nonsense in "End G-Code"

    I had just asked about this I think shortly before yours in regard to the Anet A8 profile.

     

    I went out to GitHub to look at the history on this:

     

    https://github.com/Ultimaker/Cura/blob/92691f68b6e969b07519a3dd91cff98796a765e4/resources/definitions/anet3d_a8.def.json

     

    Long and short of it there is a better setting:

    M104 S0
    M140 S0
    G92 E0
    G1 E-10 F2000
    G28 X0 Y0
    M84

    So  - G92 E0 sets the extruder position to 0, then G1 E-10 F2000 runs an extrusion of -10mm and sets the feed rate to 2000.

     

    I'm going to give this a wing and see what happens - I was NOT happy with the 80mm retract - pulled the filament out of the extruder throat and globbed it under the hobbed gear. Had to take the thing apart to clear it.

  • Link to post
    Share on other sites

    Posted (edited) · New Cura version has G92 extruder nonsense in "End G-Code"

    So glad I wasn't the only one to experience this!! I had to take my extruder apart four times in a single night to fix this every time it happened. I couldn't for the life of me figure out what line of code was causing it. As an aside, I also had no idea that this sort of low-level Gcode could be examined in Cura's Github. Thanks for sharing that. 

     

    Just an FYI, I was recently told that more optimal printer settings can be found on the SD Card that came with the printer. You can take those settings and merge the ones you want into your current Cura printer profile. I've never actually plugged in that SD card, only because I didn't know what sort of potential nasty malware might be lurking on it. If I had purchased a more reputable branded printer I probably wouldn't have hesitated to take a peek at what was on it. 

    Edited by grimsrudjk
  • 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

      • Help Us Improve Cura – Join the Ultimaker Research Program
        🚀 Help Shape the Future of Cura and Digital Factory – Join Our Power User Research Program!
        We’re looking for active users of Cura and Digital Factory — across professional and educational use cases — to help us improve the next generation of our tools.
        Our Power User Research Program kicks off with a quick 15-minute interview to learn about your setup and workflows. If selected, you’ll be invited into a small group of users who get early access to features and help us shape the future of 3D printing software.

        🧪 What to Expect:
        A short 15-minute kickoff interview to help us get to know you If selected, bi-monthly research sessions (15–30 minutes) where we’ll test features, review workflows, or gather feedback Occasional invites to try out early prototypes or vote on upcoming improvements
        🎁 What You’ll Get:
         
        Selected participants receive a free 1-year Studio or Classroom license Early access to new features and tools A direct voice in what we build next
        👉 Interested? Please fill out this quick form
        Your feedback helps us make Cura Cloud more powerful, more intuitive, and more aligned with how you actually print and manage your workflow.
        Thanks for being part of the community,

        — The Ultimaker Software Team
        • 0 replies
      • Cura 5.10 stable released!
        The full stable release of Cura 5.10 has arrived, and it brings support for the new Ultimaker S8, as well as new materials and profiles for previously supported UltiMaker printers. Additionally, you can now control your models in Cura using a 3D SpaceMouse and more!
          • Like
        • 18 replies
    ×
    ×
    • Create New...