Jump to content

New PlugIn : Remaining time on LCD

Recommended Posts

Posted (edited) · New PlugIn : Remaining time on LCD

I Have an Anet A8, and the LCD is displaying while printing a percentage achieved.


It's  annoying as it's not accurate (based on the number of code lines left (including the comments)) and not directly interpretabled.


So I made a PostProcessing PlugIn which puts on the last line of the LCD the remaining time until the end of printing, at the start of the print and after each layer


It's based on the delay (in sec) calculated by Cura in the GCode.

There is a parameter you can modify to adjust the time to reality if your printer is slower or quicker than Cura think.

For me the parameter is 0.935 (100 sec is adjust to 93.5 sec, my printer is quicker)


You will see in the code a number of lines about Python's IDLE debugging environnement. It doesn't matter when used in Cura, but I shall explain in a following Topic the system I put in place to avoid the pain of debugging in Cura.


Also the script is in 2 files, the second one (scriptUtils.py) have the commun functions that maybe used in several plugIns.

Both files are to be put in the script folder (AppData/Roaming/Cura/4.0/Scripts for Windows7 Cura 4.0)


Below a picture of the startGcode modified by the script





Edited by JCD

Share this post

Link to post
Share on other sites
Posted · New PlugIn : Remaining time on LCD

Well, i'm not entirely sure what all the functions do in the scripts, since i never really used python, but as far as i see it only does what it should without some hidden stuff. i'll test it out, hopefully it works fine. many people are looking for something like this 😉

btw. there are some misswritings in the comments 😉 like cyra instead of cura and so on 😄 still pretty nice 🙂 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!