Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  

Estimated time and double layer height

Recommended Posts

Cura sends to Marlin line segments and print speed. It estimates the time by calculating how long it would take at that speed. Marlin then has default acceleration (and "jerk") parmeters and the actual time to do a short segment is much slower because it doesn't get up to speed.

So for parts with lots of small line segments e.g. small parts, it is off by a lot. For large parts with long straight line segments it's pretty damn accurate. Cura always gives you the minimum. Noone has ever said it took 1/4 the time Cura expected.

For cura to get accurate times it would need to import a dozen or so parameters from Marlin and know that you have Marlin as different firmware does different things. There are more important things for daid to do at this point.


Share this post

Link to post
Share on other sites

Pronterface has pretty simple code that estimates time by taking acceleration into account. You could just hard code it to use the default ultimaker fw acceleration settings, that would make it a lot closer to accurate for most people.

Link to estimation code in pronterface: https://github.com/kliment/Printrun/blob/1921d2abae5c1c0ac35886f1c1f6acdeaa4dff9a/printrun/gcoder.py#L354

It still misses a few things (like taking into account maximum feedrates, acceleration of the E axis, etc) but it's a lot closer to the actual time taken than the naive approach of assuming no acceleration. As gr5 mentions, the ideal method would be to read the actual acceleration parameters from Marlin and use those in the formulas, but as it is the current estimate is basically useless, since the print time tends to vary from 1.5x to 4x of what it tells me.

I haven't looked at the code, but I believe RepetierHost does something similar in how it estimates the print time.


Share this post

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
Sign in to follow this  

  • Our picks

    • How to 3D print with reinforced engineering materials
      Ultimaker is hosting a webinar where we explain how you can achieve and maintain a high print success rate using these new reinforced engineering materials. Learn from Ultimaker's Product Manager of Materials and top chemical engineer Bart van As how you can take your 3D printing to that next level.
      • 2 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!