re-add retract over
This commit is contained in:
parent
49c2884948
commit
fed0a49256
3 changed files with 6 additions and 2 deletions
|
|
@ -296,6 +296,7 @@ var gs_kiri_fdm = exports;
|
|||
shortFact = process.outputShortFactor,
|
||||
maxPrintMMM = process.outputFeedrate * 60,
|
||||
seekMMM = process.outputSeekrate * 60,
|
||||
retOver = process.outputRetractOver,
|
||||
retDist = process.outputRetractDist,
|
||||
retSpeed = process.outputRetractSpeed * 60,
|
||||
// ratio of nozzle area to filament area times
|
||||
|
|
@ -463,7 +464,7 @@ var gs_kiri_fdm = exports;
|
|||
if (out.speed) {
|
||||
moveMMM = out.speed * 60;
|
||||
}
|
||||
if (out.retract) {
|
||||
if (!retracted && (out.retract || dist >= retOver)) {
|
||||
retracted = retDist;
|
||||
moveTo({e:-retracted}, retSpeed, "retract (ooze control)");
|
||||
moveTo({x:x, y:y}, moveMMM);
|
||||
|
|
|
|||
Loading…
Reference in a new issue