fix countouring 'tails' and empty slices
This commit is contained in:
parent
0e7abcaf17
commit
4d592ea309
2 changed files with 5 additions and 2 deletions
|
|
@ -194,7 +194,10 @@
|
|||
const mark = UTIL.time();
|
||||
const rarr = [];
|
||||
z.forEach((zv,zi) => {
|
||||
rarr.push(this.slice(zv, opt, zi, z.length, mark));
|
||||
const data = this.slice(zv, opt, zi, z.length, mark);
|
||||
if (data) {
|
||||
rarr.push(data);
|
||||
}
|
||||
});
|
||||
return rarr;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
tabsOn = proc.camTabsOn,
|
||||
tabHeight = proc.camTabsHeight,
|
||||
clipTab = tabsOn ? [] : null,
|
||||
clipTo = inside ? shadow : POLY.expand(shadow, toolDiameter + resolution),
|
||||
clipTo = inside ? shadow : POLY.expand(shadow, toolDiameter/2 + resolution * 3),
|
||||
partOff = inside ? 0 : toolDiameter / 2 + resolution,
|
||||
gridDelta = Math.floor(partOff / resolution),
|
||||
debug = false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue