Jump to content
UltiMaker Community of 3D Printing Experts

TweakAtZ 4.0.2 Behavior issue


Recommended Posts

Posted (edited) · TweakAtZ 4.0.2 Behavior issue

Hi guys,

Im having some behavior issues with cura's tweak at Z 4.0.2.

When i tweak at a certain layer height, it works fine but when it comes to the printing speed for the rest of the print, it just goes back to the initial printing speed... It's quite weird as the tweaked temperature remains the same but the speed won't follow for the rest of the print.

I've tried 3 different tests but i can't find what the issue is. Do you guys have any suggestions ?

I'm also using the "print one at a time" settings

There are 3 pictures of the 3 different tests i've tried.




Thank you, David




Edited by Guest
  • Link to post
    Share on other sites

    Posted · TweakAtZ 4.0.2 Behavior issue

    Goodday to you,

    Last days I am working out the TweakatZ feature and it does not work the way I expect it should. Also it has been difficult for me what exactly is the reason. I simplified my tests with a testfile. Tweaking in printingspeed with "Tweak value and keep it for the rest" does the job, but only for one layer and next layer it comes back to the former speed at 100%. I found out that the code of doing this is in this Gcode file "G1 F900" (slower speed) or "G1 F1800" (full speed), I changed some more layers with this codes and it printed more layers at this slower speed. I wonder what is wrong. I used the version of Cura 15.02.1 (with TweakatZ version 4.0.1), 15.04.4 and 15.04.5 with TweakatZ version 4.0.2

    I copied and pasted a part of the code hereunder;

    or the full file of this test at



    G0 X102.100 Y102.100 Z2.300


    G1 F1800 X120.900 Y102.100 E156.25600

    G1 X120.900 Y120.900 E157.76000

    G1 X102.100 Y120.900 E159.26400

    G1 X102.100 Y102.100 E160.76800

    G0 F9000 X101.700 Y101.700


    G1 F1800 X121.300 Y101.700 E162.33600

    G1 X121.300 Y121.300 E163.90400

    G1 X101.700 Y121.300 E165.47200

    G1 X101.700 Y101.700 E167.04000

    G0 F9000 X102.700 Y102.700


    G0 X102.100 Y102.100 Z2.500


    G1 F1800 X120.900 Y102.100 E168.54400

    G1 X120.900 Y120.900 E170.04800

    G1 X102.100 Y120.900 E171.55200

    G1 X102.100 Y102.100 E173.05600

    G0 F9000 X101.700 Y101.700


    G1 F1800 X121.300 Y101.700 E174.62400

    G1 X121.300 Y121.300 E176.19200

    G1 X101.700 Y121.300 E177.76000

    G1 X101.700 Y101.700 E179.32800

    G0 F9000 X102.700 Y102.700


    G0 X102.100 Y102.100 Z2.700

    ;TweakAtZ V4.0.2: executed at Layer 12

    M117 Printing... tw@L 12


    G1 F900 X120.900 Y102.100 E180.83200

    G1 X120.900 Y120.900 E182.33600

    G1 X102.100 Y120.900 E183.84000

    G1 X102.100 Y102.100 E185.34400

    G0 F9000 X101.700 Y101.700

    G0 F9000 X101.700 Y101.700


    G1 F900 X121.300 Y101.700 E186.91200

    G1 X121.300 Y121.300 E188.48000

    G1 X101.700 Y121.300 E190.04800

    G1 X101.700 Y101.700 E191.61600

    G0 F9000 X102.700 Y102.700

    G0 F9000 X102.700 Y102.700


    G0 X102.100 Y102.100 Z2.900

    G0 X102.100 Y102.100 Z2.900


    G1 F1800 X120.900 Y102.100 E193.12000

    G1 X120.900 Y120.900 E194.62400

    G1 X102.100 Y120.900 E196.12800

    G1 X102.100 Y102.100 E197.63200

    G0 F9000 X101.700 Y101.700


    G1 F1800 X121.300 Y101.700 E199.20000

    G1 X121.300 Y121.300 E200.76800

    G1 X101.700 Y121.300 E202.33600

    G1 X101.700 Y101.700 E203.90400

    G0 F9000 X102.700 Y102.700

    Screenshot at


    Can somebody help me out what could be the issue?

    Kind greetings :)


  • Link to post
    Share on other sites

    Posted · TweakAtZ 4.0.2 Behavior issue

    Good day to you,

    As far as I have the same problem as Dav, (printing speed going back to the original speed) I copied the link from Dim3nsioneer (that is a TweakAtZ_4.0.4.py file) in the opened plugin location on my computer. I had to change the extension by renaming the file to TweakAtZ.py.

    Thank you for that.

    Now it worked and my print is keeping the printspeed.

    First part solved. I wonder if I can find more information how TweakatZ works;

    "No. of layers used for change", does not do anything special. I would expect something like a lineary scale of change, that would be wonderful. Can anybody help me with Tweak at Z?

    On the wiki ultimaker site, I could not find information to gain better understanding.

  • Link to post
    Share on other sites

    Posted · TweakAtZ 4.0.2 Behavior issue

    Thank you Dim3nsioneer for your help,

    Would it be possible to find added information about the Gcodes somewhere, so I can see in the Gcode file where what command does what? Should I also have a comment on my printerscreen when a command is in action? Should I be able to see a lineary change in the Gcode and in which commands should that be? I am learning every day :)



  • Link to post
    Share on other sites

    Posted · TweakAtZ 4.0.2 Behavior issue

    you'll find it here, scroll down this page;


    • Like 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

      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.

        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 10 replies
      • UltiMaker Cura 5.3.0-Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 17 replies
      • New here? Get ahead with a free onboarding course
        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
        • 14 replies
    • Create New...