Changeable Z babystep icons.
-
I'm glad I'm not the only one who can't make sense of it. Something like the iconography suggested by fma would be much appreciated.
-
As currently implemented in the Duet Web, these are not actually icons. They are characters from the "halfling" glyph font.
That font does not contain the exact suggestion that FMA made above; it does contain an up arrow above a bar, and a down arrow above a bar. Take the bar for the bed, and the arrow for nozzle spacing, and it makes some sense.
-
If you want to try this on your machine:
-
Download DWC from github. https://github.com/chrishamm/DuetWebControl
-
Inside the zip created by github, there is another zip named DuetWebControl-1.20.zip. Pull that out somewhere.
-
Rename it to remove the release number. DuetWebControl.zip
-
Inside that file, there is a css folder, containing file dwc.css.gz. Extract that file somewhere.
-
Inside the dwc.css.gz file, there is a file dwc.css. Extract that file somewhere. (if you can't deal with a .gz file on your own, you probably should not do this…)
-
Edit the dwc.css file.
Find the string "\e129" and replace with "\e167"
Find the string "\e130" and replace with "\e166"
Be careful not to change anything else. In particular, DO NOT introduce new 'line ends' via word wrap, hitting enter, etc, etc. -
Replace inside dwc.css inside dwc.css.gz, and then replace that inside the css folder in dwc.css.zip
-
Upload the whole zip via the normal web dialogs.
Check out the page. If you want to back out, either reverse the edits, or upload then entire DuetWebControl.zip as it came from github.
-
-
OR…
Just mount your micro-SD in a PC or Mac, and directly edit the dwc.css file.
-
I just did the change on my install… These characters are perfect!
Thanks!
-
Perhaps just using the words open and close would solve the problem as an alternative to the icons.
-
Danal
If you are comfortable using Github then you can submit a pull request to christian to incorporate the different icons if they are clearer (I think they are better than the finger pointing)
Maybe also modify the however over text from "lower the printhead…" to "decrease the space between the printhead and the bed..." etc.
-
+1 for the help text.
-
What is z babystep?
-
It allows you to adjust the bed Z position while printing, in case the zero is not good. Very usefull.
-
@fma:
It allows you to adjust the bed Z position while printing, in case the zero is not good. Very usefull.
Thanks!
-
If you want to try this on your machine:
-
Download DWC from github. https://github.com/chrishamm/DuetWebControl
-
Inside the zip created by github, there is another zip named DuetWebControl-1.20.zip. Pull that out somewhere.
-
Rename it to remove the release number. DuetWebControl.zip
-
Inside that file, there is a css folder, containing file dwc.css.gz. Extract that file somewhere.
-
Inside the dwc.css.gz file, there is a file dwc.css. Extract that file somewhere. (if you can't deal with a .gz file on your own, you probably should not do this…)
-
Edit the dwc.css file.
Find the string "\e129" and replace with "\e167"
Find the string "\e130" and replace with "\e166"
Be careful not to change anything else. In particular, DO NOT introduce new 'line ends' via word wrap, hitting enter, etc, etc. -
Replace inside dwc.css inside dwc.css.gz, and then replace that inside the css folder in dwc.css.zip
-
Upload the whole zip via the normal web dialogs.
Check out the page. If you want to back out, either reverse the edits, or upload then entire DuetWebControl.zip as it came from github.
Is there a way to invert the hands symbols?
In my coreXY printer if i made a +0.05 the bed goes down and not up and vice versa. -
-
Just invert "\e129" and "\e130"…
-
-
Danal
If you are comfortable using Github then you can submit a pull request to christian to incorporate the different icons if they are clearer (I think they are better than the finger pointing)
Maybe also modify the however over text from "lower the printhead…" to "decrease the space between the printhead and the bed..." etc.
I will do that. Separate request for the hover over text, as that would seem to be no-debate. He may or may not like the symbols. Also, I'll see if I can find even better symbols in another font.
-
I've tried but it seems i get a corrupted gz file, in fact i cannot connect to the duet.
i came back to the old file and now it can connect again to wifi
Is there a good program to create gz file? i have used 7zip but with no lucky -
Might be easiest for you to just mount the SD card in your computer and edit the CSS file directly.
-
You can create a .gz file with 7zip, that's what I did originally. But during development you can use the original non-gzipped file. The web server will serve that one if it doesn't find the .gz version.
-
i will retry to build the .gz file…hope it works
Replaced [c]"\e129"[/c] with [c]"\e166"[/c]
Replaced [c]"\e130"[/c] with [c]"\e167"[/c]