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

    Layer count

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    10
    37
    5.9k
    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.
    • Merlinundefined
      Merlin
      last edited by

      I'm using Matter Control and the latest Web interface is not showing a layer count at all.
      I' have tried using the tip above: ; layer_height = [layer_height] but thjis makes no difference:
      Here is the first few paragraphs of some gcode produced showing the start and end codes.
      Anyone any ideas what I'm missing?
      ; Generated with MatterSlice 1.0
      ; filamentDiameter = 1.78
      ; extrusionWidth = 0.6
      ; firstLayerExtrusionWidth = 0.9
      ; layerThickness = 0.2951
      ; firstLayerThickness = 0.3
      ; automatic settings before start_gcode
      G21 ; set units to millimeters
      M107 ; fan off
      M190 S65 ; wait for bed temperature to be reached
      M104 T0 S210 ; start heating extruder 1
      T0 ; set the active extruder to 0
      ; settings from start_gcode
      G28 ; home all axes
      ; layer_height = [layer_height]
      ;G32 ; Autocalibrate - disable with ; if not required
      G1 X0 Y0 Z5 F8000 ; centre nozzle 5mm above bed
      G10 P0 S200 R0
      G10 P0 X0 Y0 Z0

      ; automatic settings after start_gcode
      M109 T0 S210 ; wait for extruder 1 to reach temperature
      T0 ; set the active extruder to 0
      G90 ; use absolute coordinates
      G92 E0 ; reset the expected extruder position
      M82 ; use absolute distance for extrusion
      ; Layer count: 14
      ; Layer Change GCode
      ; LAYER:0
      G4 P0
      M107
      G0 F6900 X69.391 Y-72.912 Z0.35
      ; TYPE:SKIRT
      G1 Z0.3

      1 Reply Last reply Reply Quote 0
      • deckingmanundefined
        deckingman
        last edited by

        I'm no expert on this but could it be that Matter control uses the "variable" name "layerThickness" rather than "layer_height"?

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

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

          @deckingman:

          I'm no expert on this but could it be that Matter control uses the "variable" name "layerThickness" rather than "layer_height"?

          Good catch. I wish slicers would all use the same names in the comments they generate. I'll have RRF accept layerThickness as an alternative to layer_height in the next release. Meanwhile, try changing it inside the square brackets in the comment.

          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
            last edited by

            Hi Merlin,

            Can you make a gcode file generated by Matter Control available to me, so that I can test some new layer height detection code?

            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
            • InSanityundefined
              InSanity
              last edited by

              FYI, seeing layer count issues with S3D as well. Doing a print that has 251 layers and the DWC is showing 750 layers. Oddly I've seen 750 often, I think it's my max layer count for my setup. Yep it is, says my object is 150mm high. It is showing the two layer heights which is also incorrect as the first layer is set to 100% of 0.20mm. Ok, well not the end of the world I guess, it works on some prints.

              Jeff

              Duet WiFi Powered FFCP with E3D legends hotend system. BLTouch grid leveling.

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

                @(In)Sanity:

                FYI, seeing layer count issues with S3D as well. Doing a print that has 251 layers and the DWC is showing 750 layers. Oddly I've seen 750 often, I think it's my max layer count for my setup. Yep it is, says my object is 150mm high. It is showing the two layer heights which is also incorrect as the first layer is set to 100% of 0.20mm. Ok, well not the end of the world I guess, it works on some prints.

                Jeff

                So was your object actually only 50mm high instead of 150mm, or was the layer height shown by DWC only 1/3 of the real layer height?

                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
                • InSanityundefined
                  InSanity
                  last edited by

                  The object is 0.2mm X 251 layers so yes 50.2 mm high. The printer is showing 150mm and 750 layers. This is a direct slice right from S3D 3.1.1 without any types of edits. Sliced, saved, upload, print. It seams to sometimes work and sometimes not. I see 750 layers often.

                  Here is the G-Code for your reference: The File

                  Jeff

                  Duet WiFi Powered FFCP with E3D legends hotend system. BLTouch grid leveling.

                  1 Reply Last reply Reply Quote 0
                  • Merlinundefined
                    Merlin
                    last edited by

                    David,
                    Sorry did not respond to your request of Jan 13th.
                    Somehow I am not getting advised when threads I have contributed too are updated.
                    Where do I reset this?
                    As you have now released 1.17c with the MH layer fix I assume you no longer need any more gcode examples.

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

                      Merlin, please let us know whether 1.17c fixes the problem. I was not able to test the fix.

                      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
                      • InSanityundefined
                        InSanity
                        last edited by

                        Any ideas on the S3D layer count issue? I did a print last night with the same 750 layers showing when it shouldn't have been.

                        Thanks,

                        Jeff

                        Duet WiFi Powered FFCP with E3D legends hotend system. BLTouch grid leveling.

                        1 Reply Last reply Reply Quote 0
                        • Shotfireundefined
                          Shotfire
                          last edited by

                          WebControl seems to be displaying inaccurate info while printing.

                          1. The progress Bar is stuck saying "Layer 2 of 440" and not incrementing ; Cura say theres only 100 layers
                          2. Filament usage is also way off; Cura says 11.975m WebControl shows 49.2252

                          Size:
                          12.8 MiB
                          Object Height:
                          110 mm
                          Layer Height:
                          0.25 mm / 0.25 mm
                          Filament Usage:
                          49225.2 mm
                          Generated by:
                          Cura_SteamEngine 2.5.0

                          –--------------------------------------------------------------
                          Here's the first part of the code
                          ;FLAVOR:RepRap
                          ;TIME:4651
                          ;Filament used: 11.9751m
                          ;Layer height: 0.2
                          ;Generated with Cura_SteamEngine 2.5.0
                          M190 S110
                          M104 S245
                          M109 S245
                          ;Start of START Code

                          M561 ; Clear any bed transform
                          G28 ;Home All Axis
                          G29 ;Bed Mesh
                          G90 ; absolute positioning
                          G92 E0 ; zero extruders
                          M106 S0 ;Set Cooling Fan to 0
                          G1 X235 Y3 Z1 F3000 E0.3 ; Position to Wipe
                          G1 X15 Y3 Z0.3 F3000 E25.00 ; Wipe
                          G1 E23 F2000
                          G92 E0 ; zero extruders
                          ;LAYER_COUNT:100
                          ;LAYER:0
                          M107
                          G0 F9000 X22 Y15.501 Z0.18
                          ;TYPE:SKIRT

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

                            @Shotfire, can you make that file available to me via Dropbox or similar?

                            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
                            • burtoogleundefined
                              burtoogle
                              last edited by

                              Hi shotfire, is your print spiralized? Webcontrol doesn't show the correct info when printing a Cura spiralized model.

                              1 Reply Last reply Reply Quote 0
                              • Shotfireundefined
                                Shotfire
                                last edited by

                                @burtoogle, No, I'm just printing a a new box for the DuetWif right now. But it happens on every print I do no matter what size or shape

                                1 Reply Last reply Reply Quote 0
                                • burtoogleundefined
                                  burtoogle
                                  last edited by

                                  That's weird, I'm using Cura 2.5 and the layer stats + time prediction all work as they should.

                                  1 Reply Last reply Reply Quote 0
                                  • burtoogleundefined
                                    burtoogle
                                    last edited by

                                    I would also like to take a look at one of your gcode files that are misbehaving. As DC says, can you put it on Dropbox or similar.

                                    1 Reply Last reply Reply Quote 0
                                    • Shotfireundefined
                                      Shotfire
                                      last edited by

                                      I have put it on my dropbox but I don't use dropbox very much, I think I need your email address to give you access

                                      1 Reply Last reply Reply Quote 0
                                      • burtoogleundefined
                                        burtoogle
                                        last edited by

                                        Using the dropbox website you can make the file public and then copy a link which can be pasted into the forum here.

                                        1 Reply Last reply Reply Quote 0
                                        • Nuffeundefined
                                          Nuffe
                                          last edited by

                                          My DWC has been today stuck with 1399 layers. Third print today. Even with different browser sessions. DWC seem to have some problems updating layer counts between different prints if the same session/browser window is used, but now this one happens even with different computers. And I have not had a print with 1399 layers.

                                          1 Reply Last reply Reply Quote 0
                                          • Nuffeundefined
                                            Nuffe
                                            last edited by

                                            @Nuffe:

                                            My DWC has been today stuck with 1399 layers. Third print today. Even with different browser sessions. DWC seem to have some problems updating layer counts between different prints if the same session/browser window is used, but now this one happens even with different computers. And I have not had a print with 1399 layers.

                                            this was explained in David's earlier comment. I had newly created end code section using G1.

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