Add message while pausing

This way you can display instructions during the print.

Implements issue CURA-6759.
This commit is contained in:
Ghostkeeper 2019-09-06 12:41:09 +02:00
parent db604cdd16
commit c1b4bcebec
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
2 changed files with 12 additions and 2 deletions

View file

@ -69,7 +69,7 @@ class DisplayFilenameAndLayerOnLCD(Script):
else:
lcd_text = "M117 Printing Layer "
else:
lcd_text = "M117 Printing " + name + " - Layer "
lcd_text = "M117 Printing " + name + " - Layer "
i = self.getSettingValueByKey("startNum")
for layer in data:
display_text = lcd_text + str(i) + " " + name