correct slice offsets when indexed

This commit is contained in:
Stewart Allen 2022-11-03 12:29:07 -04:00
commit 430f85120a
6 changed files with 39 additions and 23 deletions

View file

@ -481,6 +481,7 @@ class OpOutline extends CamOp {
max: op.top ? zMax + ztOff : undefined
};
let indices = slicer.interval(op.down, intopt);
console.log({slicer, indices, zBottom});
let trueShadow = process.camTrueShadow === true;
// shift out first (top-most) slice
indices.shift();