skip raster when no paths produced
This commit is contained in:
parent
ac29d16bcc
commit
b08d0381de
1 changed files with 4 additions and 0 deletions
|
|
@ -345,6 +345,10 @@ class OpArea extends CamOp {
|
|||
triangles: vertices,
|
||||
boundsOverride: wbounds
|
||||
});
|
||||
if (paths.length === 0) {
|
||||
// skip raster if no output generated
|
||||
continue;
|
||||
}
|
||||
let output = await raster.generateToolpaths({
|
||||
paths,
|
||||
step: toolOver / 2,
|
||||
|
|
|
|||
Loading…
Reference in a new issue