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

Duet does not see the layer thickness

Scheduled Pinned Locked Moved
Tuning and tweaking
5
21
729
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.
  • undefined
    Plohish @achrn
    last edited by Plohish 12 May 2022, 12:28 5 Dec 2022, 12:23

    @achrn please make a project with these settings, and check it in Duet simulation mode,
    compare the number of layers given by Prusa and Duet
    777787.JPG

    Please forgive my bad English, it's Google's fault :)

    undefined 1 Reply Last reply 6 Dec 2022, 20:23 Reply Quote 0
    • undefined
      achrn @Plohish
      last edited by 6 Dec 2022, 20:23

      @Plohish OK, I've done that and I'm willing to tell you what I found if (and only if) you answer the question I've asked you variations of three times and as far as I can see, you're yet to answer:

      Where in the print interface are you looking for the number of layers?
      Where is it showing wrong?
      Where are you not seeing it?

      undefined undefined 3 Replies Last reply 7 Dec 2022, 03:42 Reply Quote 0
      • undefined
        Plohish @achrn
        last edited by Plohish 12 Jul 2022, 03:43 7 Dec 2022, 03:42

        @achrn sorry, I won't be near the printer right now, I can take a screenshot in the evening, but I'll try to describe it in words.
        I see the wrong number of layers in the web interface, the scrolling line displays the number of printed layers, for example
        layer 57 of 100

        also, the web interface incorrectly displays the layer thickness

        Please forgive my bad English, it's Google's fault :)

        1 Reply Last reply Reply Quote 0
        • undefined
          Plohish @achrn
          last edited by 7 Dec 2022, 04:05

          @achrn i made pictures

          3333.jpg

          555557.png

          Please forgive my bad English, it's Google's fault :)

          undefined 1 Reply Last reply 7 Dec 2022, 10:27 Reply Quote 0
          • undefined
            droftarts administrators @Plohish
            last edited by 7 Dec 2022, 10:27

            @Plohish You are editing the per-part layer height to 0.1mm, while the file, as a whole, still has layer height set to 0.3mm (in Print Settings > Layers and perimeters > Layer height). You only have one part on the bed. But if you had more parts, they would be sliced at 0.3mm. You can select different layer heights for each part, and even different layer heights within each part. RepRapFirmware bases the layer calculation on the layer set by the whole file. Once you start using per-part layer heights, and variable heights, there is no way for the RepRapFirmware to keep track of this many changes in layer height, and is, in part, why calculations based on layer count, height and time is broken as slicers get more sophisticated, and really can't be fixed. Simulating files before printing is much better way to get accurate print times.

            However, it works fine if you slice everything with the same layer height. To do this, change the layer height in the Print Settings profile, not in the per-part layer height.

            If you want the slicer to provide better estimates for time remaining by layer, you can add M73 commands to layer changes.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            undefined 1 Reply Last reply 7 Dec 2022, 11:58 Reply Quote 0
            • undefined
              Plohish @droftarts
              last edited by 7 Dec 2022, 11:58

              @droftarts thanks for the clarification, I began to understand why this is happening, but I still have a question: Dear @chrishamm writes that the layer thickness can be obtained on the first received command G0 Z Why does this not work?

              Please forgive my bad English, it's Google's fault :)

              undefined undefined 2 Replies Last reply 7 Dec 2022, 12:02 Reply Quote 0
              • undefined
                droftarts administrators @Plohish
                last edited by 7 Dec 2022, 12:02

                @Plohish Maybe because your first layer height is still 0.32mm, even when you slice per-part at 0.1mm? I haven't checked your Gcode file to see what the first 'G0 Z' move is; most moves are output as G1 moves, so that may also cause issues. Can you link to where @chrishamm said this?

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                1 Reply Last reply Reply Quote 0
                • undefined
                  chrishamm administrators @Plohish
                  last edited by 7 Dec 2022, 12:07

                  @Plohish AFAIR this way of layer height detection was supported in the past but it isn't supported any more, because the first G0/G1 Z command may not be identical to the actual layer height. Hence we rely on comments in the sliced file to determine the true layer height. Recent PrusaSlicer versions generate the corresponding comment automatically at the start of a G-code file (e.g. ; layer_height = 0.5).

                  Duet software engineer

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Plohish
                    last edited by 7 Dec 2022, 12:20

                    Now everything is in place, thanks for the explanation.
                    Perhaps I should write to the developer Prusaslicer, in case of placing only one part on the table and the layer thickness differs from the global settings, track the variable layer_height

                    Please forgive my bad English, it's Google's fault :)

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      achrn @achrn
                      last edited by 8 Dec 2022, 18:58

                      @achrn said in Duet does not see the layer thickness:

                      @Plohish OK, I've done that and I'm willing to tell you what I found if (and only if) you answer the question I've asked you variations of three times

                      Hi @Plohish, sorry, I think I was in a bad mood that day.

                      However, looking at the thread I think you've got to a resolution. FWIW, I think it's the case that neither slicer nor Duet is wrong, in that if the file is set to 0.2mm (or whatever) layer height, but that does not mean that every layer is 0.2mm high, and if you've applied an object override to every object (including the case of there only being one object) it might be the case that no layer in the gcode is that height.

                      I'm not sure it makes sense for the slicer to report anything other than the general setting - the first layer is often different, and functions such as variable layer height will mean there is not necesarily one layer height even if there is only one object. It could write an average layer height into the file, but I'm not sure that's particularly useful.

                      For completeness, if I do as you suggest, and slice an object with one layer thickness but a modifier that changes the layer thickness on a single object, yes it slices correctly and displays what I think is correct (i.e. the overall file setting) value in the jobs list. I sliced a 30mm high object, layers set to 0.3mm, modifier setting layers to 0.1mm, and simulation has 297 layers (my first layer was still set at 0.35).

                      undefined 1 Reply Last reply 8 Dec 2022, 19:28 Reply Quote 0
                      • undefined
                        Plohish @achrn
                        last edited by 8 Dec 2022, 19:28

                        @achrn Thank you.
                        Using a modifier seems more convenient to me, but if there is only one object on the table, we get the wrong G-code ...
                        In the future, I will only use the basic settings...

                        Please forgive my bad English, it's Google's fault :)

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