Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved Layer number always Null

    Duet Web Control
    5
    7
    372
    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.
    • reghend79
      reghend79 last edited by

      Using DWC 3.3.0 and PrusaSlicer 2.3.0

      The total amount of layers displays correctly on the Status tab, but the current layer is always zero. I checked the object model and both job.layer and job.timesLeft.layer is 0 or null. Also, the layer time graph isn't displaying anything. Is this a problem with the newest release of DWC or maybe it's not reading the current layer from the PrusaSlicer gcode?

      I'd appreciate any help!Screen Shot 2021-06-21 at 11.09.52.png

      SIam 1 Reply Last reply Reply Quote 0
      • OwenD
        OwenD last edited by

        Refer to the release notes
        https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x#reprapfirmware-33

        RepRapFirmware no longer tries to work out what layer number is printing, and no longer provides an estimate of print completion time based on layer progress. The mechanism to work out the layer number failed in many cases, for example when the slicer used variable layer heights or printed multiple objects one at a time. The removal of these 200 lines of hard-to-maintain code has made more space available for other features on the older Duets that are tight on memory space. A consequence of this change is that DWC will no longer produce a layer chart if the GCode file being printer does not include layer number comments. For slicers that do not normally generate these comments (e.g. PrusaSlicer) it is usually possible to add a layer change script to generate them.

        Wombat37 1 Reply Last reply Reply Quote 1
        • SIam
          SIam @reghend79 last edited by

          @reghend79 see here for a solution: https://forum.duet3d.com/topic/23248/job-layer-not-working-anymore-with-3-3rc2/4?_=1624263146134

          Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
          Duet WiFi 1.02 or later + DueX5
          RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
          Duet WiFi Server: 1.26
          Duet Web Control 3.4.0beta4 (2021-09-27)

          1 Reply Last reply Reply Quote 1
          • reghend79
            reghend79 last edited by

            Thank you both! @OwenD @SIam

            1 Reply Last reply Reply Quote 0
            • Wombat37
              Wombat37 @OwenD last edited by

              @owend said in Layer number always Null:

              Refer to the release notes
              https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x#reprapfirmware-33

              RepRapFirmware no longer tries to work out what layer number is printing, and no longer provides an estimate of print completion time based on layer progress. The mechanism to work out the layer number failed in many cases, for example when the slicer used variable layer heights or printed multiple objects one at a time. The removal of these 200 lines of hard-to-maintain code has made more space available for other features on the older Duets that are tight on memory space. A consequence of this change is that DWC will no longer produce a layer chart if the GCode file being printer does not include layer number comments. For slicers that do not normally generate these comments (e.g. PrusaSlicer) it is usually possible to add a layer change script to generate them.

              I'm using Cura which does provide ;Layer # comments in the g code print files. The Layer Chart is still not being populated during active printing. Is there some other step I need to do to make this happen in RRF 3.3_2?

              Phaedrux Wombat37 2 Replies Last reply Reply Quote 0
              • Phaedrux
                Phaedrux Moderator @Wombat37 last edited by

                @wombat37 Which version of cura? Can you provide a sample Gcode file?

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • Wombat37
                  Wombat37 @Wombat37 last edited by Wombat37

                  @wombat37
                  Seems that I had forgotten to update the DWC files in \www.
                  Layer Chart is now working nicely 🙂
                  Sorry...

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