pull/212/head v1.0.267
openbuilds-engineer 2020-12-28 17:54:09 +02:00
rodzic f4588c8ddb
commit 3bd9efbcc7
8 zmienionych plików z 51 dodań i 24 usunięć

Wyświetl plik

@ -1,3 +1,4 @@
v1.0.267: Fixed probe complete dialog, added 1% laser focus power, restore incremental if it was set prior to probe, added 3rd decimal for Inch mode DRO / padding to 2 decimals for mm mode, added Machine Coordinates to DRO tooltip, Handle M0 Pauses (Carbide etc)
v1.0.266: Updated "error 9" dialog to also include details of earlier ALARMs for troubleshooting, Fixed CheckSize bug with Lightburn Relative Coordinates
v1.0.265: Added error handling for Grbl connection failures via Interface, Updated Logging UI, Fixed Keyboard Jog bug
v1.0.264: Interface Serial Integration, Splash Screen Updates, Improved Continuous Jogging, Fixed runaway jogging bug

Wyświetl plik

@ -23,6 +23,10 @@
pointer-events: none;
}
.jogcursorbtn {
margin: 7px;
}
.dro {
display: block;
text-decoration: none;

Wyświetl plik

@ -260,12 +260,13 @@
<li>
<a href="#" class="dropdown-toggle">Laser On (M3 Sxxx)</a>
<ul class="ribbon-dropdown" data-role="dropdown">
<li onclick="sendGcode('M3 S50\n G1F1000')"><a href="#">Laser On 5% Power (M3 S<span class="ToolOnS5">50</span>)</a></li>
<li onclick="sendGcode('M3 S100\n G1F1000')"><a href="#">Laser On 10% Power (M3 S<span class="ToolOnS10">100</span>)</a></li>
<li onclick="sendGcode('M3 S250\n G1F1000')"><a href="#">Laser On 25% Power (M3 S<span class="ToolOnS25">250</span>)</a></li>
<li onclick="sendGcode('M3 S500\n G1F1000')"><a href="#">Laser On 50% Power (M3 S<span class="ToolOnS50">500</span>)</a></li>
<li onclick="sendGcode('M3 S750\n G1F1000')"><a href="#">Laser On 75% Power (M3 S<span class="ToolOnS75">750</span>)</a></li>
<li onclick="sendGcode('M3 S1000\n G1F1000')"><a href="#">Laser On 100% Power (M3 S<span class="ToolOnS100">1000</span>)</a></li>
<li onclick="sendGcode('M3 S'+(parseInt(grblParams.$30) * 0.01).toFixed(0)+'\n G1F1000')"><a href="#">Laser On 1% Power (M3 S<span class="ToolOnS1">10</span>)</a></li>
<li onclick="sendGcode('M3 S'+(parseInt(grblParams.$30) * 0.05).toFixed(0)+'\n G1F1000')"><a href="#">Laser On 5% Power (M3 S<span class="ToolOnS5">50</span>)</a></li>
<li onclick="sendGcode('M3 S'+(parseInt(grblParams.$30) * 0.1).toFixed(0)+'\n G1F1000')"><a href="#">Laser On 10% Power (M3 S<span class="ToolOnS10">100</span>)</a></li>
<li onclick="sendGcode('M3 S'+(parseInt(grblParams.$30) * 0.25).toFixed(0)+'\n G1F1000')"><a href="#">Laser On 25% Power (M3 S<span class="ToolOnS25">250</span>)</a></li>
<li onclick="sendGcode('M3 S'+(parseInt(grblParams.$30) * 0.5).toFixed(0)+'\n G1F1000')"><a href="#">Laser On 50% Power (M3 S<span class="ToolOnS50">500</span>)</a></li>
<li onclick="sendGcode('M3 S'+(parseInt(grblParams.$30) * 0.75).toFixed(0)+'\n G1F1000')"><a href="#">Laser On 75% Power (M3 S<span class="ToolOnS75">750</span>)</a></li>
<li onclick="sendGcode('M3 S'+(parseInt(grblParams.$30) * 1).toFixed(0)+'\n G1F1000')"><a href="#">Laser On 100% Power (M3 S<span class="ToolOnS100">1000</span>)</a></li>
</ul>
</li>
<!-- <li class="divider"></li> -->
@ -621,7 +622,7 @@
</td>
<td>
<button class="button light square large jogbtn yP" id="yP" data-role="ripple" data-ripple-color="#5de21b">
<button class="button light square large jogbtn yP jogcursorbtn" id="yP" data-role="ripple" data-ripple-color="#5de21b">
<span class="fa-layers fa-fw">
<i class="fas fa-arrow-up fg-green" data-fa-transform="shrink-2 down-8.5"></i>
<span class="fa-layers-text fg-green" data-fa-transform="shrink-5 up-8" style="font-weight:600">Y+</span>
@ -634,7 +635,7 @@
<td>
<button class="button light square large jogbtn zP" id="zP" data-role="ripple" data-ripple-color="#1ba1e2">
<button class="button light square large jogbtn zP jogcursorbtn" id="zP" data-role="ripple" data-ripple-color="#1ba1e2">
<span class="fa-layers fa-fw">
<i class="fas fa-arrow-up fg-blue" data-fa-transform="shrink-2 down-8.5"></i>
<span class="fa-layers-text fg-blue" data-fa-transform="shrink-5 up-8" style="font-weight:600">Z+</span>
@ -642,7 +643,7 @@
</button>
</td>
<td class="servo-active" style="display: none;">
<button class="button light square large jogbtn pP" id="pP" data-role="ripple" data-ripple-color="#1ba1e2">
<button class="button light square large jogbtn pP jogcursorbtn" id="pP" data-role="ripple" data-ripple-color="#1ba1e2">
<span class="fa-layers fa-fw">
<i class="fas fa-pen fg-darkBlue" data-fa-transform="shrink-2 down-8.5"></i>
<i class="fas fa-ban fg-red" data-fa-transform="shrink-0.5 down-8.5"></i>
@ -654,7 +655,7 @@
</tr>
<tr>
<td>
<button class="button light square large jogbtn xM" id="xM" data-role="ripple" data-ripple-color="#e21b1b">
<button class="button light square large jogbtn xM jogcursorbtn" id="xM" data-role="ripple" data-ripple-color="#e21b1b">
<span class="fa-layers fa-fw">
<i class="fas fa-arrow-left fg-red" data-fa-transform="shrink-2 down-8.5"></i>
<span class="fa-layers-text fg-red" data-fa-transform="shrink-5 up-8" style="font-weight:600">X-</span>
@ -663,7 +664,7 @@
</td>
<td>
<button class="button light square large jogbtn yM" id="yM" data-role="ripple" data-ripple-color="#5de21b">
<button class="button light square large jogbtn yM jogcursorbtn" id="yM" data-role="ripple" data-ripple-color="#5de21b">
<span class="fa-layers fa-fw">
<i class="fas fa-arrow-down fg-green" data-fa-transform="shrink-2 down-8.5"></i>
<span class="fa-layers-text fg-green" data-fa-transform="shrink-5 up-8" style="font-weight:600">Y-</span>
@ -672,7 +673,7 @@
</td>
<td>
<button class="button light square large jogbtn xP" id="xP" data-role="ripple" data-ripple-color="#e21b1b">
<button class="button light square large jogbtn xP jogcursorbtn" id="xP" data-role="ripple" data-ripple-color="#e21b1b">
<span class="fa-layers fa-fw">
<i class="fas fa-arrow-right fg-red" data-fa-transform="shrink-2 down-8.5"></i>
<span class="fa-layers-text fg-red" data-fa-transform="shrink-5 up-8" style="font-weight:600">X+</span>
@ -680,7 +681,7 @@
</button>
</td>
<td>
<button class="button light square large jogbtn zM" id="zM" data-role="ripple" data-ripple-color="#1ba1e2">
<button class="button light square large jogbtn zM jogcursorbtn" id="zM" data-role="ripple" data-ripple-color="#1ba1e2">
<span class="fa-layers fa-fw">
<i class="fas fa-arrow-down fg-blue" data-fa-transform="shrink-2 down-8.5"></i>
<span class="fa-layers-text fg-blue" data-fa-transform="shrink-5 up-8" style="font-weight:600">Z-</span>
@ -688,7 +689,7 @@
</button>
</td>
<td class="servo-active" style="display: none;">
<button class="button light square large jogbtn pM" id="pM" data-role="ripple" data-ripple-color="#1ba1e2">
<button class="button light square large jogbtn pM jogcursorbtn" id="pM" data-role="ripple" data-ripple-color="#1ba1e2">
<span class="fa-layers fa-fw">
<i class="fas fa-pen fg-darkBlue" data-fa-transform="shrink-2 down-8.5"></i>
<span class="fa-layers-text fg-darkBlue" data-fa-transform="shrink-10 up-12" style="font-weight:600">PEN</span>
@ -1646,7 +1647,7 @@
<input type="text" data-role="input" class="mb-1" data-prepend="Z Offset" data-append="mm" id="customProbeZOffset">
</div>
<div class="dialog-actions">
<button class="button js-dialog-close">Cancel</button>
<button class="button js-dialog-close" onclick="resetJogModeAfterProbe()">Cancel</button>
<button class="button primary js-dialog-close" onclick="saveEditCustomProbe();">Save</button>
</div>
</div>

Wyświetl plik

@ -620,6 +620,7 @@ function clearEEPROM() {
}
function updateToolOnSValues() {
$(".ToolOnS1").html((parseInt(grblParams.$30) * 0.01).toFixed(0))
$(".ToolOnS5").html((parseInt(grblParams.$30) * 0.05).toFixed(0))
$(".ToolOnS10").html((parseInt(grblParams.$30) * 0.1).toFixed(0))
$(".ToolOnS25").html((parseInt(grblParams.$30) * 0.25).toFixed(0))

Wyświetl plik

@ -238,7 +238,11 @@ function initSocket() {
// console.log("Job Complete", data)
}
if (data.jobCompletedMsg && data.jobCompletedMsg.length > 0) {
$("#completeMsgDiv").html("Job completed in " + msToTime(runTime) + "<hr>" + data.jobCompletedMsg);
if (data.jobStartTime) {
$("#completeMsgDiv").html("Job completed in " + msToTime(runTime) + "<hr>" + data.jobCompletedMsg);
} else {
$("#completeMsgDiv").html(data.jobCompletedMsg);
}
Metro.dialog.open("#completeMsgModal");
var icon = ''
var source = "JOB COMPLETE"
@ -471,13 +475,24 @@ function initSocket() {
if (!disableDROupdates) {
if (unit == "mm") {
var xpos = status.machine.position.work.x + unit;
var ypos = status.machine.position.work.y + unit;
var zpos = status.machine.position.work.z + unit;
var xpos = status.machine.position.work.x.toFixed(2) + unit;
var ypos = status.machine.position.work.y.toFixed(2) + unit;
var zpos = status.machine.position.work.z.toFixed(2) + unit;
$(" #xPos ").attr('title', 'X Machine: ' + (status.machine.position.work.x + status.machine.position.offset.x).toFixed(2) + unit + "/ X Work: " + xpos);
$(" #yPos ").attr('title', 'Y Machine: ' + (status.machine.position.work.y + status.machine.position.offset.y).toFixed(2) + unit + "/ Y Work: " + ypos);
$(" #zPos ").attr('title', 'Z Machine: ' + (status.machine.position.work.z + status.machine.position.offset.z).toFixed(2) + unit + "/ Z Work: " + zpos);
} else if (unit == "in") {
var xpos = (status.machine.position.work.x / 25.4).toFixed(2) + unit;
var ypos = (status.machine.position.work.y / 25.4).toFixed(2) + unit;
var zpos = (status.machine.position.work.z / 25.4).toFixed(2) + unit;
var xpos = (status.machine.position.work.x / 25.4).toFixed(3) + unit;
var ypos = (status.machine.position.work.y / 25.4).toFixed(3) + unit;
var zpos = (status.machine.position.work.z / 25.4).toFixed(3) + unit;
$(" #xPos ").attr('title', 'X Machine: ' + ((status.machine.position.work.x / 25.4) + (status.machine.position.offset.x / 25.4)).toFixed(3) + unit + "/ X Work: " + xpos);
$(" #yPos ").attr('title', 'Y Machine: ' + ((status.machine.position.work.y / 25.4) + (status.machine.position.offset.y / 25.4)).toFixed(3) + unit + "/ Y Work: " + ypos);
$(" #zPos ").attr('title', 'Z Machine: ' + ((status.machine.position.work.z / 25.4) + (status.machine.position.offset.z / 25.4)).toFixed(3) + unit + "/ Z Work: " + zpos);
}
if ($('#xPos').html() != xpos) {
@ -489,6 +504,9 @@ function initSocket() {
if ($('#zPos').html() != zpos) {
$('#zPos').html(zpos);
}
} else {
$('#xPos').html('disabled');
$('#yPos').html('disabled');

Plik binarny nie jest wyświetlany.

Wyświetl plik

@ -1859,7 +1859,7 @@ function stopPort() {
}
function parseFeedback(data) {
// debug_log(data)
debug_log(data)
var state = data.substring(1, data.search(/(,|\|)/));
status.comms.runStatus = state
if (state == "Alarm") {
@ -1873,6 +1873,8 @@ function parseFeedback(data) {
break;
}
status.comms.connectionStatus = 5;
} else if (state == "Hold:0") {
pause();
}
if (status.machine.firmware.type == "grbl") {
// Extract work offset (for Grbl > 1.1 only!)

Wyświetl plik

@ -1,6 +1,6 @@
{
"name": "OpenBuildsCONTROL",
"version": "1.0.266",
"version": "1.0.267",
"license": "AGPL-3.0",
"description": "OpenBuildsCONTROL CNC Machine Interface Software",
"author": "github.com/openbuilds <webmaster@openbuilds.com>",