fixes #12. add start of thin wall detection
This commit is contained in:
parent
2b53921744
commit
9fff3c50b5
6 changed files with 116 additions and 18 deletions
|
|
@ -30,8 +30,7 @@ var gs_kiri_laser = exports;
|
|||
var proc = settings.process;
|
||||
|
||||
if (proc.laserSliceHeight < 0) {
|
||||
DBUG.log("invalid slice height");
|
||||
return ondone(false);
|
||||
return ondone("invalid slice height");
|
||||
}
|
||||
|
||||
SLICER.sliceWidget(widget, {height: proc.laserSliceHeight}, function(slices) {
|
||||
|
|
@ -40,7 +39,7 @@ var gs_kiri_laser = exports;
|
|||
slice.doShells(1, -proc.laserOffset);
|
||||
onupdate(0.80 + (index/slices.length) * 0.20);
|
||||
});
|
||||
ondone(true);
|
||||
ondone();
|
||||
}, function(update) {
|
||||
onupdate(0.0 + update * 0.80)
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue