From b0207c4c4a1c290910589a2431b57ae0e7d736b2 Mon Sep 17 00:00:00 2001 From: Jeffeb3 Date: Sun, 28 Jun 2020 09:07:16 -0600 Subject: [PATCH 1/2] Added baby steps --- .gitignore | 12 ++++++++---- src/web/index.html | 2 ++ src/web/index.js | 8 ++++++++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 0c4aa2f..f7e0802 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ -node_modules -etc/bedclear -etc/uuid -tmp +/node_modules +/etc/bedclear +/etc/uuid +/tmp +/uploads +/node +/package-lock.json +/node-v* diff --git a/src/web/index.html b/src/web/index.html index 24f1fd0..4789435 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -131,12 +131,14 @@ +
+
diff --git a/src/web/index.js b/src/web/index.js index ae2b171..c6e5d42 100644 --- a/src/web/index.js +++ b/src/web/index.js @@ -205,6 +205,14 @@ function origin_go() { } } +function baby_z_down() { + send(`M290 Z-0.025; M503; *status`); +} + +function baby_z_up() { + send(`M290 Z0.025; M503; *status`); +} + function origin_set() { if (alert_on_run()) return; if (mode === 'fdm' && last_set && last_set.pos) { From ccf71ce1e3da70772d494b19fbb9fb5808cafec6 Mon Sep 17 00:00:00 2001 From: Jeffeb3 Date: Sun, 28 Jun 2020 09:09:28 -0600 Subject: [PATCH 2/2] Added UBL to the enable/disable buttons --- src/web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/index.html b/src/web/index.html index 4789435..4252c74 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -142,8 +142,8 @@
- - + +