add FDM print time estimate fudge factor for devices
This commit is contained in:
parent
a461086ad4
commit
284880be69
7 changed files with 108 additions and 12 deletions
|
|
@ -25,6 +25,7 @@ FDM.export = function(print, online, ondone, ondebug) {
|
|||
extras = device.extras || {},
|
||||
{ extrudeAbs } = device,
|
||||
extused = Object.keys(print.extruders).map(v => parseInt(v)),
|
||||
timeFactor = (device.gcodeTime || 1) * 1.5,
|
||||
decimals = config.gcode_decimals || 4,
|
||||
zMoveMax = device.deviceZMax || 0,
|
||||
isBelt = bedBelt,
|
||||
|
|
@ -788,7 +789,7 @@ FDM.export = function(print, online, ondone, ondebug) {
|
|||
}
|
||||
|
||||
// update time and distance (should calc in moveTo() instead)
|
||||
time += (dist / speedMMM) * 60 * 1.5;
|
||||
time += (dist / speedMMM) * 60 * timeFactor;
|
||||
distance += dist;
|
||||
subst.progress = progress = Math.round((distance / totaldistance) * 100);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue