patch up laser mode and layer transitions
This commit is contained in:
parent
91514aeb86
commit
829139c440
7 changed files with 57 additions and 52 deletions
|
|
@ -54,9 +54,9 @@ class OpLaserOn extends CamOp {
|
|||
}
|
||||
|
||||
prepare(ops, progress) {
|
||||
this.op.silent = true;
|
||||
ops.addGCode(this.op.enable);
|
||||
ops.setLasering(true, this.op.power);
|
||||
ops.newLayer();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -66,9 +66,9 @@ class OpLaserOff extends CamOp {
|
|||
}
|
||||
|
||||
prepare(ops, progress) {
|
||||
this.op.silent = true;
|
||||
ops.addGCode(this.op.disable);
|
||||
ops.setLasering(false);
|
||||
ops.newLayer();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue