fix dogbones on outlines cut by tabs
This commit is contained in:
parent
c279726c77
commit
fb368bbdc8
1 changed files with 4 additions and 4 deletions
|
|
@ -533,6 +533,10 @@ class OpOutline extends CamOp {
|
|||
}
|
||||
}
|
||||
|
||||
if (op.dogbones && !op.wide) {
|
||||
CAM.addDogbones(offset, toolDiam / 5);
|
||||
}
|
||||
|
||||
if (tabs) {
|
||||
tabs.forEach(tab => {
|
||||
tab.off = POLY.expand([tab.poly], toolDiam / 2).flat();
|
||||
|
|
@ -540,10 +544,6 @@ class OpOutline extends CamOp {
|
|||
offset = cutTabs(tabs, offset, slice.z);
|
||||
}
|
||||
|
||||
if (op.dogbones && !op.wide) {
|
||||
CAM.addDogbones(offset, toolDiam / 5);
|
||||
}
|
||||
|
||||
if (process.camStockClipTo && stock.x && stock.y && stock.center) {
|
||||
let rect = newPolygon().centerRectangle(stock.center, stock.x, stock.y);
|
||||
offset = cutPolys([rect], offset, slice.z, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue