5 lines
1.2 KiB
Plaintext
5 lines
1.2 KiB
Plaintext
|
|
perfect!
|
||
|
|
So here's the deal. We don't exactly use the same file structure as blender intends, but we start with the project file, e.g. `A:\1 Amazon_Active_Projects\250404_Dock-2.5` within that, we have` \Renders\[optional submodule]\daily_YYMMDD` the paths of which should be mirrored in `\blends\animations\[optional submodule]` except there are no dailies any more since we've implemented version control.
|
||
|
|
I want to automate as much of this as possible. How hard would it be to have it:
|
||
|
|
1. automatically locate the project root by going from the blendfile's location, to the earliest folder with a \Renders\ folder. e.g. I'm working from `A:\1 Amazon_Active_Projects\250404_Dock-2.5\Blends\animations\Waterspider B\WS-B_1D.blend` so it should see that we're in animations\Waterspider B, which is a submodule, then from animations, it goes up to blends, then project root @ `A:\1 Amazon_Active_Projects\250404_Dock-2.5`
|
||
|
|
2. Then, it finds the Renders folder, then intuits the submodule name from the blendfile's location, and then the date from the current date in the format daily_YYMMDD. This should be our replacement to settings.add_path_components. If the blend is not in a submodule, just skip that path component and go to \Renders\daily_YYMMDD.
|