add leave stock to tool shadow travel boundaries

This commit is contained in:
Stewart Allen 2025-12-15 00:35:56 -05:00
commit 6417dd5678
2 changed files with 8 additions and 7 deletions

View file

@ -115,7 +115,7 @@ class OpArea extends CamOp {
let pinc = 1 / polys.length;
for (let area of polys) {
let bounds = area.getBounds3D();
let ts_off = toolDiam / 2 - ts_eps;
let ts_off = toolDiam / 2 - ts_eps + (op.leave_xy ?? 0);
let offopt = {
arc: 250,
join: roundSharps ? ClipperLib.JoinType.jtRound : undefined,