add omit pocket option to CAM outline op
This commit is contained in:
parent
3f372e70aa
commit
0c2d1b7be2
4 changed files with 32 additions and 14 deletions
|
|
@ -587,12 +587,18 @@ class OpOutline extends CamOp {
|
|||
for (let top of tops) {
|
||||
if (!top.inner) continue;
|
||||
top.inner = top.inner.filter(innr => {
|
||||
return !innr.isEquivalent(hole);
|
||||
return !innr.isEquivalent(hole, false, 0.1);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (op.omitvoid) {
|
||||
for (let top of tops) {
|
||||
delete top.inner;
|
||||
}
|
||||
}
|
||||
|
||||
let offset = POLY.expand(tops, toolDiam / 2, slice.z);
|
||||
if (!(offset && offset.length)) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue