reorganize and rename driver files for consistency and clarity

This commit is contained in:
Stewart Allen 2026-01-08 16:52:41 -05:00
commit 67f405fd7b
74 changed files with 283 additions and 283 deletions

View file

@ -0,0 +1,17 @@
/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
import { CamOp } from '../core/op.js';
export class OpLaserOn extends CamOp {
constructor(state, op) {
super(state, op);
}
prepare(ops, progress) {
const { printPoint, setPrintPoint, setTool, zmax, camOut } = ops;
this.op.silent = true;
setTool(0);
ops.addGCode(this.op.enable);
ops.setLasering(true, this.op.power);
}
}