Filename output format  

Active Member

Hello everyone!

I want to create my custom filename format when I export the .gcode files but I have questions:
I look that I can edit from Print Settings > Output options, but I need to do this in each layer height that I use, correct?
Exist a easy method to edit a .ini file or similar and add my "output_filename_format" to anything on my PrusaSlicer?

What is the best method to use a different filename for .gcode always on my PrusaSlicer 2.2.0+?

Also looking information about the placeholders I found that is written in different ways, for example:




What is the difference?

Thanks a lot!

Posted : 16/07/2020 11:32 pm
Illustrious Member

You can use any of the PrusaSlicer config variables (the names that show up when you hover over a field). Here's what I use:

[input_filename_base] [notes] [filament_type] [layer_height]X[nozzle_diameter] [first_layer_temperature]-[temperature] [first_layer_bed_temperature]-[bed_temperature] [print_time].gcode

Not sure about having multiple extruders with MMU though.


My notes and disclaimers on 3D printing and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan...
Posted : 17/07/2020 2:05 am
Flyer liked
Active Member

Thanks @bobstro!

...(the names that show up when you hover over a field)...

Yes, I noted this, but in what place I put the changes to be applied always when I export my .gcode files?
I need to edit each "system preset" one by one?
I not have clear the procedure :S

Posted : 17/07/2020 3:41 am
Noble Member

Placeholders -
and you wanted to know what the difference was

You cant edit and save any of the default Prusa templates.  Well you can, go into the ini files directly and make changes.  That would add it to everything that inherited from the base section that you update.  However the next time the profiles are updated (when you see that pop up saying do you want to update the profiles - Y/N) then if updated any changes you made will be wiped out as the new updated Prusa profile will be written.

You could save copies of all the ones you commonly use and change the output options.  Thats the easiest way to do it and probably what most people do.

Or you could figure out how to create your own vendor profile, set it all up and then have complete control of it yourself.  Bob is probably the one to talk to about that 🙂  Me I use option 2

Posted : 17/07/2020 7:21 am
Flyer liked
Active Member


Thanks! I understand, yes, based on this, maybe is better to create my own from PrusaSlicer.
Just as curious: what is the correct locations of these .ini files (for the System presets)?
I use macOS and I have found them in: /user/library/application support also on PrusaSlicer > Show package contents...
but I don´t know exactly in which of these are stored the actual "system presets" that I need to modify.
Thanks again!

Posted : 17/07/2020 2:43 pm

Please Login or Register