I like this but can't get it to show up on my LCD screen. I'm using Marlin 1.1.0 RC8. Does that have anything to do with it? Thanks in advance!ShaqFoo wrote: ↑Tue Aug 04, 2015 1:13 amGreat post but he never asked about time measurement. The single biggest reason to display the layer height on the LCD screen is in the case of failed print so you know where to resume by LAYER #. Yes, you could do it by z height too, but visually seeing the layer number is easier to remember and find in the gCode file that S3D creates. S3D inserts the layer# and z height in the gcode for every layer printed but it puts inserts them as comments.KeyboardWarrior wrote:Since there isn't a current layer or # of layers variable, this isn't currently doable. If you're looking to do this for time-measurement reasons, I don't think that # of layers is a great indicator of speed by the way, since some layers will take much longer than others.Kyuubi wrote:I want post too the LCD "(current layer) of (layers)" on every layer change, is that possible?
For instance, a pyramids base layers will print much slower than the layers towards the tip.
After reading the post, I was really intrigued by the terminal post processing window and was able to display both the layer # and the Z height on the LCD screen during the print for every layer printed. See attached pictures.
Place the following code in the post processing window and you will get layer number printed on your LCD screen along with the z height. The replace command simply removes the comment and replaces it with the M117 command. The second line is for formatting only it is not needed but tightens things up.
{REPLACE "; layer" "M117 Layer"}
{REPLACE " Z = " " Z="}