Jump to content
Ultimaker Community of 3D Printing Experts

Modify Display Filename and Layer on LCD Plug-In


NotAce
 Share

Recommended Posts

Posted · Modify Display Filename and Layer on LCD Plug-In

I want to modify the Modify Display Filename and Layer on LCD Plug-In so the total number of layers is displayed at the beginning of the line instead of the end. I tried the following:

  • Opened DisplayFilenameAndLayerOnLCD.py  from the  C:\Program Files\Ultimaker Cura 4.4\plugins\PostProcessingPlugin\scripts folder into a text editor (after backing it up).
  • Modified line 75 of the script to read    display_text = lcd_text + str(i) + "/" + max_layer + " " + name    (i.e. added    + "/" + max_layer)
  • Saved the script.
  • Restarted Cura and resliced my file.
  • There was NO CHANGE to the generated GCode.
  • So I shut down Cura and restarted my PC.
  • Opened Cura and resliced the file.
  • Still no change

There's obviously a magic ingredient missing here. Can anyone tell me what I'm doing wrong. 

Thanks.

  • 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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 11 replies
    ×
    ×
    • Create New...