kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
v1.0.51 - Sketchucam and disable StateLoop during jobs
rodzic
a94dd2b438
commit
0c4bcc899d
8
index.js
8
index.js
|
@ -896,7 +896,7 @@ io.on("connection", function(socket) {
|
|||
}, 250);
|
||||
stateLoop = setInterval(function() {
|
||||
if (status.comms.connectionStatus > 0) {
|
||||
if (!status.comms.sduploading) {
|
||||
if (!status.comms.sduploading && status.comms.connectionStatus < 3) {
|
||||
machineSend("$G\n");
|
||||
}
|
||||
}
|
||||
|
@ -1183,9 +1183,9 @@ io.on("connection", function(socket) {
|
|||
runningJob = data;
|
||||
data = data.split('\n');
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
var line = data[i].split(';'); // Remove everything after ; = comment
|
||||
var line = line[0].split('('); // Remove everything after ( = comment in Sketchucam
|
||||
var tosend = line[0].trim().replace("%", ""); // % is in Sketchucam GCODE
|
||||
|
||||
var line = data[i].replace("%", "").split(';'); // Remove everything after ; = comment
|
||||
var tosend = line[0].trim();
|
||||
if (tosend.length > 0) {
|
||||
addQ(tosend);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "OpenBuildsMachineDriver",
|
||||
"version": "1.0.50",
|
||||
"version": "1.0.51",
|
||||
"license": "AGPL-3.0",
|
||||
"description": "Machine Interface Driver for OpenBuilds",
|
||||
"author": "github.com/openbuilds <webmaster@openbuilds.com>",
|
||||
|
|
Ładowanie…
Reference in New Issue