laser work
This commit is contained in:
parent
0ef3fb4c2a
commit
c1b24f90ea
3 changed files with 16 additions and 4 deletions
|
|
@ -59,12 +59,21 @@ var gs_kiri_laser = exports;
|
|||
}
|
||||
}
|
||||
|
||||
var breakout = true;
|
||||
var object = [];
|
||||
|
||||
slice.tops.forEach(function(top) {
|
||||
var object = [];
|
||||
laserOut(top.traces, object);
|
||||
laserOut(top.innerTraces(), object);
|
||||
objects.push(object);
|
||||
if (breakout) {
|
||||
objects.push(object);
|
||||
objects = [];
|
||||
}
|
||||
});
|
||||
|
||||
if (!breakout) {
|
||||
objects.push(object);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue