enable inside/outside trace for open polylines

This commit is contained in:
Stewart Allen 2025-12-09 08:16:17 -05:00
commit 463fc48472

View file

@ -221,7 +221,7 @@ class OpArea extends CamOp {
} else { } else {
// todo: move this out of the zs loop // todo: move this out of the zs loop
POLY.offset([ area ], tr_type === 'inside' ? [ -toolDiam / 2 ] : [ toolDiam / 2 ], { POLY.offset([ area ], tr_type === 'inside' ? [ -toolDiam / 2 ] : [ toolDiam / 2 ], {
count: 1, outs, flat: true, z, minArea: 0 count: 1, outs, flat: true, z, minArea: 0, open: true
}); });
} }
if (outs.length === 0) { if (outs.length === 0) {