why total number of layers incorrect in web interface?
-
Am currently printing a part which Simplify3d shows as having 450 layers.
Yet in the web interface it says:
Processing 0:/gcodes/holster_base.gcode, 57.7% Complete Layer: 259 of 1250, Filament Usage: 3568.2mm of 6188.8mm (2620.6mm remaining)
This is not a one-off but happens all the time at the moment.
Any ideas how to correct?
-
As far as I remember this is because Simplify3D counts support and retraction which can be different to the main model layers as well when providing the total layers in the gcode file.
I never found out how to fix this with S3D, but I switched to another slicer where this problem does not exist.
-
I seem to recall DC42 saying that DWC calculates the total layer count as total object height divided by the height of the second layer that is printed. If for some reason (like KISSlicer's variable layer height) this calculation is not correct, the numbers can get quite screwed up. I'm for very familiar with S3D, maybe something like this is happening in your case too?
-
The usual reason sf that you have a G1 Z command in your slice rend GCode to raise the head at the end of the print, and the firmware mistakes that final height for the total object height. Adding a comment beginning ;E or ; E on the end of that line fixes it.
-
Indeed, do have:
G1 Z250 F400
in the end script. Which is precisely 1250 layers at 0.2mm
Thanks!
-
Slicers do embed layer numbers in the generated gcode. E.g.
; layer 149, Z = 29.900
Is it feasible to scan the end of the file and find the last marker? (and during the printing, incrementing the current layer on each mark)
-
Do all slicers embed this info in the same way? I rather doubt it. But it's already on my list to process some types of slicer comments.
-
@dc42 said in why total number of layers incorrect in web interface?:
Do all slicers embed this info in the same way?
My example above is from Simplify3D. I just checked Slic3r (Prusa edition) and it doesn't embed it be default but it can be set via the layer change script and the [layer_num] macro. I didn't check Cura.
Would be nice to have the major slicer vendors agreeing on some standard.
-
@zapta said in why total number of layers incorrect in web interface?:
Would be nice to have the major slicer vendors agreeing on some standard.
Amen!