Jump to content
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

You can right click the file name in cura and change it to whatever you want but not get rid of it entirely.

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.

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

×
×
  • 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!