loosen poly fitting for depth first
This commit is contained in:
parent
5db0ddf912
commit
3dfd210739
2 changed files with 1 additions and 2 deletions
|
|
@ -5,7 +5,6 @@
|
|||
"add/array",
|
||||
"add/class",
|
||||
"ext/three",
|
||||
"ext/three-bgu",
|
||||
"add/three",
|
||||
"ext/clip2",
|
||||
"ext/earcut",
|
||||
|
|
|
|||
|
|
@ -606,7 +606,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
|||
return start;
|
||||
}
|
||||
let ltops = tops[depth];
|
||||
let fitted = fit ? ltops.filter(poly => poly.isInside(fit, 0.01)) : ltops;
|
||||
let fitted = fit ? ltops.filter(poly => poly.isInside(fit, 0.05)) : ltops;
|
||||
let ftops = fitted.filter(top => !top.level_emit);
|
||||
if (ftops.length > 1) {
|
||||
ftops = POLY.route(ftops, start);
|
||||
|
|
|
|||
Loading…
Reference in a new issue