Jump to content
JCD

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

 

653620318_RPT0script.thumb.gif.c0d089b1327705c38ee4582f6c0b6a56.gif

 

scripts.zip

Edited by JCD

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 65 replies
×
×
  • 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!