rm dead code. step over in outlining when wide cutout enabled. fix imperial units in cam op hover tip

This commit is contained in:
Stewart Allen 2020-12-17 13:12:32 -05:00
commit f7624844d0
7 changed files with 36 additions and 240 deletions

View file

@ -406,10 +406,11 @@
});
} else {
if (op.wide) {
let stepover = outlineToolDiam * op.step;
offset.slice().forEach(op => {
// clone removes inners but the real solution is
// to limit expanded shells to through holes
POLY.expand([op.clone(true)], outlineToolDiam * 0.5, slice.z, offset, 1);
POLY.expand([op.clone(true)], stepover, slice.z, offset, 1);
});
}
}