fix deep travel between small polys that tool_shadow elides
This commit is contained in:
parent
88d5a2b2a9
commit
f49a84b1f5
1 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ class OpArea extends CamOp {
|
||||||
outs = omitInner(outs);
|
outs = omitInner(outs);
|
||||||
}
|
}
|
||||||
// store travel boundary that triggers up and over moves
|
// store travel boundary that triggers up and over moves
|
||||||
slice.tool_shadow = [ area, ...tool_shadow ];
|
slice.tool_shadow = [ area, ...shadow, ...tool_shadow ];
|
||||||
slice.camLines = outs;
|
slice.camLines = outs;
|
||||||
zroc += zinc;
|
zroc += zinc;
|
||||||
lzo = z;
|
lzo = z;
|
||||||
|
|
@ -245,7 +245,7 @@ class OpArea extends CamOp {
|
||||||
}
|
}
|
||||||
slice.camLines = outs;
|
slice.camLines = outs;
|
||||||
// store travel boundary that triggers up and over moves
|
// store travel boundary that triggers up and over moves
|
||||||
slice.tool_shadow = [ area, ...POLY.offset(shadow, [ toolDiam / 2 - ts_off ], { count: 1, z }) ];
|
slice.tool_shadow = [ area, ...shadow, ...POLY.offset(shadow, [ toolDiam / 2 - ts_off ], { count: 1, z }) ];
|
||||||
zroc += zinc;
|
zroc += zinc;
|
||||||
progress(proc + (pinc * zroc), 'trace');
|
progress(proc + (pinc * zroc), 'trace');
|
||||||
layers
|
layers
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue