Jump to content
Ultimaker Community of 3D Printing Experts

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


swatti
 Share

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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 8 replies
    ×
    ×
    • Create New...