drop wipe endpoints outside centering poly. drop fill attempt for anchor lines
This commit is contained in:
parent
f71dedb5d5
commit
beeea2387c
4 changed files with 14 additions and 4 deletions
|
|
@ -544,7 +544,10 @@
|
|||
let last = array.last();
|
||||
last.retract = true;
|
||||
if (wipeDist && lastPoly && last.point) {
|
||||
addOutput(array, last.point.followTo(lastPoly.center(true), wipeDist));
|
||||
let endpoint = last.point.followTo(lastPoly.center(true), wipeDist);
|
||||
if (endpoint.inPolygon(lastPoly)) {
|
||||
addOutput(array, endpoint);
|
||||
}
|
||||
}
|
||||
} else if (opt.pretract) {
|
||||
opt.pretract(wipeDist);
|
||||
|
|
|
|||
Loading…
Reference in a new issue