From d375baca0fbacbc7b5948dfca72e11439d85a82c Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Mon, 11 Jan 2021 18:01:55 -0500 Subject: [PATCH] start belt layers with brim, when specified --- src/mode/fdm/prepare.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mode/fdm/prepare.js b/src/mode/fdm/prepare.js index 75d45e10..bf79b246 100644 --- a/src/mode/fdm/prepare.js +++ b/src/mode/fdm/prepare.js @@ -408,10 +408,10 @@ let y = maxy; let z = minz; let b = Math.max(firstLayerBrim, 1); - print.addOutput(tmpout, newPoint(minx - b, y, z), 0, firstLayerSeek, tool); - print.addOutput(tmpout, newPoint(minx - 0, y, z), emit, firstLayerRate, tool); - print.addOutput(tmpout, newPoint(maxx + b, y, z), 0, firstLayerSeek, tool); - print.addOutput(tmpout, newPoint(maxx + 0, y, z), emit, firstLayerRate, tool); + print.addOutput(layerout, newPoint(minx - b, y, z), 0, firstLayerSeek, tool); + print.addOutput(layerout, newPoint(minx - 0, y, z), emit, firstLayerRate, tool); + print.addOutput(layerout, newPoint(maxx + b, y, z), 0, firstLayerSeek, tool); + print.addOutput(layerout, newPoint(maxx + 0, y, z), emit, firstLayerRate, tool); } } layerout.appendAll(tmpout);