fix post wipe offsetting

This commit is contained in:
Stewart Allen 2017-12-15 17:09:14 -05:00
commit 5dd0852072

View file

@ -732,14 +732,14 @@ var gs_kiri_print = exports;
return obj instanceof Polygon ? obj : obj.poly;
});
// perform last wipe on top layer at end of run
if (wipeAfter && wipe) outputWipe(wipe);
// offset print points
for (i=0; i<preout.length; i++) {
preout[i].point = preout[i].point.add(offset);
}
// perform last wipe on top layer at end of run
if (wipeAfter && wipe) outputWipe(wipe);
// add offset points to total print
addPrintPoints(preout, output, origin);