Jump to content
Ultimaker Community of 3D Printing Experts

Recommended Posts

Posted · Name inside G-code

Hello,

Is there a way to remove (or better, not generate) the filename inside gcode by cura4.0.0?
ex. M117 Tail_1.0 layer: 0.  Tail_1.0 is my filename. (appears with each layer change)
I do not want to use the search and replace plugin.

Thanks

  • Link to post
    Share on other sites
    Posted · Name inside G-code

    The " M117 Tail_1.0 layer: 0 " line that you quote is put there by a postprocessing script ("Display filename and layer on LCD"). This script has a setting called "text to display". If you enter anything at all there, that will be used instead of the filename.

  • Link to post
    Share on other sites
    Posted · Name inside G-code

    I really want to display the layer number, but I do not want to display the filename on LCD, there is no space in my LCD. 

    I know I can use search and replace to replace to remove the filename, but I need to enter in every g-code change the search field, etc...

    In my understanding there should or might be an option to do this in the Configure Cura menu automatically.

    As this option does not exist yet, I will use the search and replace to do the job.

  • Link to post
    Share on other sites
    Posted · Name inside G-code
    8 hours ago, ahoeben said:

    The "Display filename and layer on LCD" script has a setting called "text to display". If you enter anything at all there, that will be used instead of the filename.

     

    Enter anything in the "text to display" field of the postprocessing script. A space, an exclamation mark, my name. Just don't leave it blank.

    • Like 1
    Link to post
    Share on other sites
    Posted · Name inside G-code

    Ok, now I get it, I tested it and it works great, bye bye filename.
    Thank you very much Ahoeben.

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