fixes for indexing and tracking during slicing

This commit is contained in:
Stewart Allen 2022-11-03 10:44:58 -04:00
commit 77c8b0299c
6 changed files with 30 additions and 35 deletions

View file

@ -45,7 +45,7 @@ class OpIndex extends CamOp {
slice() {
let { op, state } = this;
state.setAxisIndex(op.degrees);
state.setAxisIndex(op.degrees, op.absolute);
}
prepare(ops, progress) {
@ -626,7 +626,7 @@ class OpOutline extends CamOp {
// project empty up and render
for (let slice of slices) {
if (false) slice.output()
if (true) slice.output()
.setLayer("slice", {line: 0xaaaa00}, false)
.addPolys(slice.topPolys())
slice.output()