Skip to content
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

Remove force writing file frame in filename when capturing current frame #62

Open
aardschok opened this issue May 15, 2017 · 3 comments

Comments

@aardschok
Copy link
Contributor

To ensure the user has the freedom to chose if the filenames contain a frame number or not we will need to remove the default behavior of the capture single frame. It should only write frame numbers when the user enables the Raw frame numbers checkbox

Current result : filename.####.extension
Proposed : filename.extension

We can enable a frame number token for the filename to ensure the user can specify the frame number the wanted fashion, for example: filename_.extension

@BigRoy
Copy link
Member

BigRoy commented May 15, 2017

This might be more complicated then you think. The only way to avoid maya writing a frame number is by using complete_filename. The downside of that is that we also need to explicitly provide the file's name with the extension, which depends on the format/compression used.

Could you elaborate on how you were thinking of implementing this feature?

It should only write frame numbers when the user enables the Raw frame numbers checkbox

This sounds wrong. Because what if you wanted the non-raw frame numbers?

We can enable a frame number token for the filename to ensure the user can specify the frame number the wanted fashion, for example: filename_.extension

This is interesting, but this does mean we need to call playblast in such a way where we can explicitly name each individual file. As far as I could tell there's no way to do so?

@BigRoy
Copy link
Member

BigRoy commented May 15, 2017

Also quickly referencing a bug with complete_filename here: abstractfactory/maya-capture#77 (comment)

@aardschok
Copy link
Contributor Author

I have come to the same conclusion as you have after trying to write explicitly a filename.

  • No way to let Maya write out a file name without the frame number
  • Writing out frame numbers without raw frame number should still be available for the user

This is interesting, but this does mean we need to call playblast in such a way where we can explicitly name each individual file. As far as I could tell there's no way to do so?

One option might be to add a checkbox to force explicit filenames when using image formats, we already have the extensions from the compression list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants