proposed fix for rough leave stock on exterior of part

This commit is contained in:
Stewart Allen 2021-09-15 20:43:43 -10:00
commit 64f4bec6be

View file

@ -256,7 +256,7 @@
// add outside pass if not inside only // add outside pass if not inside only
if (!roughIn) { if (!roughIn) {
const outside = POLY.offset(shadow.clone(), toolDiam / 2, {z: slice.z}); const outside = POLY.offset(shadow.clone(), toolDiam / 2 + roughLeave, {z: slice.z});
if (outside) { if (outside) {
outside.forEach(p => p.depth = -p.depth); outside.forEach(p => p.depth = -p.depth);
offset.appendAll(outside); offset.appendAll(outside);