tweak to improve thru hole handling in roughing

This commit is contained in:
Stewart Allen 2025-06-24 22:03:09 -04:00
commit 797da325a6

View file

@ -307,7 +307,7 @@ class OpRough extends CamOp {
thruHoles.forEach(hole => {
shadow = shadow.map(p => {
if (p.isEquivalent(hole)) {
let po = POLY.offset([p], -(toolDiam / 2 + roughLeave + 0.01));
let po = POLY.offset([p], -(toolDiam / 2 + roughLeave + 0.05));
return po ? po[0] : undefined;
} else {
return p;