Jump to content

Recommended Posts

Posted · How to setup Cura to keep heatbed and nozzle hot after print

Not sure if you found out how to do this, but if not, can you just remove the end gcode that turns them off.  M104 turns off the hotend and M140 turns off the bed.

  • Link to post
    Share on other sites

    Posted · How to setup Cura to keep heatbed and nozzle hot after print
    1 hour ago, Jamok said:

    Not sure if you found out how to do this, but if not, can you just remove the end gcode that turns them off.  M104 turns off the hotend and M140 turns off the bed.

     

    Thank you very much, Jamok! Unfortunately Cura 4.5 seems to have two "End Gcode sections" the first is accessible (there i deleted all M140 commands, the second "End Gcode section"is hidden and contains the the Heatbed switch off command. Just compare any gcode: this will validate my claim. Maybe one of the hundrets of settings may allow configurating the hidden section or otherwise i have to edit each gcode file to delete  the M140 S0 or i have to accept the time delay of reheating the heatbed for next print 😞

  • Link to post
    Share on other sites

    Posted · How to setup Cura to keep heatbed and nozzle hot after print

    That is rough.  I did not even think to compare the gcode that is generated.  Could you add the temps you want by editing the gcode after it is created?

  • Link to post
    Share on other sites

    Posted · How to setup Cura to keep heatbed and nozzle hot after print
    9 hours ago, Jamok said:

    That is rough.  I did not even think to compare the gcode that is generated.  Could you add the temps you want by editing the gcode after it is created?

    Yes just compare the end gcode in cura with end gcode in file...

     

    Yes i can add and delete in gcode file everything i want, but as cura as so many cool features i just cant believe that this is the productive way 😉

  • Link to post
    Share on other sites

    Posted · How to setup Cura to keep heatbed and nozzle hot after print

    I agree 100%.

  • Link to post
    Share on other sites

    Posted · How to setup Cura to keep heatbed and nozzle hot after print
    7 hours ago, Cruhl said:

    but as cura as so many cool features i just cant believe that this is the productive way

    One of the productive cool features in Cura is the postprocessing plugin. Extensions -> Post processing -> Modify G-Code. Especially the Search and Replace script is a very powerful tool; you can eg replace M140 S0 with M140 S50 if you wanted.

  • Link to post
    Share on other sites

    Posted · How to setup Cura to keep heatbed and nozzle hot after print

    Thank you.  I was just typing that up myself and got the notice of your reply.

  • Link to post
    Share on other sites

    Posted (edited) · How to setup Cura to keep heatbed and nozzle hot after print

    Not sure if it matters but I did the search part with the last 2 lines just in case there is an "M104 S0" that needs to be included for other reasons.

     "M82 ;absolute extrusion mode
    M104 S0" is what I searched for.  Each sliced file I looked at did not have any others, so it may not be an issue.

    Edited by Jamok
    missed info
  • Link to post
    Share on other sites

    Posted · How to setup Cura to keep heatbed and nozzle hot after print

    I'd also like to keep my heated bed at temp after a print. I'm using the heatertimeout plugin to manage shutting off the bed. I'm seeing M104 S0 inserted before my machine's end gcode.

     

    The section in red/bold is not part of my end gcode specified in machine settings, and I'm not sure what adds it.


     

    Quote

    ;TIME_ELAPSED:1161.739754
    G1 F1800 E661.52454
    M140 S0
    M107

    G91 ;Relative positioning
    G1 E-2 F2700 ;Retract a bit
    G1 E-2 Z0.2 F2400 ;Retract and raise Z
    G1 X5 Y5 F3000 ;Wipe out
    G1 Z10 ;Raise Z more
    G90 ;Absolute positioning

    G1 X0 Y220 ;Present print
    M106 S0 ;Turn-off fan
    M104 S0 ;Turn-off hotend
    ;M140 S0 ;Turn-off bed

     

     

    I can certainly come up ideas for with workarounds for this, but was wondering if anyone could tell me what's adding the M140 S0.

     

    Sorry for digging up such an old topic but it's the most relevant one I found.

     

  • Link to post
    Share on other sites

    Posted · How to setup Cura to keep heatbed and nozzle hot after print
    11 hours ago, d3c0de said:

    but was wondering if anyone could tell me what's adding the M140 S0.

    CuraEngine adds that. And it does so because in 99% of the cases (if not more), it is a good idea to do so.

     

    The workaround is to use the PostProcessing plugin to remove or replace that command.

    • Thanks 1
    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...