convert boolean outputs to numbers
This commit is contained in:
parent
1fcc2405a0
commit
89e036d6eb
1 changed files with 2 additions and 2 deletions
|
|
@ -646,8 +646,8 @@ class Output {
|
||||||
|
|
||||||
const { type, center, arcPoints } = (options ?? {});
|
const { type, center, arcPoints } = (options ?? {});
|
||||||
//speed, tool, type, center, arcPoints
|
//speed, tool, type, center, arcPoints
|
||||||
this.point = point; // point to emit
|
this.point = point;
|
||||||
this.emit = emit; // emit (feed for printers, power for lasers, cut for cam)
|
this.emit = Number(emit); //v convert bools into 0/1
|
||||||
this.speed = speed;
|
this.speed = speed;
|
||||||
this.tool = tool;
|
this.tool = tool;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue