Jump to content

Is there a way to remove ALL temperature codes from cura g-code?


swatti

Recommended Posts

Posted · Is there a way to remove ALL temperature codes from cura g-code?

For some reason v4.6.1 Cura tries to "even out" temperature before starting a print. My firmware controls temps for me. How do i remove ALL temp codes from the g-code?

Deleting each manually is not an option.

  • Link to post
    Share on other sites

    Posted · Is there a way to remove ALL temperature codes from cura g-code?
    1 hour ago, ahoeben said:

    You could use a Search and replace postprocessing script.


    Care to explain how those work, and maybe copypaste a line for me to work on.

     

  • Link to post
    Share on other sites

    Posted · Is there a way to remove ALL temperature codes from cura g-code?

    Go to Extensions -> Post Processing -> Modify Gcode

    Add a Search and Replace script

     

    Search: M1(40|90|04|09) .*

    keep Replace: empty

    Turn on the "Use Regular Expressions" checkbox

     

    Save gcode. There are no more M140, M190, M104 or M109 gcodes in it.

  • 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.4 stable released
        The full stable release of UltiMaker Cura 5.4 is here and it makes it easier than ever to remove brims and supports from your finished prints. UltiMaker S series users can also look forward to print profiles for our newest UltiMaker PET CF composite material!
          • Like
        • 58 replies
    ×
    ×
    • Create New...