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

    Height Map Padding

    Scheduled Pinned Locked Moved
    Duet Web Control
    5
    34
    1.7k
    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.
    • CCS86undefined
      CCS86 @Norder
      last edited by

      @norder

      I'm on 3.4.1 right now. It has been this way for a long time though.

      Are you saying that you don't see the same behavior?

      Norderundefined 1 Reply Last reply Reply Quote 0
      • Norderundefined
        Norder @CCS86
        last edited by

        @ccs86
        I have never had such a graphical problem in the DWC before.
        I use the Opera Browser and occasionally also the Microsoft Edge Browser.
        With the Opera Browser, the mouse is always a little higher than the mouse pointer in full-screen mode, so I always have to click a little below icons etc., but that's only the case in full-screen mode.
        The Edge Browser does not have this problem.
        I don't use the Chrome Browser at all.
        Perhaps you should try a different Browser to see if this graphical problem also exists there !?

        Google Translate
        ----- Original Text -----

        Ich hatte so ein graphische Problem im DWC bis jetzt noch nie.
        Ich nutze den Opera Browser und zwischendurch auch den Microsoft Edge Browser.
        Beim Opera Browser ist die Maus im Vollbild-Modus immer etwas höher wie der Mauszeiger, also muss ich dort immer etwas unterhalb von Icons etc klicken, das ist aber nur im Vollbild Modus so.
        Der Edge Browser hat dieses Problem nicht.
        Den Chrome Browser nutze ich gar nicht.
        Vielleicht solltest Du mal einen anderen Browser ausprobieren ob dort dieses graphische Problem auch besteht !?

        DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
        Thingiverse

        CCS86undefined 1 Reply Last reply Reply Quote 0
        • CCS86undefined
          CCS86 @Norder
          last edited by

          @norder

          Can you post a screenshot of what you see?

          Edge browser looks exactly the same. Even with a non-wide aspect ratio:

          7f9d7803-943e-42a6-b568-50e77f65e627-image.png

          Norderundefined 1 Reply Last reply Reply Quote 0
          • Norderundefined
            Norder @CCS86
            last edited by Norder

            @ccs86
            Bild_2022-08-04_155712247.png
            Opera Browser / Fullsreen Mode / 100% Zoom

            Zoom nicht auf 100.JPG
            Opera Browser / Fullsreen Mode / 75% Zoom

            Found a mistake.
            Your view in the browser is not at 100%

            DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
            Thingiverse

            Norderundefined 1 Reply Last reply Reply Quote 1
            • Norderundefined
              Norder @Norder
              last edited by

              If your browser is set to 100%, try setting it to over 100%.
              It will then probably have something to do with the format of your monitor, since the resolution here may be much higher than normal !?

              Google Translate
              ----- Original Text -----

              Falls Dein Browser doch auf 100% stehen sollte, versuche mal über 100% einzustellen.
              Es wird dann wohl mit dem Format Deines Monitors zutun haben, da hier die Auflösung eventuell viel höher ist als im Normalfall !?

              DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
              Thingiverse

              CCS86undefined 1 Reply Last reply Reply Quote 0
              • CCS86undefined
                CCS86 @Norder
                last edited by

                @norder

                No change after changing the web page scaling.

                My native resolution is 3440x1440, but I tried setting to 1920x1080 and the padding is still there.

                I cleared any cookies and local storage for the DWC page. no change.

                1 Reply Last reply Reply Quote 0
                • CCS86undefined
                  CCS86
                  last edited by

                  5b8491ce-1f3b-4b8b-ad26-a5f368d192e2-image.png

                  1 Reply Last reply Reply Quote 0
                  • CCS86undefined
                    CCS86
                    last edited by

                    By changing this character to a 0, it collapses the text. This seems to show that the text is just trying to fill an over-sized pane:

                    e0d835ed-4b54-40fc-aaed-8951a0a4a53c-image.png

                    1 Reply Last reply Reply Quote 0
                    • CCS86undefined
                      CCS86
                      last edited by CCS86

                      Okay, I think I figured out what is going on:

                      • The statistics pane wants to scale vertically to match the height of the tallest pane
                      • The middle heightmap pane is set to a fixed aspect ratio, so when the window is in a very wide aspect ratio, the middle pane gets very tall and forces the statistics pane too tall
                      • The left pane which lists your saved height maps also auto scales height taller when the list gets long, so it can also force the statistics pane to be too tall

                      Screen recording that shows the issue dynamically:
                      2022-08-04-11-07-59.mp4

                      I'm not sure what the cleanest solution is here. Maybe DWC could lookup the current monitor aspect ratio to decide which aspect ratio the height map pane should be.

                      It would also be nice if the height map list pane was scrollable itself, instead of autosizing and forcing the other panes to be too tall to fit.

                      Norderundefined 1 Reply Last reply Reply Quote 0
                      • Norderundefined
                        Norder @CCS86
                        last edited by

                        @ccs86
                        if so then it's a case for @chrishamm who programmed the DWC, if I'm not mistaken.

                        DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                        Thingiverse

                        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                        • jay_s_ukundefined
                          jay_s_uk @Norder
                          last edited by

                          @norder it's an issue for @Sindarius as I mentioned previously as he programmed the height map plugin

                          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                          Sindariusundefined 1 Reply Last reply Reply Quote 2
                          • Sindariusundefined
                            Sindarius @jay_s_uk
                            last edited by

                            @jay_s_uk I rewrote the 3D component of the heightmap plugin which replaced ThreeJS to BabylonJS which is used for the G-Code Viewer. It does come down to adjusting how the controls layout and resize in code.

                            CCS86undefined 1 Reply Last reply Reply Quote 3
                            • CCS86undefined
                              CCS86 @Sindarius
                              last edited by

                              @sindarius said in Height Map Padding:

                              @jay_s_uk I rewrote the 3D component of the heightmap plugin which replaced ThreeJS to BabylonJS which is used for the G-Code Viewer. It does come down to adjusting how the controls layout and resize in code.

                              Is that something you are able to change, or is it in the DWC code?

                              Sindariusundefined 1 Reply Last reply Reply Quote 0
                              • Sindariusundefined
                                Sindarius @CCS86
                                last edited by

                                @ccs86 It has to be changed in the plugin which is bundled with DWC.

                                CCS86undefined 1 Reply Last reply Reply Quote 1
                                • CCS86undefined
                                  CCS86 @Sindarius
                                  last edited by

                                  @sindarius said in Height Map Padding:

                                  @ccs86 It has to be changed in the plugin which is bundled with DWC.

                                  Is it something user editable, like a config file?

                                  If not, would you be willing to push an update?

                                  Sindariusundefined 1 Reply Last reply Reply Quote 0
                                  • Sindariusundefined
                                    Sindarius @CCS86
                                    last edited by

                                    @ccs86 Not user editable unless you download DWC and make the modifications yourself and make your own build of DWC. It's something I can look at but it won't be today.

                                    CCS86undefined 1 Reply Last reply Reply Quote 1
                                    • CCS86undefined
                                      CCS86 @Sindarius
                                      last edited by

                                      @sindarius said in Height Map Padding:

                                      @ccs86 Not user editable unless you download DWC and make the modifications yourself and make your own build of DWC. It's something I can look at but it won't be today.

                                      Just checking to see if the change made it into the new DWC release.

                                      Sindariusundefined 1 Reply Last reply Reply Quote 0
                                      • Sindariusundefined
                                        Sindarius @CCS86
                                        last edited by

                                        @ccs86 I have not had time to make any changes to the heightmap at this point.

                                        CCS86undefined 2 Replies Last reply Reply Quote 0
                                        • CCS86undefined
                                          CCS86 @Sindarius
                                          last edited by

                                          @sindarius said in Height Map Padding:

                                          @ccs86 I have not had time to make any changes to the heightmap at this point.

                                          Just checking in.

                                          1 Reply Last reply Reply Quote 0
                                          • CCS86undefined
                                            CCS86 @Sindarius
                                            last edited by

                                            @Sindarius said in Height Map Padding:

                                            @ccs86 I have not had time to make any changes to the heightmap at this point.

                                            Do you think you might have time for this soon?

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