move draft shield outside of slice loop and start at layer 1
This commit is contained in:
parent
6912b132e9
commit
993364543d
1 changed files with 6 additions and 5 deletions
|
|
@ -551,11 +551,6 @@
|
|||
lastPoly = slice.lastPoly;
|
||||
lastLayer = layerout;
|
||||
|
||||
// draft shield
|
||||
if (brimout && draftShield) {
|
||||
print.addPrintPoints(brimout, layerout, null);
|
||||
}
|
||||
|
||||
if (layerRetract && layerout.length) {
|
||||
layerout.last().retract = true;
|
||||
}
|
||||
|
|
@ -572,6 +567,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
// draft shield
|
||||
if (layerno > 0 && brimout && draftShield) {
|
||||
print.setType('brim');
|
||||
print.addPrintPoints(brimout, layerout, null);
|
||||
}
|
||||
|
||||
// if a declared extruder isn't used in a layer, use selected
|
||||
// extruder to fill the relevant purge blocks for later support
|
||||
track.slice().forEach(ext => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue