fix depth order of outline top cuts
This commit is contained in:
parent
7bdb79a825
commit
a8e4294cfd
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ class OpOutline extends CamOp {
|
|||
// start slices at top of stock when `clear top` enabled
|
||||
if (op.top) {
|
||||
let first = slices[0];
|
||||
for (let z of indices.filter(v => v >= zMax)) {
|
||||
for (let z of indices.filter(v => v >= zMax).reverse()) {
|
||||
let add = first.clone(true);
|
||||
add.tops.forEach(top => top.poly.setZ(add.z));
|
||||
add.shadow = first.shadow.clone(true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue