Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Changeable Z babystep icons.

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    11
    23
    3.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Danalundefined
      Danal
      last edited by

      If you want to try this on your machine:

      1. Download DWC from github. https://github.com/chrishamm/DuetWebControl

      2. Inside the zip created by github, there is another zip named DuetWebControl-1.20.zip. Pull that out somewhere.

      3. Rename it to remove the release number. DuetWebControl.zip

      4. Inside that file, there is a css folder, containing file dwc.css.gz. Extract that file somewhere.

      5. 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…)

      6. 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.

      7. Replace inside dwc.css inside dwc.css.gz, and then replace that inside the css folder in dwc.css.zip

      8. 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.

      Delta / Kossel printer fanatic

      1 Reply Last reply Reply Quote 0
      • Danalundefined
        Danal
        last edited by

        OR…

        Just mount your micro-SD in a PC or Mac, and directly edit the dwc.css file.

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • fmaundefined
          fma
          last edited by

          I just did the change on my install… These characters are perfect!

          Thanks!

          Frédéric

          1 Reply Last reply Reply Quote 0
          • DjDemonDundefined
            DjDemonD
            last edited by

            Perhaps just using the words open and close would solve the problem as an alternative to the icons.

            Simon. Precision Piezo Z-Probe Technology
            www.precisionpiezo.co.uk
            PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

            1 Reply Last reply Reply Quote 0
            • T3P3Tonyundefined
              T3P3Tony administrators
              last edited by

              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.

              www.duet3d.com

              1 Reply Last reply Reply Quote 0
              • fmaundefined
                fma
                last edited by

                +1 for the help text.

                Frédéric

                1 Reply Last reply Reply Quote 0
                • parovoZZundefined
                  parovoZZ
                  last edited by

                  What is z babystep?

                  1 Reply Last reply Reply Quote 0
                  • fmaundefined
                    fma
                    last edited by

                    It allows you to adjust the bed Z position while printing, in case the zero is not good. Very usefull.

                    Frédéric

                    1 Reply Last reply Reply Quote 0
                    • parovoZZundefined
                      parovoZZ
                      last edited by

                      @fma:

                      It allows you to adjust the bed Z position while printing, in case the zero is not good. Very usefull.

                      Thanks!

                      1 Reply Last reply Reply Quote 0
                      • Lakkoundefined
                        Lakko
                        last edited by

                        @Danal:

                        If you want to try this on your machine:

                        1. Download DWC from github. https://github.com/chrishamm/DuetWebControl

                        2. Inside the zip created by github, there is another zip named DuetWebControl-1.20.zip. Pull that out somewhere.

                        3. Rename it to remove the release number. DuetWebControl.zip

                        4. Inside that file, there is a css folder, containing file dwc.css.gz. Extract that file somewhere.

                        5. 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…)

                        6. 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.

                        7. Replace inside dwc.css inside dwc.css.gz, and then replace that inside the css folder in dwc.css.zip

                        8. 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.

                        1 Reply Last reply Reply Quote 0
                        • fmaundefined
                          fma
                          last edited by

                          Just invert "\e129" and "\e130"…

                          Frédéric

                          1 Reply Last reply Reply Quote 0
                          • Lakkoundefined
                            Lakko
                            last edited by

                            @fma:

                            Just invert "\e129" and "\e130"…

                            ok thank you!

                            1 Reply Last reply Reply Quote 0
                            • Danalundefined
                              Danal
                              last edited by

                              @T3P3Tony:

                              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.

                              Delta / Kossel printer fanatic

                              1 Reply Last reply Reply Quote 0
                              • Lakkoundefined
                                Lakko
                                last edited by

                                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

                                1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by

                                  Might be easiest for you to just mount the SD card in your computer and edit the CSS file directly.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • dc42undefined
                                    dc42 administrators
                                    last edited by

                                    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.

                                    Duet WiFi hardware designer and firmware engineer
                                    Please do not ask me for Duet support via PM or email, use the forum
                                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                                    1 Reply Last reply Reply Quote 0
                                    • Lakkoundefined
                                      Lakko
                                      last edited by

                                      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]

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA