create proper Output class. clone brim to current z when output

This commit is contained in:
Stewart Allen 2022-02-05 14:50:33 -05:00
commit 1e1f47868d
2 changed files with 25 additions and 10 deletions

View file

@ -570,7 +570,9 @@
// draft shield
if (layerno > 0 && brimout && draftShield) {
print.setType('brim');
print.addPrintPoints(brimout, layerout, null);
print.addPrintPoints(brimout.map(o => o.clone(printPoint.z)), layerout, null);
layerout.last().retract = true;
printPoint = layerout.last().point;
}
// if a declared extruder isn't used in a layer, use selected