fix time inflation due to dwell
This commit is contained in:
parent
63e091ae5c
commit
3cc987652e
1 changed files with 2 additions and 1 deletions
|
|
@ -404,6 +404,7 @@ var gs_kiri_fdm = exports;
|
||||||
retDist = process.outputRetractDist,
|
retDist = process.outputRetractDist,
|
||||||
retSpeed = process.outputRetractSpeed * 60,
|
retSpeed = process.outputRetractSpeed * 60,
|
||||||
retDwell = process.outputRetractDwell || 0,
|
retDwell = process.outputRetractDwell || 0,
|
||||||
|
timeDwell = retDwell / 1000,
|
||||||
// ratio of nozzle area to filament area times
|
// ratio of nozzle area to filament area times
|
||||||
// ratio of slice height to filament max noodle height
|
// ratio of slice height to filament max noodle height
|
||||||
emitPerMM = print.extrudePerMM(device.nozzleSize, device.filamentSize, process.sliceHeight),
|
emitPerMM = print.extrudePerMM(device.nozzleSize, device.filamentSize, process.sliceHeight),
|
||||||
|
|
@ -572,7 +573,7 @@ var gs_kiri_fdm = exports;
|
||||||
time += (retDist / retSpeed) * 60 * 2; // retraction time
|
time += (retDist / retSpeed) * 60 * 2; // retraction time
|
||||||
if (retDwell) {
|
if (retDwell) {
|
||||||
dwell(retDwell);
|
dwell(retDwell);
|
||||||
time += retDwell;
|
time += timeDwell;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue