# Usage ## First use Before creating your first project, Odin needs some information: - A path to the directory that will contain your projects - (Optional) A directory that contain the scripts for the DCCs When running Odin for the first time, a pop-up will ask you to specify a project path. ```{eval-rst} .. note: You can cancel it, but another pop-up will ask you if you are sure to cancel. ``` Now the project path is specified, you can create as many projects as you want. ## Update Odin If an update is available, a message box will show up asking you if you want to download the new version of Odin. You can abort the update and say the software you don't want to be reminded about future updates. You can tell Odin to check about new beta updates by checking the option in the `Update` tab. > The preferences are in `odin/config/config_file.yaml` file created at the first use of Odin. ## Tools for DCCs Odin is capable of loading an environment for each DCCs that support Python scripting. These scripts can be downloaded or created. For both of these situations, I recommend you to have a repository that follows the example bellow: *Example:* ```yaml - 📂 : the folder that contains the repositories - 📦 : Root folder of the repository - 📂: Package folder that contains your scripts - __init__.py: Required file - .py: Python script that should follow PEP8, black and flake8 conformations - 📂docs: optional - 📄 .gitignore: - 📄 README.md: Documentation of your repository ``` To specify the tools' path containing the repositories, you need to open Odin. Go into the `Config` tab, click on `Set tools path...` and specify the folder that contains your tools. ```{eval-rst} .. tip:: If you work in a production, the configuration should be set by the dev department. ``` ```{eval-rst} .. _change_config: ``` ## Change configuration Odin provide a configuration file containing the path of each software it can launch. Here is the list: * Maya 2019 * ZBrush 2020.1.1 FL * Houdini 18.5.596 * Substance Designer & Painter (Allegorithmic) * Mari 4.6v3 * Photoshop 2021 * NukeX 12.2v4 * Guerilla Render * Resolve Some software has its version in the path. You can change it to follow the version you have on your computer by editing the `software_config.yaml` file. ```{eval-rst} .. warning:: Be aware that any modification can result to unusable software launching feature ``` To do so: * Go inside the Odin folder * In `odin/config`, open the file `software_config.yaml` with a text editor (Notepad++ preferably) * Replace the cwd and exe path by seeing the example bellow ```{eval-rst} .. tip:: The cwd is the path folder that contain all the files needed for the software to work properly. The exe is the executable file path of the software. ``` *Base:* ```yaml houdini: cwd: C:\Program Files\Side Effects Software\Houdini 18.5.596 exe: C:\Program Files\Side Effects Software\Houdini 18.5.596\bin\houdini.exe ``` *Edited:* ```yaml houdini: cwd: D:\DCC\Houdini\Houdini 18.0.432 exe: D:\DCC\Houdini\Houdini 18.0.432\bin\houdini.exe ``` ```{eval-rst} .. note:: Make sure you keep the indent for each line and the space between `cwd:` (or `exe:`) and the path ``` ## Tree overview ```yaml : IN: PREPROD: STORYBOARD: DESIGN: SCENARIO: REFS: FILMING: CONFO: EXR: PROXY: DOCS: PHOTOS: HDRI: MAKING_OF: RUSH: PREVIZ: : DATA: FILM: EDITING: VERSION: _EDIT_. PUBLISH: _EDIT. SEQ: : : ANIMATION: VERSION: _ANIM_. PUBLISH: _ANIM. LIGHTING: VERSION: _LIGHTING_. PUBLISH: _LIGHTING. COMPOSITING: CACHE: VERSION: _COMPO_. PUBLISH: _COMPO. FX: CACHE: _FX_CACHE. VERSION: _FX_. PUBLISH: _FX. PREVIZ: SCENES: VERSION: _PREVIZ. MEDIA: LIB: PUBLISH: SET: : MOD: HD: _HD.obj LD: _LD.obj SHD: __.exr FX: : . CHARA: : MOD: HD: _HD.obj LD: _LD.obj SHD: ___RIG.ma PROPS: : MOD: HD: _HD.obj LD: _LD.obj SHD: __.exr RIG: _RIG.ma SET: : MOD: SCENE: VERSION: _SET_. PUBLISH: _SET. SHD: TEXTURES: VERSION: : __. PUBLISH: __. SCENE: VERSION: _SHD_. PUBLISH: _SHD. FX: : CACHEFILES: . SCENES: VERSION: _FX_. PUBLISH: _FX. CHARA: : MOD: SCENE: VERSION: _MOD_. PUBLISH: _MOD. SHD: TEXTURES: VERSION: : __. PUBLISH: __. SCENE: VERSION: _SHD_. PUBLISH: _SHD. RIG: SCENE: VERSION: _RIG_.ma PUBLISH: _RIG.ma PROPS: : MOD: SCENE: VERSION: _MOD_. PUBLISH: _MOD. SHD: TEXTURES: VERSION: : __. PUBLISH: __. SCENE: VERSION: _SHD_. PUBLISH: _SHD. RIG: SCENE: VERSION: _RIG_.ma PUBLISH: _RIG.ma OUT: SEQ: : : ANIMATION: _ANIM.abc LIGHTING: _LIGHTING.exr COMPOSITING: _COMPO.exr FX: _FX. AUDIO: VERSION: _AUDIO_. PUBLISH: _AUDIO. EDITING: VERSION: _EDIT_. PUBLISH: _EDIT. DAILIES: COMMUNICATION: PACKAGE_1: PACKAGE_2: PACKAGE_3: PACKAGE_4: PACKAGE_5: TMP: ```