add slice layer naming using op notes. fixes #447
This commit is contained in:
parent
03f3211abe
commit
04da5abccb
6 changed files with 11 additions and 8 deletions
|
|
@ -65,7 +65,7 @@ class OpRough extends CamOp {
|
|||
}
|
||||
slice.camLines = polys;
|
||||
slice.output()
|
||||
.setLayer("roughing", {face: color, line: color})
|
||||
.setLayer(state.layername, {face: color, line: color})
|
||||
.addPolys(slice.camLines);
|
||||
addSlices(slice);
|
||||
camFaces.push(slice);
|
||||
|
|
@ -279,7 +279,7 @@ class OpRough extends CamOp {
|
|||
|
||||
slices.forEach(slice => {
|
||||
slice.output()
|
||||
.setLayer("roughing", {face: color, line: color})
|
||||
.setLayer(state.layername, {face: color, line: color})
|
||||
.addPolys(slice.camLines);
|
||||
});
|
||||
this.sliceOut = slices.filter(slice => slice.camLines);
|
||||
|
|
|
|||
Loading…
Reference in a new issue