Directory Structure issues and/or questions #306

Open
opened 2024-05-31 05:23:23 +02:00 by tone-watson · 0 comments
Contributor

I'm having so much fun getting this whole pipeline set up and I love what you all are building. I think i've run into a few potential issues.

I have gone thru all the pipeline docs many times and have watched @nick's bcon23 "Blender Studio Pipeline - Editorial Workflow" talk many times but haven't been able to solve these.

I'm running on macOS 14.5 on a macbook pro with an M1 Max chip, using blender daily build, and my kitsu setup is on an ubuntu server machine

1. blender_kitsu "Project Root Directory"

In @nick's bcon23 talk he set the blender_kitsu "Project Root Directory" pref to the /svn/ dir.

image

This makes sense but when I finish my edit file, and all is synced with my kitsu server, when i create a new shot file based on one of the sequence/shots, a new svn dir is generated within what i assume is the project root dir, which is set to my svn dir, you can see in my tree below data/test-project/svn/svn/pro/shots/...:

.
└── data
    └── test-project
        ├── local
        │   ├── artifacts
        │   │   └── addons
        │   │       ├── blender_studio_add-ons_latest.zip.files
        │   │       └── blender_studio_add-ons_latest.zip.sha256
        │   ├── blender
        │   │   └── ...
        │   ├── config
        │   │   ├── bookmarks.txt
        │   │   ├── platform_support.txt
        │   │   ├── recent-files.txt
        │   │   ├── recent-searches.txt
        │   │   └── userpref.blend
        │   └── scripts
        │       └── addons
        │           └── ...
        ├── render
        ├── shared
        │   ├── artifacts
        │   │   ├── addons
        │   │   │   └── ...
        │   │   └── blender
        │   │       └── ...
        │   └── editorial
        │       └── footage
        │           ├── frames
        │           └── shots
        └── svn
            ├── edit
            │   ├── pipeline_test_file-edit-v001.blend
            │   └── assets
            │       ├── BL_proxy
            │       │   └── pipeline_test_file-storyboard.mov
            │       └── pipeline_test_file-storyboard.mov
            ├── pro
            │   └── edit
            ├── svn
            │   └── pro
            │       └── shots
            │           └── SEQ_001
            │               └── 001_0010
            │                   └── 001_0010-layout.blend
            └── tools
                ├── consistency_check.py
                ├── folder_structure.json
                ├── init_project_folder_structure.py
                ├── install_desktop_file.sh
                ├── launch_blender_mac.command
                ├── launch_blender_win.bat
                ├── rollback_blender.py
                ├── run_blender.py
                ├── run_blender_previous.py
                ├── update_addons.py
                └── update_blender.py

2. Shot Builder Actions

Similarly to point 1, these buttons also duplicate the svn dir when the "Project Root Directory" is set to <>/svn/

image

these result in generation of:

  • /svn/svn/pro/config/shot_builder/hooks.py
  • /svn/svn/pro/config/shot_builder/settings.json
  • /svn/svn/pro/config/shot_builder/templates

3. Other blender_kitsu pref settings

Here is a screenshot of my current blender_kitsu prefs:

image

Some questions about these fields:

  • Project Root Directory: (question 1 above)
  • Shot Playblasts: I set it to ./shared/editorial/footage/shots/, according to @nick's talk
  • Sequence Playblasts: This one wasn't in nick's talk and i haven't found anywhere in the docs that mentions what path this should be set to
  • Rendered Frames: i am thinking this should be ./shared/editorial/footage/frames/ but not sure if it should instead be something in the ./frames/ dir

4. Shot Builder / Edit Export offsets

Is the 101 frame offset just a strategy for padding out the beginning of a file just in case an animation needs to be stretched leftward? That would make sense and seems like a good idea, just wanted to make sure that it wasn't a leftover setting from project gold or something

5. init_project_folder_structure.py

Great to have this script. Only question here:

When i run <>/scripts/project-tools/init_project_folder_structure.py <project dir> followed by ./update_addons.py I initially get the error Ensure script is run out of Project Tools directory /Users/main/Blender/test-project/shared/artifacts/addons does not exist. obvious easy fix, add the addons dir in shared/artifacts but seems it would make sense to have shared/artifacts/addons generated from ./update_addons.py. I'd be happy to write a pull request for this, just lmk if that is the intended behavior

6. Kitsu Context: Type == Edit

image

I can't find what the Edit field is supposed to align with in Kitsu. Is this something I'm supposed to set in Kitsu first?

7. userpref.blend

What is the intended behavior for setting up and altering userpref.blend if I am using the daily build launched with ./run_blender.py? is the idea that I launch blender with the script and then open this file, set up all of my preferences and then those preferences will be loaded with all future sessions launched from the script?

8. "TV Show" kitsu project type

One last question: is there an ideal dir structure for kitsu productions set to "TV Show" type? Ideally i can have assets in a single folder that all episodes can share. Kitsu has the "Main Pack" option for assets. Ideally i could have a dir for the "tv show" with directories for each episode where individual local/shared/svn dirs exist. is there a structure where "Main Pack" assets should be stored instead of in /svn/pro/assets

Again, would be super happy and excited to contribute in any way I can, I think blender studio and this project are incredible

I'm having so much fun getting this whole pipeline set up and I love what you all are building. I think i've run into a few potential issues. I have gone thru all the pipeline docs many times and have watched @nick's bcon23 "Blender Studio Pipeline - Editorial Workflow" talk many times but haven't been able to solve these. I'm running on macOS 14.5 on a macbook pro with an M1 Max chip, using blender daily build, and my kitsu setup is on an ubuntu server machine ## 1. blender_kitsu "Project Root Directory" In @nick's bcon23 talk he set the blender_kitsu "Project Root Directory" pref to the `/svn/` dir. ![image](/attachments/033e9366-0bbd-4b77-b7e7-f62e4c0fc6fa) This makes sense but when I finish my edit file, and all is synced with my kitsu server, when i create a new shot file based on one of the sequence/shots, a new svn dir is generated within what i assume is the project root dir, which is set to my svn dir, you can see in my tree below `data/test-project/svn/svn/pro/shots/...`: ``` . └── data └── test-project ├── local │ ├── artifacts │ │ └── addons │ │ ├── blender_studio_add-ons_latest.zip.files │ │ └── blender_studio_add-ons_latest.zip.sha256 │ ├── blender │ │ └── ... │ ├── config │ │ ├── bookmarks.txt │ │ ├── platform_support.txt │ │ ├── recent-files.txt │ │ ├── recent-searches.txt │ │ └── userpref.blend │ └── scripts │ └── addons │ └── ... ├── render ├── shared │ ├── artifacts │ │ ├── addons │ │ │ └── ... │ │ └── blender │ │ └── ... │ └── editorial │ └── footage │ ├── frames │ └── shots └── svn ├── edit │ ├── pipeline_test_file-edit-v001.blend │ └── assets │ ├── BL_proxy │ │ └── pipeline_test_file-storyboard.mov │ └── pipeline_test_file-storyboard.mov ├── pro │ └── edit ├── svn │ └── pro │ └── shots │ └── SEQ_001 │ └── 001_0010 │ └── 001_0010-layout.blend └── tools ├── consistency_check.py ├── folder_structure.json ├── init_project_folder_structure.py ├── install_desktop_file.sh ├── launch_blender_mac.command ├── launch_blender_win.bat ├── rollback_blender.py ├── run_blender.py ├── run_blender_previous.py ├── update_addons.py └── update_blender.py ``` ## 2. Shot Builder Actions Similarly to point 1, these buttons also duplicate the svn dir when the "Project Root Directory" is set to `<>/svn/` ![image](/attachments/3379e2a3-67d7-4f3d-b011-24c51c5ec071) these result in generation of: - `/svn/svn/pro/config/shot_builder/hooks.py` - `/svn/svn/pro/config/shot_builder/settings.json` - `/svn/svn/pro/config/shot_builder/templates` ## 3. Other blender_kitsu pref settings Here is a screenshot of my current blender_kitsu prefs: ![image](/attachments/9cdae2ef-38b8-44da-b477-3e70e5f9670e) Some questions about these fields: - **Project Root Directory**: (question 1 above) - **Shot Playblasts**: I set it to `./shared/editorial/footage/shots/`, according to @nick's talk - **Sequence Playblasts**: This one wasn't in nick's talk and i haven't found anywhere in the docs that mentions what path this should be set to - **Rendered Frames**: i am thinking this should be `./shared/editorial/footage/frames/` but not sure if it should instead be something in the `./frames/` dir ## 4. Shot Builder / Edit Export offsets Is the 101 frame offset just a strategy for padding out the beginning of a file just in case an animation needs to be stretched leftward? That would make sense and seems like a good idea, just wanted to make sure that it wasn't a leftover setting from project gold or something ## 5. init_project_folder_structure.py Great to have this script. Only question here: When i run `<>/scripts/project-tools/init_project_folder_structure.py <project dir>` followed by `./update_addons.py` I initially get the error `Ensure script is run out of Project Tools directory /Users/main/Blender/test-project/shared/artifacts/addons does not exist`. obvious easy fix, add the `addons` dir in `shared/artifacts` but seems it would make sense to have `shared/artifacts/addons` generated from `./update_addons.py`. I'd be happy to write a pull request for this, just lmk if that is the intended behavior ## 6. Kitsu Context: Type == Edit ![image](/attachments/b907d3c8-47ac-425d-8a7e-7ba5274560fd) I can't find what the `Edit` field is supposed to align with in Kitsu. Is this something I'm supposed to set in Kitsu first? ## 7. userpref.blend What is the intended behavior for setting up and altering userpref.blend if I am using the daily build launched with `./run_blender.py`? is the idea that I launch blender with the script and then open this file, set up all of my preferences and then those preferences will be loaded with all future sessions launched from the script? ## 8. "TV Show" kitsu project type One last question: is there an ideal dir structure for kitsu productions set to "TV Show" type? Ideally i can have assets in a single folder that all episodes can share. Kitsu has the "Main Pack" option for assets. Ideally i could have a dir for the "tv show" with directories for each episode where individual local/shared/svn dirs exist. is there a structure where "Main Pack" assets should be stored instead of in `/svn/pro/assets` Again, would be super happy and excited to contribute in any way I can, I think blender studio and this project are incredible
tone-watson changed title from Directory Structure issues and/or quesetions to Directory Structure issues and/or questions 2024-05-31 06:03:46 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio-pipeline#306
No description provided.