fix for retraction speed set to 0
This commit is contained in:
parent
e44ea73683
commit
a133236a0a
2 changed files with 3 additions and 3 deletions
|
|
@ -61,7 +61,7 @@
|
|||
lineWidth = process.sliceLineWidth || 0,
|
||||
seekMMM = process.outputSeekrate * 60,
|
||||
retDist = process.outputRetractDist || 0, // range
|
||||
retSpeed = process.outputRetractSpeed * 60, // range
|
||||
retSpeed = process.outputRetractSpeed * 60 || 1, // range
|
||||
retDwell = process.outputRetractDwell || 0, // range
|
||||
timeDwell = retDwell / 1000,
|
||||
peelGuard = process.outputPeelGuard || 0,
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
let process = getRangeParameters(settings, layer);
|
||||
zhop = process.zHopDistance || 0; // range
|
||||
retDist = process.outputRetractDist || 0; // range
|
||||
retSpeed = process.outputRetractSpeed * 60; // range
|
||||
retSpeed = process.outputRetractSpeed * 60 || 1; // range
|
||||
retDwell = process.outputRetractDwell || 0; // range
|
||||
timeDwell = retDwell / 1000;
|
||||
nozzleTemp = layer === 0 ?
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@
|
|||
let minx = Infinity, maxx = -Infinity;
|
||||
let peek = 0;
|
||||
for (let slice of slices) {
|
||||
if (slice.groups.length && peek++ < 5) {
|
||||
if (slice.tops.length && peek++ < 5) {
|
||||
for (let poly of slice.topPolys()) {
|
||||
minx = Math.min(minx, poly.bounds.minx);
|
||||
maxx = Math.max(maxx, poly.bounds.maxx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue