move resolve installation to admin section

This commit is contained in:
Milan Kolar 2021-05-10 12:33:38 +02:00
parent 552f091a77
commit 8ec82bea03
3 changed files with 107 additions and 96 deletions

View file

@ -0,0 +1,103 @@
---
id: admin_hosts_resolve
title: DaVinci Resolve Setup
sidebar_label: DaVinci Resolve
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
## Resolve requirements
Due to the way resolve handles python and python scripts there are a few steps required steps needed to be done on any machine that will be using OpenPype with resolve.
### Installing Resolve's own python 3.6 interpreter.
Resolve uses a hardcoded method to look for the python executable path. All of tho following paths are defined automatically by Python msi installer. We are using Python 3.6.2.
<Tabs
groupId="platforms"
defaultValue="win"
values={[
{label: 'Windows', value: 'win'},
{label: 'Linux', value: 'linux'},
{label: 'Mac', value: 'mac'},
]}>
<TabItem value="win">
`%LOCALAPPDATA%\Programs\Python\Python36`
</TabItem>
<TabItem value="linux">
`/opt/Python/3.6/bin`
</TabItem>
<TabItem value="mac">
`~/Library/Python/3.6/bin`
</TabItem>
</Tabs>
### Installing PySide2 into python 3.6 for correct gui work
OpenPype is using its own window widget inside Resolve, for that reason PySide2 has to be installed into the python 3.6 (as explained above).
<Tabs
groupId="platforms"
defaultValue="win"
values={[
{label: 'Windows', value: 'win'},
{label: 'Linux', value: 'linux'},
{label: 'Mac', value: 'mac'},
]}>
<TabItem value="win">
paste to any terminal of your choice
```bash
%LOCALAPPDATA%\Programs\Python\Python36\python.exe -m pip install PySide2
```
</TabItem>
<TabItem value="linux">
paste to any terminal of your choice
```bash
/opt/Python/3.6/bin/python -m pip install PySide2
```
</TabItem>
<TabItem value="mac">
paste to any terminal of your choice
```bash
~/Library/Python/3.6/bin/python -m pip install PySide2
```
</TabItem>
</Tabs>
<div class="row markdown">
### Set Resolve's Fusion settings for Python 3.6 interpereter
<div class="col col--6 markdown">
As it is shown in bellow picture you have to go to Fusion Tab and then in Fusion menu find Fusion Settings. Go to Fusion/Script and find Default Python Version and swith to Python 3.6
</div>
<div class="col col--6 markdown">
![Create menu](assets/resolve_fusion_tab.png)
![Create menu](assets/resolve_fusion_menu.png)
![Create menu](assets/resolve_fusion_script_settings.png)
</div>
</div>

View file

@ -1,7 +1,7 @@
---
id: artist_hosts_resolve
title: Blackmagic DaVinci Resolve
sidebar_label: Blackmagic DaVinci Resolve
title: DaVinci Resolve
sidebar_label: DaVinci Resolve
---
@ -214,96 +214,3 @@ Also important is to notice the asset name in *OpenPypeData* at marker - the nam
</div>
</div>
## Installation of Python and PySide
### Installing Resolve's own python 3.6 interpreter.
Resolve uses a hardcoded method to look for the python executable path. All of tho following paths are defined automatically by Python msi installer. We are using Python 3.6.2.
<Tabs
groupId="platforms"
defaultValue="win"
values={[
{label: 'Windows', value: 'win'},
{label: 'Linux', value: 'linux'},
{label: 'Mac', value: 'mac'},
]}>
<TabItem value="win">
`%LOCALAPPDATA%\Programs\Python\Python36`
</TabItem>
<TabItem value="linux">
`/opt/Python/3.6/bin`
</TabItem>
<TabItem value="mac">
`~/Library/Python/3.6/bin`
</TabItem>
</Tabs>
### Installing PySide2 into python 3.6 for correct gui work
OpenPype is using own window widget inside Resolve, for that reason PySide2 has to be installed into the python 3.6 (as explained above).
<Tabs
groupId="platforms"
defaultValue="win"
values={[
{label: 'Windows', value: 'win'},
{label: 'Linux', value: 'linux'},
{label: 'Mac', value: 'mac'},
]}>
<TabItem value="win">
paste to any terminal of your choice
```bash
%LOCALAPPDATA%\Programs\Python\Python36\python.exe -m pip install PySide2
```
</TabItem>
<TabItem value="linux">
paste to any terminal of your choice
```bash
/opt/Python/3.6/bin/python -m pip install PySide2
```
</TabItem>
<TabItem value="mac">
paste to any terminal of your choice
```bash
~/Library/Python/3.6/bin/python -m pip install PySide2
```
</TabItem>
</Tabs>
<div class="row markdown">
### Set Resolve's Fusion settings for Python 3.6 interpereter
<div class="col col--6 markdown">
As it is shown in bellow picture you have to go to Fusion Tab and then in Fusion menu find Fusion Settings. Go to Fusion/Script and find Default Python Version and swith to Python 3.6
</div>
<div class="col col--6 markdown">
![Create menu](assets/resolve_fusion_tab.png)
![Create menu](assets/resolve_fusion_menu.png)
![Create menu](assets/resolve_fusion_script_settings.png)
</div>
</div>

View file

@ -83,7 +83,8 @@ module.exports = {
type: "category",
label: "Integrations",
items: [
"admin_hosts_blender"
"admin_hosts_blender",
"admin_hosts_resolve"
],
},
{