Avisos
Vaciar todo

Filename output format  

  RSS
Flyer
(@flyer)
Active Member
Filename output format

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:

{nozzle_diameter[0]}

vs

{nozzle_diameter}

What is the difference?

Thanks a lot!

Respondido : 16/07/2020 10:32 pm
bobstro
(@bobstro)
Illustrious Member
RE: Filename output format

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

Respondido : 17/07/2020 1:05 am
Flyer me gusta
Flyer
(@flyer)
Active Member
Topic starter answered:
RE: Filename output format

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
Thanks,

Respondido : 17/07/2020 2:41 am
Neophyl
(@neophyl)
Illustrious Member
RE: Filename output format

Placeholders - https://github.com/prusa3d/PrusaSlicer/wiki/Slic3r-placeholders-(a-copy-of-the-mauk.cc-page)
and you wanted to know what the difference was https://github.com/prusa3d/PrusaSlicer/wiki/Slic3r-Prusa-Edition-Macro-Language

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

Respondido : 17/07/2020 6:21 am
Flyer me gusta
Flyer
(@flyer)
Active Member
Topic starter answered:
RE: Filename output format

@neophyl

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!

Respondido : 17/07/2020 1:43 pm
J133
 J133
(@j133)
New Member
RE: Filename output format

@neophyl

I've got a similar question as @flyer. I'm trying to create copies of the ini file (I use a Creality Ender 3 Pro), but when I changed the C:\Program Files\Prusa3D\PrusaSlicer\resources\profiles\Creality.ini file to add in the variable that I wanted in the output_filename_format on line 219, it doesn't change anything within PrusaSlicer.

 

Any ideas here are greatly appreciated.

Respondido : 03/02/2021 4:42 pm
Bo1o1
(@bo1o1)
Active Member
RE: Filename output format

I'm trying to add extrusion multiplier, and I see it in the hover.. shown as parameter. great.. typed it perfect.. with { }  brackets like all the other parameters.. and gives me an error..  points to this one.  thoughts?

Respondido : 02/01/2023 12:47 am
Neophyl
(@neophyl)
Illustrious Member
RE: Filename output format

You need the index number.  For extruder 1 filament (which is index zero) you need {extrusion_multiplier[0]}.  Settings that can be associated with multiple items usually need it adding.  For example {filament_type[0]}_{temperature[0]}_ etc.

Respondido : 02/01/2023 12:19 pm
Bo1o1
(@bo1o1)
Active Member
RE: Filename output format

Thank you, gonna try that now.. great

Respondido : 02/01/2023 12:52 pm
Compartir: