factor out rastering so i can be distributed to minions
This commit is contained in:
parent
9502a07c62
commit
511f66571a
2 changed files with 120 additions and 105 deletions
|
|
@ -771,7 +771,10 @@ class OpContour extends CamOp {
|
|||
printPoint = newPoint(bounds.min.x,bounds.min.y,zmax);
|
||||
|
||||
for (let slice of sliceOut) {
|
||||
if (!slice.camLines) continue;
|
||||
// ignore debug slices
|
||||
if (!slice.camLines) {
|
||||
continue;
|
||||
}
|
||||
let polys = [], poly, emit;
|
||||
slice.camLines.forEach(function (poly) {
|
||||
if (depthFirst) poly = poly.clone(true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue