New firmware 0.96a and web interface 1.05 October 16, 2014 03:23PM |
Registered: 10 years ago Posts: 665 |
Quote
Merged in most of RRP's new firmware features from 0.90-0.96 (thanks Adrian/RRP):
- G32 runs /sys/bed.g if it exists (file doesn't need be present with my fork though, if it isn't, the firmware will use the points specified by M557 just as older firmwares did)
- Ormerod 2 compatibility and different SD card images
- File progress during prints reported to web interface
- Duet v0.7 support (experimental)
- Network can be disabled (M552 S0)
Bug fix: Actual extruder positions are reported instead of internal ones used by the GCodes class
Improved code queuing and added more safety precautions
Updated README file to incorporate Network class and to mention my changes
Other minor changes
Quote
Vastly improved print progress:
- Made layer detection more rigid
- First layer height is automatically calculated
- Layer and filament estimation data is filled with averaged values on reconnect
- Implemented new estimation method based on fraction_printed property (if available)
- Progress bar reads fraction_read to indicate progress (if available)
- Removed redundant filament estimation variables
- Improved Print Status appearance in the JS code
- Layer chart shows actual layer number on the X axis after the first 100 layers
Reconnects are now completely implemented
Head control buttons (except for heat) are disabled whenever a print is in progress
Some controls on the Control tab are now centered
Re: New firmware 0.96a and web interface 1.05 October 17, 2014 10:16AM |
Registered: 10 years ago Posts: 14,672 |
Quote
zombiepantslol
Merged in most of RRP's new firmware features from 0.90-0.96 (thanks Adrian/RRP):
...
- Network can be disabled (M552 S0)
Quote
zombiepantslol
Bug fix: Actual extruder positions are reported instead of internal ones used by the GCodes class
Quote
zombiepantslol
- Implemented new estimation method based on fraction_printed property (if available)
- Progress bar reads fraction_read to indicate progress (if available)
Re: New firmware 0.96a and web interface 1.05 October 17, 2014 12:35PM |
Registered: 10 years ago Posts: 665 |
Quote
dc42
Quote
zombiepantslol
- Network can be disabled (M552 S0)
That seems an odd feature to include. If you don't want the network, don't connect it! I guess you could use it to disconnect the network during a print, but I can't see why you would want to.
Quote
dc42
Quote
zombiepantslol
Bug fix: Actual extruder positions are reported instead of internal ones used by the GCodes class
You may consider it a bug fix, but I don't. Soon after I introduced support for the M221 extrusion factor command, I deliberately had the web interface return the extrusion amounts before they were adjusted by the M221 percentage. That was so that the print progress based on filament usage calculations would not be affected by adjustment using M221. I don't have any other use for the reported extruder positions. So I don't think a returning the adjusted extrusion amounts is necessarily a good idea.
Quote
dc42
Quote
zombiepantslol
- Implemented new estimation method based on fraction_printed property (if available)
- Progress bar reads fraction_read to indicate progress (if available)
How does the accuracy of the estimated end time based on fraction read compare with the estimate based on filament extruded? Some gcode commands are for long straight lines that take some time to be executed. Others are for small arcs of circles and execute very quickly. And of course some don't involve extrusion at all. I can think of some shapes for which the %complete based on the amount of the file read could be very misleading, e.g. a solid cuboid base with a cylindrical pillar on top.
Quote
dc42
I'll take a look at your other changes when I get time. I've been meaning to do something about first layer height for a while, but you have beaten me to it.
Re: New firmware 0.96a and web interface 1.05 October 17, 2014 01:25PM |
Registered: 10 years ago Posts: 780 |
Re: New firmware 0.96a and web interface 1.05 October 17, 2014 02:43PM |
Registered: 10 years ago Posts: 665 |
Re: New firmware 0.96a and web interface 1.05 October 17, 2014 03:28PM |
Registered: 10 years ago Posts: 780 |
Quote
zombiepantslol
Hi Paul, thanks for your positive feedback Interesting to see some statistics, but note the filament usage usually stabilises after the first 3% of filament have been printed. Then it will use per-layer data to estimate the remaining time - maybe I should implement something similar for the file progress estimation in my next web interface release.
Re: New firmware 0.96a and web interface 1.05 October 17, 2014 03:34PM |
Registered: 10 years ago Posts: 14,672 |
Quote
appjaws1
I really like being able to pause prints almost instantly and resetting failed prints without the need of having to home all axes again -- A great improvement.
Re: New firmware 0.96a and web interface 1.05 October 18, 2014 06:30AM |
Registered: 9 years ago Posts: 57 |
Re: New firmware 0.96a and web interface 1.05 October 19, 2014 11:18AM |
Registered: 10 years ago Posts: 780 |
Re: New firmware 0.96a and web interface 1.05 October 19, 2014 12:02PM |
Registered: 10 years ago Posts: 665 |
Re: New firmware 0.96a and web interface 1.05 October 19, 2014 12:58PM |
Registered: 10 years ago Posts: 780 |
Quote
zombiepantslol
Hmm, that sounds odd. Can you please post the output of M122 at the time your print stalls and also the content of your setman.g file? I'll try to reproduce this issue later and fix it if I find out what's going on.
Re: New firmware 0.96a and web interface 1.05 October 20, 2014 02:38PM |
Registered: 9 years ago Posts: 3 |
Re: New firmware 0.96a and web interface 1.05 October 20, 2014 03:00PM |
Registered: 10 years ago Posts: 665 |
Re: New firmware 0.96a and web interface 1.05 October 20, 2014 03:26PM |
Registered: 9 years ago Posts: 3 |
Re: New firmware 0.96a and web interface 1.05 October 20, 2014 03:42PM |
Registered: 10 years ago Posts: 665 |
Re: New firmware 0.96a and web interface 1.05 October 20, 2014 03:55PM |
Registered: 9 years ago Posts: 3 |
Re: New firmware 0.96a and web interface 1.05 October 21, 2014 05:24AM |
Registered: 13 years ago Posts: 1,611 |
Re: New firmware 0.96a and web interface 1.05 October 21, 2014 07:50AM |
Registered: 10 years ago Posts: 2,472 |
Re: New firmware 0.96a and web interface 1.05 October 21, 2014 10:53AM |
Registered: 10 years ago Posts: 780 |
Re: New firmware 0.96a and web interface 1.05 October 21, 2014 12:15PM |
Registered: 13 years ago Posts: 1,611 |
Re: New firmware 0.96a and web interface 1.05 October 21, 2014 12:21PM |
Registered: 10 years ago Posts: 665 |
Quote
appjaws1
As you can see the filament is the most accurate at the start of the print and remains quite close to the final finish time but the File estimate is way off for the first 4 hours or so.
So much depends on the shape of the printed item that it is hard to know how to improve the estimates without major processing of the gcode file.
I wonder how difficult it would be to take the speed of the extruder into account, throughout the file. I think this is all that would be needed to provide a really accurate estimate.
Any thoughts?
Re: New firmware 0.96a and web interface 1.05 October 21, 2014 12:50PM |
Registered: 10 years ago Posts: 780 |
Quote
droftarts
Paul - did you miss the hours off the print times? And was it a 2 colour print (ie, lots of heating up and cooling down time)?
Ian
RepRapPro tech support
Quote
zombiepantslol
May I ask what your finished object looks like? Ian has mentioned some good points, do any of them apply to your print? I understand the file-based estimation can be a bit off, because it's only a rough estimation based on the file progress and the print time. Yet I'm surprised the filament-based estimation didn't work for you, because that one usually takes layer times and filament consumption per layer into account. Can you open up a second tab/window next time you print something similar as soon as the first few layers are done? This may improve your estimations a bit...
Re: New firmware 0.96a and web interface 1.05 October 21, 2014 01:09PM |
Registered: 10 years ago Posts: 2,472 |
Re: New firmware 0.96a and web interface 1.05 October 21, 2014 07:57PM |
Registered: 10 years ago Posts: 780 |
Quote
dmould
I think you are giving the estimated finish time of day rather than the HMS to go. Which doesn't help us because you don't give the time of day that it actually finished!
Dave
Re: New firmware 0.96a and web interface 1.05 October 22, 2014 02:41AM |
Registered: 10 years ago Posts: 378 |
Quote
appjaws1
We should pick the most accurate one and try and improve the calculation so that it can be relied on regardless of size or complexity of print.
Re: New firmware 0.96a and web interface 1.05 October 22, 2014 02:51AM |
Registered: 10 years ago Posts: 14,672 |
Quote
appjaws1
I don't see why we have 3 methods of calculating the estimated end time, it just confuses the issue.
Paul
Re: New firmware 0.96a and web interface 1.05 October 22, 2014 04:12AM |
Registered: 10 years ago Posts: 780 |
Quote
jstck
The thing is, there are situations where each method will be "the worst", so just saying one in particular the most accurate one is far from straightforward. Best option to give a single value would probably be a weighted average (where the weights can be changed by the operator).
Quote
dc42
I agree. I reduced the number of estimates of end time from 4 to 2 in my fork of the web interface a few versions ago. I also changed the progress bar to be based on filament consumption (when filament required is available) because it was the most accurate. Just because the RRP dev version is using file progress to measure percent complete doesn't mean we should copy that, if filament consumption is generally more accurate.
Re: New firmware 0.96a and web interface 1.05 October 22, 2014 05:22AM |
Registered: 10 years ago Posts: 665 |
Quote
jstck
The thing is, there are situations where each method will be "the worst", so just saying one in particular the most accurate one is far from straightforward. Best option to give a single value would probably be a weighted average (where the weights can be changed by the operator).
Quote
dc42
Just because the RRP dev version is using file progress to measure percent complete doesn't mean we should copy that, if filament consumption is generally more accurate
Quote
appjaws
What would be involved to achieve a more accurate estimate?
Re: New firmware 0.96a and web interface 1.05 October 22, 2014 07:39AM |
Registered: 10 years ago Posts: 780 |
Quote
zombiepantslol
I've got two ideas to get an ideal estimation working, but I'm not sure whether I will implement these yet:
1) Some slicers like Cura (although this feature is still broken in the latest release) generate an approximate print duration in the G-Code file. The firmware could parse and report this value to the web interface, and the web interface would only require a simple count-down to be implemented.
2) Set the print start time as soon as the extruder position becomes greater than zero and not when a file is queued to be printed. This would require a few changes in the web interface and in the firmware, but I think that should be doable.
Well, these may be some good features for 0.96c and v1.07, but I haven't checked yet if Slic3r and S3D generate an estimated print duration.
Re: New firmware 0.96a and web interface 1.05 October 22, 2014 08:11AM |
Registered: 10 years ago Posts: 378 |