Jump to content
Ultimaker Community of 3D Printing Experts
  • Sign Up
Landa

Name inside G-code

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

Share this post


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

What is wrong with using the search&replace functionality?

Share this post


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

Hi, If there is no other way I'll do it, but I want an option to generate the g-code without the filename inside. Time is money!

Share this post


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.

Share this post


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.

Share this post


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

Share this post


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.

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

  • Our picks

    • Talking additive | The 3D printing podcast
      Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
        • Like
      • 2 replies
    • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
      Save your seat for either broadcast on September 23.
      What will you learn?
      · Best practices for iterative print preparation and every lesson you should learn from each print
      · The right way to use per-object settings and when they are most useful
      · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
      · How to optimize print profile settings and whether to “keep” or “discard” changes
      · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
      · And a whole lot more tips and tricks!
       
      How can I join?
      This free masterclass will take place twice:
      1. 11am CEST (5pm SGT, 5am EDT)
      2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
        • Like
      • 0 replies
    • Do you use 3D printing at work? Let us know
      It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
      • 1 reply
×
×
  • Create New...