render-strip icon indicating copy to clipboard operation
render-strip copied to clipboard

Camera name for folder name

Open AlexFundorin opened this issue 4 years ago • 6 comments

Hi. This is a great addon. I'm just starting with Blender animation and it seems helpful. Is it possible to make the addon take strip folder names from the camera names?

AlexFundorin avatar Aug 29 '21 03:08 AlexFundorin

Having frame range/resolution/custom suffix wildcards for folder names would also be nice.

AlexFundorin avatar Aug 29 '21 03:08 AlexFundorin

Hi @AlexFundorin , I am happy you like the addon.

Regarding default strip naming - we had that functionality earlier, where you could choose between custom and default name. strips (1)

But, I had to remove that because:

  1. Name clash - when camera and range is same for two strips.
  2. Possible confusion - I want to keep the addon simple and straight forward to use.

If you have an idea/design on how to enable this, we can discuss. :)

luckykadam avatar Aug 29 '21 10:08 luckykadam

I truly don't see how the camera and frame range are the same but the image sequence isn't. Shouldn't they be the same?

As for simplicity, I think that it could be possible to set the global folder pattern name in the addon preferences (preferences/addon) once and edit it when needed, using:

  1. A set of predefined buttons, named [Strip Name], [Camera Name], [Frame Range], [Resolution X], [Resolution Y], [Date] (very optional, but I can see some rare situations, where this could be handy), [Auto Counter] (for matching names clash. If the name matches, but the strip ID is different, add number appendix), [Remove Last] (to remove the last addition of the folder name generator string). Thus, the user can customize the display of the folder name in a couple of clicks.

  2. An input field for choosing the separator symbol: space, underscore, dash, backslash (for auto creating sub folders). This choice ca be either pre set, or have a whitelist of allowed separators. Or, just leave it as a default spacebar and don't add this option.

  3. The last section in the settings would display an example name, that's generated, using the building blocks above.

This way we would have a flexible naming tool for the folder name generation, while keeeping the GUI intact. If this tool will turn out quite compact, it could be possible to add an override name generator per strip in the "Output settings". Or not. :)

AlexFundorin avatar Aug 29 '21 14:08 AlexFundorin

Date and Auto counter could be checkboxes. Date as an optional one or with its own pattern builder. Auto counter should be enabled by default and you can add an option, where the user could disable it and deal with the consequences on his own. :)

AlexFundorin avatar Aug 29 '21 14:08 AlexFundorin

Might also add a couple of custom buttons (2-4) with configurable words for them, using allowed characters.

Like, when having dash as a separator, saving this sequence of buttons in preferences [Strip] [Cam] [ResY] [Custom1] will give the following folder name

closeup-ortho1-1080-kadam

Setting [Custom2] [Custom3] [Cam] [ResY] and underscore as a separator will result in folder name

fundorin_final_Camera.001_2096

Having a [Project Name], [Scene name] buttons might also be handy.

AlexFundorin avatar Aug 29 '21 15:08 AlexFundorin

Quick and dirty mockup: https://i.imgur.com/ZNw36cP.png

AlexFundorin avatar Aug 29 '21 15:08 AlexFundorin