add slice layer naming using op notes. fixes #447

This commit is contained in:
Stewart Allen 2025-11-13 22:25:06 -05:00
commit 04da5abccb
6 changed files with 11 additions and 8 deletions

View file

@ -135,7 +135,7 @@ class OpPocket extends CamOp {
});
}
slice.output()
.setLayer("pocket", {line: color}, false)
.setLayer(state.layername, {line: color}, false)
.addPolys(slice.camLines)
if (debug && shadow) slice.output()
.setLayer("pocket shadow", {line: 0xff8811}, false)