Jump to content

New PlugIn : Remaining time on LCD


JCD

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
  • Link to post
    Share on other sites

    • 4 weeks later...
    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 🙂 

  • Link to post
    Share on other sites

    • 6 months later...
    • 1 month later...
    Posted (edited) · New PlugIn : Remaining time on LCD
    On 11/14/2019 at 8:40 PM, temporalriftofshit said:

    Hey, quick question, does it work in cura 4.3? And so, where to put the files?

     

    I tried putting them into:

     

    Program Files\Ultimaker Cura 4.3\plugins\PostProcessingPlugin\scripts

     

    and in:

     

    AppData/Roaming/Cura/4.3/Scripts

     

    Without luck.

     

    In cura 4.4  

     

    Ultimaker Cura 4.4\plugins\PostProcessingPlugin\scripts

    Edited by ludkomerc
  • 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
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 16 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...