restore 'omit thru' to roughing

This commit is contained in:
Stewart Allen 2025-07-31 23:59:13 -04:00
commit f4486ab781
3 changed files with 4 additions and 0 deletions

View file

@ -144,6 +144,7 @@ class OpRough extends CamOp {
// inset or eliminate thru holes from shadow
shadow = POLY.flatten(shadow.clone(true), [], true);
if (!op.omitthru)
thruHoles.forEach(hole => {
shadow = shadow.map(p => {
if (p.isEquivalent(hole)) {