New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Additional filename placeholders #4607
Comments
I also have some new placeholder variables I'd like to request:
|
I like the suggestion of the object count placeholder. This would be very useful. |
{num_objects} and {num_instances} implemented with 1ddd060
It will be released with PrusaSlicer 2.4.0-beta2. |
@bubnikv Thank you! |
Well this is still hanging, but I'd like to have the stl file name not the project filename. I save the project with specific print settings and just swap the files but I'd like to export with the sliced STL filename. |
Version
Version 2.2.0+win64
Operating system type + version
Windows 10 Pro x64, ver. 2004, build 19041.388, feature pack 120.2202.130.0
3D printer brand / version + firmware version (if known)
Prusa i3 MK3s stock
Feature Request
Additional filename placeholders for use in Print Settings -> Output Options -> Output filename format
Parent Folder
My workflow commonly involves multiple STLs per project, all saved in the same folder. These parts will commonly have similar or identical names as parts in other project--for example, multiple projects may include a similar, but not identical, "axle.stl". While the filename is sufficient to identify the part in a folder hierarchy, when exported, PrusaSlicer defaults to naming the GCode file "axle.gcode" which gets lost in the printers single-level storage.
Please add a
{parent_folder}
placeholder that matches the name of the immediate ancestor folder of the primary object file.Object Count
My workflow commonly involves generating multiple GCode files from a single STL object usually in different quantities. That is, I might have a GCode file with 1, 4, and 16 duplicate objects on the build plate. Which file gets printed depends on the quantity of parts needed--sometimes I'm doing a production run and I use the full-plate x16 version, while sometimes I just need a quick replacement or a prototype and only want a single object.
Please add a
{object_count}
placeholder that is the count of objects on the build plate.Together, this means my ideal Output filename format would be something like:
The text was updated successfully, but these errors were encountered: