merge tabs
This commit is contained in:
parent
be519bbaab
commit
deb33e08c5
1 changed files with 1 additions and 1 deletions
|
|
@ -567,7 +567,7 @@
|
||||||
function cutTabs(tabs, offset, z) {
|
function cutTabs(tabs, offset, z) {
|
||||||
let noff = [];
|
let noff = [];
|
||||||
tabs = tabs.filter(tab => z < tab.pos.z + tab.dim.z/2).map(tab => tab.off).flat();
|
tabs = tabs.filter(tab => z < tab.pos.z + tab.dim.z/2).map(tab => tab.off).flat();
|
||||||
offset.forEach(op => noff.appendAll( op.cut(tabs) ));
|
offset.forEach(op => noff.appendAll( op.cut(POLY.union(tabs)) ));
|
||||||
return noff;
|
return noff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue