Layer number always Null
-
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?
-
Refer to the release notes
https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x#reprapfirmware-33RepRapFirmware 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.
-
-
-
@owend said in Layer number always Null:
Refer to the release notes
https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x#reprapfirmware-33RepRapFirmware 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?
-
@wombat37 Which version of cura? Can you provide a sample Gcode file?
-
@wombat37
Seems that I had forgotten to update the DWC files in \www.
Layer Chart is now working nicely
Sorry...