add FDM layer retraction as a range option
This commit is contained in:
parent
54eafc4144
commit
d1d778775c
4 changed files with 15 additions and 26 deletions
|
|
@ -36,7 +36,7 @@ FDM.prepare = function(widgets, settings, update) {
|
|||
|
||||
let { device, process, controller, bounds, mode } = settings,
|
||||
{ sliceHeight, firstSliceHeight, firstLayerRate } = process,
|
||||
{ outputSeekrate, outputLayerRetract, outputDraftShield, outputPurgeTower } = process,
|
||||
{ outputSeekrate, outputDraftShield, outputPurgeTower } = process,
|
||||
{ bedWidth, bedDepth, filamentSource } = device,
|
||||
{ lineType, danger } = controller,
|
||||
printPoint = newPoint(0,0,0),
|
||||
|
|
@ -588,7 +588,7 @@ FDM.prepare = function(widgets, settings, update) {
|
|||
lastPoly = slice.lastPoly;
|
||||
lastLayer = layerout;
|
||||
|
||||
if (outputLayerRetract && layerout.length) {
|
||||
if (params.outputLayerRetract && layerout.length) {
|
||||
layerout.last().retract = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue