Page 1 of 2
Marlin time estimation service
Posted: Wed Sep 16, 2015 7:03 pm
by jsc
I'm going to put this up in a new post to bring it to the attention to people who may have missed it in the "S3D Print Time not Correct" thread.
I've put up a temporary web service at
http://jinschoi.duckdns.org:4567/ that uses the Marlin firmware itself to estimate how long a print takes. More info here:
viewtopic.php?f=9&t=2605&start=10#p17234
It's running on my desktop, and I don't guarantee that it's going to be up all the time, or forever, but I want people to try it out and see how accurate it is. My first customer, Rara, reports that it's 40% too optimistic, which is disappointing, but that's on a monster print; maybe it's better for shorter ones?
It doesn't take into account time for bed/extruder heating, so keep that in mind. Plus, your firmware defaults may be different from what I put in.
It deletes your file after calculation.
Re: Marlin time estimation service
Posted: Wed Sep 16, 2015 7:55 pm
by Jules
Just finished one up and tested it against the S3D estimate. It's not written in stone, (because i didn't make note of the
exact time I started the print), but here's the rundown:
S3D Estimate: 3 hrs 18 minutes
Marlin Time Estimate: 4 hrs 12 minutes
Actual Printing Time: ~ 4hrs 42 minutes (excluding the preheat, which i always do before starting the print)
Heck of a lot closer than the S3D guesstimate!

Re: Marlin time estimation service
Posted: Wed Sep 16, 2015 9:46 pm
by jsc
12% off. I'm surprised it's not more accurate. I'll take a look to see if there's anything I missed which could affect accuracy. (Which firmware are you running, the one that came with your printer?)
Re: Marlin time estimation service
Posted: Wed Sep 16, 2015 10:10 pm
by Jules
jsc wrote:12% off. I'm surprised it's not more accurate. I'll take a look to see if there's anything I missed which could affect accuracy. (Which firmware are you running, the one that came with your printer?)
Yes, the original firmware. But like i said, that could have been off by 10-15 minutes or so either way - i wasn't paying attention to the exact time that i started the print. (Started it way before you posted your link.) Don't rework anything yet!
The next one i do, I'll mark the time.
Re: Marlin time estimation service
Posted: Thu Sep 17, 2015 3:28 am
by insta
What acceleration is your "firmware" running, jsc?
Re: Marlin time estimation service
Posted: Thu Sep 17, 2015 3:37 am
by jsc
DEFAULT_MAX_ACCELERATION (4000 for X and Y), DEFAULT_ACCELERATION (2000), and DEFAULT_XYJERK (8)
M codes that change the defaults will presumably be parsed and interpreted correctly, because it really is just Marlin running over the gcode.
Re: Marlin time estimation service
Posted: Fri Sep 18, 2015 1:39 am
by sthone
Gave it a go tonight...
Results
S3D Estimate: 1:42
Marlin Time Estimate: 2:21:02
Actual Printing Time: 2:04:27
Re: Marlin time estimation service
Posted: Fri Sep 18, 2015 2:01 am
by jsc
Okay, I've checked the settings in the M2Marlin24r2 firmware, and they are more aggressive than in the dual extruder firmware that I had been basing it on: max acceleration 9000, default acceleration 3000, and xy jerk 20. I've recompiled it with these settings. Try your gcode file once more and see if it gives you something closer to 2:04.
Re: Marlin time estimation service
Posted: Fri Sep 18, 2015 2:52 am
by sthone
We are at 02:02:54 s now.... I don't think it's going to get any better than that.
I try it again with the next thing I print and see what happens.
Re: Marlin time estimation service
Posted: Fri Sep 18, 2015 12:25 pm
by PcS
Wow nice work !!!