drop wipe endpoints outside centering poly. drop fill attempt for anchor lines

This commit is contained in:
Stewart Allen 2021-02-09 19:08:28 -05:00
commit beeea2387c
4 changed files with 14 additions and 4 deletions

View file

@ -409,7 +409,10 @@
let lastOut = lastLayer.last();
lastOut.retract = true;
if (wipeDist && lastPoly && lastOut.point) {
print.addOutput(lastLayer, lastOut.point.followTo(lastPoly.center(true).add(offset), wipeDist));
let endpoint = lastOut.point.followTo(lastPoly.center(true).add(offset), wipeDist);
if (endpoint.inPolygon(lastPoly)) {
print.addOutput(lastLayer, endpoint);
}
}
}
}