start belt layers with brim, when specified

This commit is contained in:
Stewart Allen 2021-01-11 18:01:55 -05:00
commit d375baca0f

View file

@ -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);