Output Filename format when using a Project File
 
Notifications
Clear all

Output Filename format when using a Project File  

  RSS
Webdad
(@webdad)
Eminent Member
Output Filename format when using a Project File

I'm a refugee from S3D where I used Factory Files to basically establish a locked in gold standard for my print job profiles.  Regardless of how individual pieces of a profile were changed in the S3D environment overall, reloading the original factory file always brought me back to a known state.

It seems like the Project file concept is a close match, but I'm struggling with trying to work out the placeholders for the Output Filename format.  

My workflow is to load the project file (CR10sPRO-Standard.3mf) and then load up the bed with a print model (TanksMachines-v3.stl).  

My output filename format uses [input_filename_base] in the filename, but the resulting output is: CR10sPRO-Standard as opposed to TanksMachines-v3 

I've looked for the placeholder list, but can't find one that even includes input_filename_base.

Realize that a print may have multiple models, but I think S3D just pulls the first or last one in the list to propose a filename.

I'd prefer not to have to save every job as a 3mf with a new name before exporting the gcode.

Any other options to get this to work in this manner?

Thanks!

Posted : 22/12/2021 6:49 pm
micha
(@micha)
Eminent Member
RE: Output Filename format when using a Project File

I suppose you're looking for https://help.prusa3d.com/en/article/list-of-placeholders_205643

That's about everything I found, but it covered all my wishes regarding filenames.

 

Mike

 

Posted : 22/12/2021 7:16 pm
Webdad
(@webdad)
Eminent Member
Topic starter answered:
RE: Output Filename format when using a Project File

Thanks, I found that as well, but it is missing [input_filename], [input_filename_base], to name a few.

Regardless, I've been continuing to play around with this and not sure what I was doing previously, but now it appears that [input_filename] is honoring the loaded models as opposed to the .3mf project filename.  I'll continue to futz around with it.  I wonder if the original behavior was due to my project file originally having a model loaded? 

Not sure, but for now, looks like it was a problem between the chair and the keyboard.

Thanks.

Posted : 22/12/2021 7:26 pm
micha
(@micha)
Eminent Member
RE: Output Filename format when using a Project File

You're right, and researching for information reveals many dead ends.

There is some information in the Wiki ( https://github.com/prusa3d/PrusaSlicer/wiki/List-of-all-placeholders-taken-from-the-code)

which didn't shed much light on my (non-programmer) questions. But at least it includes input_filename_base. 😆

When trying to find out about the macro language itself, you're taken back to the previous list.

 

 

Posted : 22/12/2021 7:57 pm
Share: