Filename output name of printer, not type.
 
Notifications
Clear all

Filename output name of printer, not type.  

  RSS
mrstoned
(@mrstoned)
Reputable Member
Filename output name of printer, not type.

I made a copy of the system preset mini+ 0.4 printer and named it Picard4 (yeah yeah i know, no flamewars please 🙂

 

It outputs the sliced files as: tolerance-test-small_0.2mm_PLA_MINI_34m (example)

Can i manke it so the filename instead of MINI puts Picard4 ?

 

The current "print settings output settings" is: {input_filename_base}_{layer_height}mm_{filament_type[0]}_{printer_model}_{print_time}.gcode

 

I havent found much on the available placeholders for PS. I'm on windows 2.3.1

Prusa Mini+ kit. BondTech extruder. FW 5.1.2
Prusa MK3S+ kit. Stock. FW 3.11.0
Prusa MK3S+, used. Stock. FW 3.13.3

Posted : 30/04/2021 9:53 pm
Neophyl
(@neophyl)
Illustrious Member
RE: Filename output name of printer, not type.

You can’t define the printer as something else but a mini, well you can but then it won’t have access to the mini profiles for print or filament so that’s not a good idea. Why not just remove the placeholder and put the text you want in its place though ? 

btw there’s this list https://github.com/prusa3d/PrusaSlicer/wiki/List-of-all-placeholders-taken-from-the-code  

Posted : 30/04/2021 11:17 pm
bobstro
(@bobstro)
Illustrious Member
RE: Filename output name of printer, not type.

If you're creating a custom printer profile, you can change the printer_model setting. For some reason, it isn't exposed in PrusaSlicer, so you'll need to edit a config or config bundle to add it to your printer configuration and import it. Once you've done that, it will show up in [printer_model] in the filename. This doesn't gain you much if you only have one printer, but it's handy if you have more. As @Neophyl notes, then you'll have issues with the Prusa system profiles. If you want to go down that rabbit hole, I've got some notes here

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 : 01/05/2021 5:09 am
mrstoned
(@mrstoned)
Reputable Member
Topic starter answered:
RE: Filename output name of printer, not type.
Posted by: @neophyl

Why not just remove the placeholder and put the text you want in its place though ? 

That wouldn't be as complex (plus i didn't even think of that 🙂

I realized i also just could make folders and put the sliced files in there.
I made duplicate print settings and saved them for the printer and put in the printername in filename output.

 

It's unfortunately pretty much my default mindset, i'm always overthinking problems, going the complex route when a simple solutions works just as good.

It's a sideeffect of spectrum minds, always thinking/working on stuff that might not even need fixing.

Thanks for the links.

Prusa Mini+ kit. BondTech extruder. FW 5.1.2
Prusa MK3S+ kit. Stock. FW 3.11.0
Prusa MK3S+, used. Stock. FW 3.13.3

Posted : 01/05/2021 9:05 am
Dejf
 Dejf
(@dejf)
Trusted Member
RE: Filename output name of printer, not type.

I have a similar trouble with filament type. Slicing XT makes PETG files while XT uses higher temperatures making it possible to print with incorrect filament. I have to change it with every export.

I think it wont be so hard to add a string to user preset (in default derived from the filament/device) to put into the filename. But I am no big programmer to do so

My opinion may not be right, but regret having so bad and right one too often.My models are things you can't see on any shelve. I create things that don't exist and that should be the…

Posted : 07/05/2021 8:22 am
Neophyl
(@neophyl)
Illustrious Member
RE: Filename output name of printer, not type.

Instead of using {filament_type[0]} in your output string you could use {filament_settings_id[0]} which will insert the name of the profile you are using.

Posted : 07/05/2021 8:46 am
Dejf
 Dejf
(@dejf)
Trusted Member
RE: Filename output name of printer, not type.

@neophyl Cool, I hoped there is an answer to that. It should solve OP's question too, or printer profile does not have that string?

My opinion may not be right, but regret having so bad and right one too often.My models are things you can't see on any shelve. I create things that don't exist and that should be the…

Posted : 07/05/2021 12:20 pm
bobstro
(@bobstro)
Illustrious Member
RE: Filename output name of printer, not type.
Posted by: @dejf

I have a similar trouble with filament type. Slicing XT makes PETG files while XT uses higher temperatures making it possible to print with incorrect filament. I have to change it with every export.

I'm not sure I understand why this is a problem. You can change the filament type field to anything you want. (Unless they've changed something that is.) Your custom type won't show up in the handy drop-down list, but I haven't found that to be a problem. I have created filament presets that included types well before they were included with PrusaSlicer (e.g., Gen, HT, XT).

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 : 07/05/2021 3:08 pm
cwbullet
(@cwbullet)
Member
RE: Filename output name of printer, not type.

Can you edit the printer model?  

--------------------
Chuck H
3D Printer Review Blog

Posted : 07/05/2021 3:57 pm
bobstro
(@bobstro)
Illustrious Member
RE: Filename output name of printer, not type.
Posted by: @cwbullet

Can you edit the printer model?  

Unless something has been added, [printer_model] is a setting that appears in the configs but is not exposed in the GUI. You can edit a config bundle it by hand to add it. I have added "Mk3" and "SWX1" printer models to my config bundles and use those in exported file names. See line 43 in this example.

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 : 07/05/2021 4:48 pm
cwbullet
(@cwbullet)
Member
RE: Filename output name of printer, not type.

@bobstro

Thanks.  That helps.  

--------------------
Chuck H
3D Printer Review Blog

Posted : 07/05/2021 7:51 pm
Dejf
 Dejf
(@dejf)
Trusted Member
RE: Filename output name of printer, not type.

Yeah, it works like a charm. One only has to keep reasonably named profiles for everything he needs separated. Very cool indeed

My opinion may not be right, but regret having so bad and right one too often.My models are things you can't see on any shelve. I create things that don't exist and that should be the…

Posted : 08/05/2021 7:07 am
Share: