convert boolean outputs to numbers

This commit is contained in:
bakedpotatolord 2025-06-30 11:16:14 -06:00
commit 89e036d6eb

View file

@ -646,8 +646,8 @@ class Output {
const { type, center, arcPoints } = (options ?? {});
//speed, tool, type, center, arcPoints
this.point = point; // point to emit
this.emit = emit; // emit (feed for printers, power for lasers, cut for cam)
this.point = point;
this.emit = Number(emit); //v convert bools into 0/1
this.speed = speed;
this.tool = tool;
this.type = type;