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

    Layer count way off

    Scheduled Pinned Locked Moved
    Duet Web Control
    5
    10
    1.4k
    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.
    • DaveAundefined
      DaveA
      last edited by

      I think this started with 3.6 but I'm not absolutely sure. I have a simple .stl of a 1mm thick spacer created via openscad. It is sliced by Simplyfy3d. In both of these apps the layer count is displayed correctly as 5 .2mm layers. When I bring the .gcode into DWC 3.6 beta2 it shows that there are 4000 layers. It prints correctly but seeing printing 3 of 4000 seem a bit weird.
      I'm including the .gcode file sliced for my delta printer if anyone wants to look at it. Thanks.
      ReservoirSpacer-1mm.gcode

      oliofundefined 1 Reply Last reply Reply Quote 0
      • oliofundefined
        oliof @DaveA
        last edited by

        @DaveA do you have a stop.g or end macro that lifts the print head?

        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

        DaveAundefined 1 Reply Last reply Reply Quote 0
        • DaveAundefined
          DaveA @oliof
          last edited by

          @oliof No stop.g file and no end macro. What I do have is the following from Simplify3d at the end of a print.
          G1 E-.5 ; retract filament
          G28 ; home all axes
          M104 S0 ; turn off extruder heater
          M140 S0 ; turn off bed heater
          M106 P0 S0; turn off fan

          Should I have a stop.g?

          oliofundefined 1 Reply Last reply Reply Quote 0
          • oliofundefined
            oliof @DaveA
            last edited by oliof

            @DaveA no, stop.g is optional. I would have expected some end gcode moving the print head away from the print, that final move usually throws off the layer line computation (its filtered out when there is a comment like ; E... behind the final Z move). But that doesn't seem to happen in your gcode file so I wondered if other sources existed worth checking.

            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

            DaveAundefined 1 Reply Last reply Reply Quote 0
            • DaveAundefined
              DaveA @oliof
              last edited by

              @oliof As this is on a delta I just use the G28 to move the effector up to the max height.

              DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
              • Phaedruxundefined Phaedrux moved this topic from General Discussion
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                Can you roll back to 3.5.4 to confirm it parses correctly there?

                Z-Bot CoreXY Build | Thingiverse Profile

                DaveAundefined 1 Reply Last reply Reply Quote 0
                • DIY-O-Sphereundefined
                  DIY-O-Sphere @DaveA
                  last edited by

                  @DaveA
                  Maybe set the custom end G-code as described here
                  https://forum.duet3d.com/post/314534

                  (UTC+1)

                  1 Reply Last reply Reply Quote 0
                  • DaveAundefined
                    DaveA @Phaedrux
                    last edited by DaveA

                    @Phaedrux Bingo! I reverted back to 3.5.4 and the Jobs list shows the file as 1mm high. I deleted the file and reinstalled 3.6.0-2. I reloaded the file and the height is displayed with a object height of 800mm.
                    Edit to add that 3.6.0-1 appears to display the height correctly so beta 2 has the fault.

                    dc42undefined 2 Replies Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @DaveA
                      last edited by dc42

                      @DaveA this is a bug in RRF, which is reporting object height 800mm and 4000 layers to DWC. I am looking into it.

                      m36 "1732895968432-reservoirspacer-1mm.gcode"
                      {
                          "err": 0,
                          "fileName": "1732895968432-reservoirspacer-1mm.gcode",
                          "size": 100995,
                          "lastModified": "2024-12-01T08:49:22",
                          "height": 800,
                          "layerHeight": 0.2,
                          "numLayers": 4000,
                          "filament": [
                              824.1
                          ],
                          "thumbnails": [],
                          "generatedBy": "Simplify3D(R) Version 4.1.2"
                      }
                      

                      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
                      • dc42undefined
                        dc42 administrators @DaveA
                        last edited by dc42

                        @DaveA this is now fixed in time for the next 3.6 beta release. Thank you for reporting it.

                        m36 "1732895968432-reservoirspacer-1mm.gcode"
                        {
                            "err": 0,
                            "fileName": "1732895968432-reservoirspacer-1mm.gcode",
                            "size": 100995,
                            "lastModified": "2024-12-01T08:49:22",
                            "height": 1,
                            "layerHeight": 0.2,
                            "numLayers": 5,
                            "filament": [
                                824.1
                            ],
                            "thumbnails": [],
                            "generatedBy": "Simplify3D(R) Version 4.1.2"
                        }
                        

                        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
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA