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

    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 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!