Jump to content
UltiMaker Community of 3D Printing Experts

Flow rate in machine settings


Recommended Posts

Posted · Flow rate in machine settings



On my Ender 2, I need to set the flow rate in Cura 3.6 to 104.5%. No problemo, right? Well, instead of doing it on a per print / per profile basis, I'd like to set it and forget it. So I learned that I can use M221 S104.5 in Marlin to set the flow rate directly in the Gcode of the printer profile. That way, my flow rate is set for each print right? Cool. Well then I started thinking (and this is where I mess myself up)..."If I set the flow rate percentage to 104.5% in the machine settings, but then the flow rate is defined as 100% (default value) in the slicer, which one wins?"


Any ideas on this? Do Gcode settings in the machine profile take precedence over what is defined in the slicer profile? How can I accomplish my goal and still be lazy?


Thanks in advance!

  • Link to post
    Share on other sites

    Posted · Flow rate in machine settings

    Got my answer (don't know why I didn't think of this before). I set the flow to 80% in the profile and left the machine settings at 104%. Then I printed a 25 mm cube with .48 wall thickness. The extruded wall thickness was .40 so...There you go. Profile settings override machine settings.

  • Link to post
    Share on other sites

    Posted · Flow rate in machine settings

    No.  They multiply together.


    So in cura if you set flow to 80%, Cura multiplies all the E values (extruder positions) by 80% such that you get 80% flow.


    With the M221 gcode, Marlin (the firmware on the computer) multiplies each of these E values again by the current Marlin flow value.  The Marlin flow value of course is set by M221.


    If you go into the TUNE menu on Ender (does ender have a tune menu?  Probably). and adjust the flow, it will set the Marlin flow value at that moment and forget.  If later an M221 value appears - that will override.  If later you set it in the TUNE menu again, then at that moment it will override again.


    But the flow in Cura is baked right into the E values.




  • Link to post
    Share on other sites

    Posted · Flow rate in machine settings

    Yup  I set Cura flow to 100% and then before starting my print I set flow in Repetier Host to 70% and after the first layer I set Repetier Host back to  100%, so I get the 1st layer at 70% and everything else at 100%

  • Link to post
    Share on other sites

    Posted · Flow rate in machine settings

    Again, no.  It's not overriding.  They are multiplying.  104% times 80% gives you 83% which is close enough to 80% that you don't notice the difference.

  • Link to post
    Share on other sites

    Posted · Flow rate in machine settings

    So the M221 is telling the printer to multiply all the extruder moves by 104%.  The 80% in cura affects the actual E values (the machine doesn't know about the 80% as the 80% part is baked right into the extruder positions in the gcode).  And cura doesn't know what M221 does.

  • Link to post
    Share on other sites

    Posted (edited) · Flow rate in machine settings

    I have a related question:

    Suppose in my Ender3 I set M221 S85 in the cura machine code, to set the flow rate to 85%, then use the hand wheel on the printer to select  "Tune" and then "Flow" and reset it from 85% to, say, 95%, then what flow rate do I wind up with, 95%, or .85 x .95 = .8075 ~ 81%?

    Note: And, does it matter if I print via USB or if I use an SD chip to carry the cura-generated code to the printer port?

    I have been ass-uming that I would get 95%, an increase of flow rate (which is reflected in the printer setting in the tune/flow menu), but now I wonder if it would actually decrease due to the potential multiplication of the two numbers.

    I guess this is more an Ender3 question than Cura, but I think it is relevant to the original question starting this thread.

    What say you?

    Edited by csterlin
    Added note,,,
  • Link to post
    Share on other sites

    Posted · Flow rate in machine settings

    I can't answer your override/multiplier question directly, but I have been following the excellent guide at https://teachingtechyt.github.io/calibration.html#flow which has you print a topless cube with a single wall. Adjust the layer width to match your nozzle (and make some other adjustments), then print and average the measure of the thicknesses of all the walls. Plug in that number, and the webpage will calculate your needed flow rate.

    You could use this to determine the override/multiplier issues.

  • Link to post
    Share on other sites

    Posted (edited) · Flow rate in machine settings

    "...which has you print a topless cube with a single wall."

    I would respectfully disagree.

    When the ratio of "Volume of Extrusion Out" to "Volume of Filament In" is 1:1 you are at 100% flow.


    1.75 diameter filament has a cross sectional area of PI x r² = 2.405mm²

    The cross section of any extrusion is "Line Width"  x "Layer Height".


    When a "single line wall" is extruded it is unconstrained on both sides and so it spreads out from the perfect "rectangular" shape into a flattened oval.  It WILL be wider, but the volume is correct at "100% Flow" provided two things have been done correctly:

    1. You have calibrated the E-steps on the printer.
    2. You have measured the exact diameter of the filament and entered that number in the "Diameter" box of the Printer Settings in Cura ("Printer Settings" must be loaded from the MarketPlace).

    An extrusion that is 0.20 high x 0.40 wide x 100.00mm long is 8mm³.

    The filament is 2.405mm³/mm

    8mm³ / 2.405mm³/mm = 3.32640mm of filament.

    If I tell Cura (and consequently the printer) to run at 85% flow then where does that missing 15% of the volume come from?  It can only come from the Line Width.

    To calibrate the flow - Calibrate the E-steps, get the filament diameter right, and then....

    Load a regular flat topped calibration cube in Cura and scale the cube to 75 x 75 x 1mm tall and slice it with all Cura flows at 100% and then print it.  Look at the top skin with a decent magnifying glass (a microscope is best) and it will tell you if you need to tweak the "Flow".  Trust your eyes.  If it looks good, it's good.


    If I tell Cura to use 0.40 line width:  The index distance between the extrusions of a skin will be 0.40mm.  If I also tell Cura to run at 85% flow (because a single wall "calibration" cube told me to) then each extrusion will be 0.34mm wide.  That is going to leave a noticeable gap between the lines of extrusion and is by definition "under-extrusion".


    But all your single wall prints will have precisely .40mm thick walls.




    Edited by GregValiant
    • 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
        • 16 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...