Porównaj commity

...

2 Commity

Autor SHA1 Wiadomość Data
Shawn 9eecfed210 Issue 345
Update grblparams variable when setting is updated outside of grbl settings tab.
2024-04-02 07:47:57 -07:00
Shawn 291ca3cdba Fix issue #332
XYZ Probe Offset Center: X is using Y offset
2024-04-02 07:46:32 -07:00
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -259,6 +259,12 @@ function initSocket() {
lineColor = "fg-dark"
}
// look for grbl settings change and update grblparams variable
// matches $number(s)=
if ( /^\$\d*=/.test(data.command) && data.response == 'ok' ) {
grblSettings(data.command)
}
// Parse Grbl Settings Feedback
if (data.response.indexOf('$') === 0) {
if (typeof grblSettings !== 'undefined') {

Wyświetl plik

@ -466,7 +466,7 @@ function runProbeNew() {
template += `Offset: Center:\n`;
template += `Offset x:` + probemode.stock.x / 2 + `\n`;
template += `Offset y: ` + probemode.stock.y / 2 + `\n`;
stockoffset.x = probemode.stock.y / 2
stockoffset.x = probemode.stock.x / 2
stockoffset.y = probemode.stock.y / 2
}