complete op register pattern

This commit is contained in:
Stewart Allen 2021-01-13 15:20:17 -05:00
commit cecda339f5
2 changed files with 4 additions and 1 deletions

View file

@ -112,7 +112,6 @@ KIRI.work = {
clear: function(widget) {
send("clear", widget ? {id:widget.id} : {}, function(reply) {
console.log({clear_said:reply});
syncd = {};
});
},

View file

@ -1012,6 +1012,10 @@
if (op.axis === '-') {
setTool(op.tool, undefined, op.rate);
setSpindle(op.spindle);
for (let slice of this.sliceOut) {
ops.emitTrace(slice);
}
} else {
setTool(op.tool, undefined, op.rate);
setDrill(op.down, op.lift, op.dwell);