add belt lead in option

This commit is contained in:
Stewart Allen 2021-01-28 18:04:45 -05:00
commit e1250f5f93
4 changed files with 14 additions and 1 deletions

View file

@ -457,6 +457,13 @@
rec.point.y += poff;
}
}
// add lead in, when specified
if (process.firstLayerBeltLead) {
// add belt lead in
console.log({process, output});
}
let thresh = firstLayerHeight * 1.05;
// iterate over layers, find extrusion on belt and
// apply corrections and add brim when specified
@ -482,7 +489,7 @@
}
lastout = rec;
}
// skip if brig trigger not met
// skip if brim trigger not met
if (firstLayerBrimTrig > 0 && mins > firstLayerBrimTrig) {
continue;
}