-
Notifications
You must be signed in to change notification settings - Fork 363
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
In OutPathBuilder, [model] is defined as "model name", however this parameter includes a subpath component. Proposal to add [model_filename]. #404
Comments
Oh that'd be
*I've fixed the link to be clickable instead of just text of the url, heh |
No, that's not what I am asking for. I am requesting the model filename (at the operating system level), not anything from the internal metadata. B |
You want... the filename, but not the full filename, and not the title either... why so specific? 0.o |
Basically: Here are things that are the filename: Here are things that are not the filename: I do not want any of the directory parts of the path, only the file name component.
(edits: backslashes are cursed, whyyyy) |
My question was why |
Short version number 1: Short version number 2: |
If you haven't customized metadata on the model, the title is the filename without directory info |
yes the uploader set a title on their model |
lol ok thanks man, I should have investigated more. :) B |
For the purposes of the below, assume agreement on leaving out the file extension.
Issue:
I would like to use the model filename as part of my OutPathBuilder format string. As per the on screen documentation, [model] is defined as "model name". However, in reality [model] is "full sub path to model under the top level model directory."
Example/Request:
And since a picture is worth a thousand words, see yellow highlighted bits in the example below. In this example I would have preferred to only see [model] return "picxReal_10" instead of "_offload_i_sd15picxReal_10". Since [model] is already defined the way it is, I propose adding [model_filename] that does what I am requesting, which does not use the intervening directories in the output string.
The generation screen showing the model sub-path:
The resulting output path assigned to the image file, with the subpath component (slashes stripped) that I do not want:
PS - if proposed enhancement is accepted, the on-screen documentation for [model] would obviously need to be updated.
The text was updated successfully, but these errors were encountered: