Merge branch 'develop' into feature/environments_in_settings

This commit is contained in:
iLLiCiTiT 2020-10-01 17:53:24 +02:00
commit 5944a6719a
139 changed files with 1237 additions and 27 deletions

View file

@ -1,6 +1,7 @@
from .settings import (
system_settings,
project_settings
project_settings,
environments
)
from pypeapp import (
Logger,
@ -55,6 +56,7 @@ from .lib import _subprocess as subprocess
__all__ = [
"system_settings",
"project_settings",
"environments",
"Logger",
"Anatomy",

View file

@ -1,5 +1,6 @@
import os
import sys
from uuid import uuid4
from avalon import api, io, harmony
from avalon.vendor import Qt
@ -8,8 +9,11 @@ import pyblish.api
from pype import lib
signature = str(uuid4())
def set_scene_settings(settings):
func = """function func(args)
func = """function %s_func(args)
{
if (args[0]["fps"])
{
@ -36,8 +40,8 @@ def set_scene_settings(settings):
)
}
}
func
"""
%s_func
""" % (signature, signature)
harmony.send({"function": func, "args": [settings]})
@ -107,15 +111,15 @@ def check_inventory():
outdated_containers.append(container)
# Colour nodes.
func = """function func(args){
func = """function %s_func(args){
for( var i =0; i <= args[0].length - 1; ++i)
{
var red_color = new ColorRGBA(255, 0, 0, 255);
node.setColor(args[0][i], red_color);
}
}
func
"""
%s_func
""" % (signature, signature)
outdated_nodes = []
for container in outdated_containers:
if container["loader"] == "ImageSequenceLoader":
@ -144,7 +148,7 @@ def application_launch():
def export_template(backdrops, nodes, filepath):
func = """function func(args)
func = """function %s_func(args)
{
var temp_node = node.add("Top", "temp_note", "NOTE", 0, 0, 0);
@ -179,8 +183,8 @@ def export_template(backdrops, nodes, filepath):
Action.perform("onActionUpToParent()", "Node View");
node.deleteNode(template_group, true, true);
}
func
"""
%s_func
""" % (signature, signature)
harmony.send({
"function": func,
"args": [
@ -221,12 +225,15 @@ def install():
def on_pyblish_instance_toggled(instance, old_value, new_value):
"""Toggle node enabling on instance toggles."""
func = """function func(args)
func = """function %s_func(args)
{
node.setEnable(args[0], args[1])
}
func
"""
harmony.send(
{"function": func, "args": [instance[0], new_value]}
)
%s_func
""" % (signature, signature)
try:
harmony.send(
{"function": func, "args": [instance[0], new_value]}
)
except IndexError:
print(f"Instance '{instance}' is missing node")

View file

@ -1,9 +1,11 @@
from .lib import (
system_settings,
project_settings
project_settings,
environments
)
__all__ = (
"system_settings",
"project_settings"
"project_settings",
"environments"
)

View file

@ -3,5 +3,6 @@
"PYTHONPATH": [
"{PYPE_SETUP_PATH}/repos/avalon-core/setup/blender",
"{PYTHONPATH}"
]
],
"CREATE_NEW_CONSOLE": "yes"
}

View file

@ -6,9 +6,9 @@
"PYPE_PROJECT_PLUGINS": "",
"STUDIO_SOFT": "{PYP_SETUP_ROOT}/soft",
"FFMPEG_PATH": {
"windows": "{VIRTUAL_ENV}/localized/ffmpeg_exec/windows/bin;{PYPE_SETUP_PATH}/vendor/ffmpeg_exec/windows/bin",
"darwin": "{VIRTUAL_ENV}/localized/ffmpeg_exec/darwin/bin:{PYPE_SETUP_PATH}/vendor/ffmpeg_exec/darwin/bin",
"linux": "{VIRTUAL_ENV}/localized/ffmpeg_exec/linux:{PYPE_SETUP_PATH}/vendor/ffmpeg_exec/linux"
"windows": "{VIRTUAL_ENV}/localized/ffmpeg_exec/windows/bin;{PYPE_SETUP_PATH}/vendor/bin/ffmpeg_exec/windows/bin",
"darwin": "{VIRTUAL_ENV}/localized/ffmpeg_exec/darwin/bin:{PYPE_SETUP_PATH}/vendor/bin/ffmpeg_exec/darwin/bin",
"linux": "{VIRTUAL_ENV}/localized/ffmpeg_exec/linux:{PYPE_SETUP_PATH}/vendor/bin/ffmpeg_exec/linux"
},
"DJV_PATH": {
"windows": [

View file

@ -0,0 +1,7 @@
{
"AVALON_PHOTOSHOP_WORKFILES_ON_LAUNCH": "1",
"PYTHONPATH": "{PYTHONPATH}",
"PYPE_LOG_NO_COLORS": "Yes",
"WEBSOCKET_URL": "ws://localhost:8099/ws/",
"WORKFILES_SAVE_AS": "Yes"
}

View file

@ -0,0 +1,8 @@
application_dir = "blender"
executable = "blender_2.80"
schema = "avalon-core:application-1.0"
label = "Blender"
label_variant = "2.80"
ftrack_label = "Blender"
icon = "app_icons/blender.png"
ftrack_icon = "{}/app_icons/blender.png"

View file

@ -0,0 +1,9 @@
application_dir = "blender"
executable = "blender_2.81"
schema = "avalon-core:application-1.0"
label = "Blender"
label_variant = "2.81"
icon = "app_icons/blender.png"
ftrack_label = "Blender"
ftrack_icon = '{}/app_icons/blender.png'

View file

@ -0,0 +1,9 @@
application_dir = "blender"
executable = "blender_2.82"
schema = "avalon-core:application-1.0"
label = "Blender"
label_variant = "2.82"
icon = "app_icons/blender.png"
ftrack_label = "Blender"
ftrack_icon = '{}/app_icons/blender.png'

View file

@ -0,0 +1,9 @@
application_dir = "blender"
executable = "blender_2.83"
schema = "avalon-core:application-1.0"
label = "Blender"
label_variant = "2.83"
icon = "app_icons/blender.png"
ftrack_label = "Blender"
ftrack_icon = '{}/app_icons/blender.png'

View file

@ -0,0 +1,9 @@
executable = "celaction_local"
schema = "avalon-core:application-1.0"
application_dir = "celaction"
label = "CelAction2D"
icon = "app_icons/celaction_local.png"
launch_hook = "pype/hooks/celaction/prelaunch.py/CelactionPrelaunchHook"
ftrack_label = "CelAction2D"
ftrack_icon = '{}/app_icons/celaction_local.png'

View file

@ -0,0 +1,8 @@
schema = "avalon-core:application-1.0"
application_dir = "shell"
executable = "celaction_publish"
label = "Celaction Shell"
icon = "app_icons/celaction.png"
[environment]
CREATE_NEW_CONSOLE = "Yes"

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
open -a blender $@

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
DIRNAME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
set >~/environment.tmp
if [ $? -ne -0 ] ; then
echo "ERROR: cannot write to '~/environment.tmp'!"
read -n 1 -s -r -p "Press any key to exit"
return
fi
open -a Terminal.app "$DIRNAME/harmony_17_launch"

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
source ~/environment.tmp
export $(cut -d= -f1 ~/environment.tmp)
exe="/Applications/Toon Boom Harmony 17 Premium/Harmony Premium.app/Contents/MacOS/Harmony Premium"
$PYPE_PYTHON_EXE -c "import avalon.harmony;avalon.harmony.launch('$exe')"

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
open /usr/bin/python3 --args $@

View file

@ -0,0 +1,9 @@
application_dir = "harmony"
label = "Harmony"
label_variant = "17"
ftrack_label = "Harmony"
schema = "avalon-core:application-1.0"
executable = "harmony_17"
description = ""
icon = "app_icons/harmony.png"
ftrack_icon = '{}/app_icons/harmony.png'

View file

@ -0,0 +1,8 @@
executable = "houdini_16"
schema = "avalon-core:application-1.0"
application_dir = "houdini"
label = "Houdini"
label_variant = "16"
ftrack_label = "Houdini"
icon = "app_icons/houdini.png"
ftrack_icon = '{}/app_icons/houdini.png'

View file

@ -0,0 +1,8 @@
executable = "houdini_17"
schema = "avalon-core:application-1.0"
application_dir = "houdini"
label = "Houdini"
label_variant = "17"
ftrack_label = "Houdini"
icon = "app_icons/houdini.png"
ftrack_icon = '{}/app_icons/houdini.png'

View file

@ -0,0 +1,8 @@
executable = "houdini_18"
schema = "avalon-core:application-1.0"
application_dir = "houdini"
label = "Houdini"
label_variant = "18"
ftrack_label = "Houdini"
icon = "app_icons/houdini.png"
ftrack_icon = '{}/app_icons/houdini.png'

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
maya_path = "/usr/autodesk/maya2016/bin/maya"
if [[ -z $PYPE_LOG_NO_COLORS ]]; then
$maya_path -file "$AVALON_LAST_WORKFILE" $@
else
$maya_path $@

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
maya_path = "/usr/autodesk/maya2017/bin/maya"
if [[ -z $AVALON_LAST_WORKFILE ]]; then
$maya_path -file "$AVALON_LAST_WORKFILE" $@
else
$maya_path $@

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
maya_path = "/usr/autodesk/maya2018/bin/maya"
if [[ -z $AVALON_LAST_WORKFILE ]]; then
$maya_path -file "$AVALON_LAST_WORKFILE" $@
else
$maya_path $@

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
maya_path = "/usr/autodesk/maya2019/bin/maya"
if [[ -z $AVALON_LAST_WORKFILE ]]; then
$maya_path -file "$AVALON_LAST_WORKFILE" $@
else
$maya_path $@

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
maya_path = "/usr/autodesk/maya2020/bin/maya"
if [[ -z $AVALON_LAST_WORKFILE ]]; then
$maya_path -file "$AVALON_LAST_WORKFILE" $@
else
$maya_path $@

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
gnome-terminal -e '/usr/local/Nuke11.3v5/Nuke11.3'

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
gnome-terminal -e '/usr/local/Nuke12.0v1/Nuke12.0'

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
gnome-terminal -e '/usr/local/Nuke11.3v5/Nuke11.3 --studio'

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
gnome-terminal -e '/usr/local/Nuke12.0v1/Nuke12.0 --studio'

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
gnome-terminal -e '/usr/local/Nuke11.3v5/Nuke11.3 -nukex'

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
gnome-terminal -e '/usr/local/Nuke12.0v1/Nuke12.0 -nukex'

View file

@ -0,0 +1,27 @@
application_dir = "maya"
default_dirs = [
"scenes",
"data",
"renderData/shaders",
"images"
]
label = "Autodesk Maya"
label_variant = "2016"
ftrack_label = "Maya"
schema = "avalon-core:application-1.0"
executable = "maya2016"
description = ""
icon = "app_icons/maya.png"
ftrack_icon = '{}/app_icons/maya.png'
[copy]
"{PYPE_MODULE_ROOT}/pype/resources/maya/workspace.mel" = "workspace.mel"
[environment]
MAYA_DISABLE_CLIC_IPM = "Yes" # Disable the AdSSO process
MAYA_DISABLE_CIP = "Yes" # Shorten time to boot
MAYA_DISABLE_CER = "Yes"
PYTHONPATH = [
"{AVALON_CORE}/setup/maya",
"{PYTHONPATH}"
]

View file

@ -0,0 +1,29 @@
application_dir = "maya"
default_dirs = [
"scenes",
"data",
"renderData/shaders",
"images"
]
label = "Autodesk Maya"
label_variant = "2017"
ftrack_label = "Maya"
schema = "avalon-core:application-1.0"
executable = "maya2017"
description = ""
icon = "app_icons/maya.png"
ftrack_icon = '{}/app_icons/maya.png'
[copy]
"{PYPE_MODULE_ROOT}/pype/resources/maya/workspace.mel" = "workspace.mel"
[environment]
MAYA_DISABLE_CLIC_IPM = "Yes" # Disable the AdSSO process
MAYA_DISABLE_CIP = "Yes" # Shorten time to boot
MAYA_DISABLE_CER = "Yes"
PYMEL_SKIP_MEL_INIT = "Yes"
LC_ALL= "C" # Mute color management warnings
PYTHONPATH = [
"{AVALON_CORE}/setup/maya",
"{PYTHONPATH}"
]

View file

@ -0,0 +1,15 @@
application_dir = "maya"
default_dirs = [
"renders"
]
label = "Autodesk Maya"
label_variant = "2018"
ftrack_label = "Maya"
schema = "avalon-core:application-1.0"
executable = "maya2018"
description = ""
icon = "app_icons/maya.png"
ftrack_icon = '{}/app_icons/maya.png'
[copy]
"{PYPE_MODULE_ROOT}/pype/resources/maya/workspace.mel" = "workspace.mel"

View file

@ -0,0 +1,15 @@
application_dir = "maya"
default_dirs = [
"renders"
]
label = "Autodesk Maya"
label_variant = "2019"
ftrack_label = "Maya"
schema = "avalon-core:application-1.0"
executable = "maya2019"
description = ""
icon = "app_icons/maya.png"
ftrack_icon = '{}/app_icons/maya.png'
[copy]
"{PYPE_MODULE_ROOT}/pype/resources/maya/workspace.mel" = "workspace.mel"

View file

@ -0,0 +1,15 @@
application_dir = "maya"
default_dirs = [
"renders"
]
label = "Autodesk Maya"
label_variant = "2020"
ftrack_label = "Maya"
schema = "avalon-core:application-1.0"
executable = "maya2020"
description = ""
icon = "app_icons/maya.png"
ftrack_icon = '{}/app_icons/maya.png'
[copy]
"{PYPE_MODULE_ROOT}/pype/resources/maya/workspace.mel" = "workspace.mel"

View file

@ -0,0 +1,17 @@
application_dir = "maya"
default_dirs = [
"scenes",
"data",
"renderData/shaders",
"images"
]
label = "Autodesk Maya 2019x64"
schema = "avalon-core:application-1.0"
executable = "mayabatch2019"
description = ""
[environment]
PYTHONPATH = [
"{AVALON_CORE}/setup/maya",
"{PYTHONPATH}"
]

View file

@ -0,0 +1,17 @@
application_dir = "maya"
default_dirs = [
"scenes",
"data",
"renderData/shaders",
"images"
]
label = "Autodesk Maya 2020x64"
schema = "avalon-core:application-1.0"
executable = "mayabatch2020"
description = ""
[environment]
PYTHONPATH = [
"{AVALON_CORE}/setup/maya",
"{PYTHONPATH}"
]

View file

@ -0,0 +1,17 @@
application_dir = "maya"
default_dirs = [
"scenes",
"data",
"renderData/shaders",
"images"
]
label = "Autodesk Maya 2016x64"
schema = "avalon-core:application-1.0"
executable = "mayapy2016"
description = ""
[environment]
PYTHONPATH = [
"{AVALON_CORE}/setup/maya",
"{PYTHONPATH}"
]

View file

@ -0,0 +1,17 @@
application_dir = "maya"
default_dirs = [
"scenes",
"data",
"renderData/shaders",
"images"
]
label = "Autodesk Maya 2017x64"
schema = "avalon-core:application-1.0"
executable = "mayapy2017"
description = ""
[environment]
PYTHONPATH = [
"{AVALON_CORE}/setup/maya",
"{PYTHONPATH}"
]

View file

@ -0,0 +1,17 @@
application_dir = "maya"
default_dirs = [
"scenes",
"data",
"renderData/shaders",
"images"
]
label = "Autodesk Maya 2018x64"
schema = "avalon-core:application-1.0"
executable = "mayapy2017"
description = ""
[environment]
PYTHONPATH = [
"{AVALON_CORE}/setup/maya",
"{PYTHONPATH}"
]

View file

@ -0,0 +1,17 @@
application_dir = "maya"
default_dirs = [
"scenes",
"data",
"renderData/shaders",
"images"
]
label = "Autodesk Maya 2019x64"
schema = "avalon-core:application-1.0"
executable = "mayapy2019"
description = ""
[environment]
PYTHONPATH = [
"{AVALON_CORE}/setup/maya",
"{PYTHONPATH}"
]

View file

@ -0,0 +1,17 @@
application_dir = "maya"
default_dirs = [
"scenes",
"data",
"renderData/shaders",
"images"
]
label = "Autodesk Maya 2020x64"
schema = "avalon-core:application-1.0"
executable = "mayapy2020"
description = ""
[environment]
PYTHONPATH = [
"{AVALON_CORE}/setup/maya",
"{PYTHONPATH}"
]

View file

@ -0,0 +1,5 @@
executable = "python"
schema = "avalon-core:application-1.0"
application_dir = "myapp"
label = "My App"
arguments = [ "-c", "import sys; from Qt import QtWidgets; if __name__ == '__main__':;\n app = QtWidgets.QApplication(sys.argv);\n window = QtWidgets.QWidget();\n window.setWindowTitle(\"My App\");\n window.resize(400, 300);\n window.show();\n app.exec_();\n",]

View file

@ -0,0 +1,8 @@
executable = "nuke10.0"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "Nuke"
label_variant = "10.0v4"
ftrack_label = "Nuke"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nuke11.0"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "Nuke"
label_variant = "11.0"
ftrack_label = "Nuke"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nuke11.2"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "Nuke"
label_variant = "11.2"
ftrack_label = "Nuke"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nuke11.3"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "Nuke"
label_variant = "11.3"
ftrack_label = "Nuke"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nuke12.0"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "Nuke"
label_variant = "12.0"
ftrack_label = "Nuke"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nukestudio10.0"
schema = "avalon-core:application-1.0"
application_dir = "nukestudio"
label = "NukeStudio"
label_variant = "10.0"
ftrack_label = "NukeStudio"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nukestudio11.0"
schema = "avalon-core:application-1.0"
application_dir = "nukestudio"
label = "NukeStudio"
label_variant = "11.0"
ftrack_label = "NukeStudio"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nukestudio11.2"
schema = "avalon-core:application-1.0"
application_dir = "nukestudio"
label = "NukeStudio"
label_variant = "11.2"
ftrack_label = "NukeStudio"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nukestudio11.3"
schema = "avalon-core:application-1.0"
application_dir = "nukestudio"
label = "NukeStudio"
label_variant = "11.3"
ftrack_label = "NukeStudio"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nukestudio12.0"
schema = "avalon-core:application-1.0"
application_dir = "nukestudio"
label = "NukeStudio"
label_variant = "12.0"
ftrack_label = "NukeStudio"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nuke.png'

View file

@ -0,0 +1,8 @@
executable = "nukex10.0"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "NukeX"
label_variant = "10.0"
ftrack_label = "NukeX"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nukex.png'

View file

@ -0,0 +1,8 @@
executable = "nukex11.0"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "NukeX"
label_variant = "11.0"
ftrack_label = "NukeX"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nukex.png'

View file

@ -0,0 +1,8 @@
executable = "nukex11.2"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "NukeX"
label_variant = "11.2"
ftrack_label = "NukeX"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nukex.png'

View file

@ -0,0 +1,8 @@
executable = "nukex11.3"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "NukeX"
label_variant = "11.3"
ftrack_label = "NukeX"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nukex.png'

View file

@ -0,0 +1,8 @@
executable = "nukex12.0"
schema = "avalon-core:application-1.0"
application_dir = "nuke"
label = "NukeX"
label_variant = "12.0"
ftrack_label = "NukeX"
icon = "app_icons/nuke.png"
ftrack_icon = '{}/app_icons/nukex.png'

View file

@ -0,0 +1,9 @@
executable = "photoshop_2020"
schema = "avalon-core:application-1.0"
application_dir = "photoshop"
label = "Adobe Photoshop"
label_variant = "2020"
icon = "app_icons/photoshop.png"
ftrack_label = "Photoshop"
ftrack_icon = '{}/app_icons/photoshop.png'
launch_hook = "pype/hooks/photoshop/prelaunch.py/PhotoshopPrelaunch"

View file

@ -0,0 +1,9 @@
executable = "premiere_pro_2019"
schema = "avalon-core:application-1.0"
application_dir = "premiere"
label = "Adobe Premiere Pro CC"
label_variant = "2019"
icon = "app_icons/premiere.png"
ftrack_label = "Premiere"
ftrack_icon = '{}/app_icons/premiere.png'

View file

@ -0,0 +1,10 @@
executable = "premiere_pro_2020"
schema = "avalon-core:application-1.0"
application_dir = "premiere"
label = "Adobe Premiere Pro CC"
label_variant = "2020"
launch_hook = "pype/hooks/premiere/prelaunch.py/PremierePrelaunch"
icon = "app_icons/premiere.png"
ftrack_label = "Premiere"
ftrack_icon = '{}/app_icons/premiere.png'

View file

@ -0,0 +1,12 @@
schema = "avalon-core:application-1.0"
application_dir = "python"
executable = "python"
label = "Python"
label_variant = "2"
icon = "app_icons/python.png"
ftrack_label = "Python"
ftrack_icon = '{}/app_icons/python.png'
[environment]
CREATE_NEW_CONSOLE = "Yes"

View file

@ -0,0 +1,12 @@
schema = "avalon-core:application-1.0"
application_dir = "python"
executable = "python3"
label = "Python"
label_variant = "3"
icon = "app_icons/python.png"
ftrack_label = "Python"
ftrack_icon = '{}/app_icons/python.png'
[environment]
CREATE_NEW_CONSOLE = "Yes"

View file

@ -0,0 +1,10 @@
executable = "resolve_16"
schema = "avalon-core:application-1.0"
application_dir = "resolve"
label = "BM DaVinci Resolve"
label_variant = "16"
launch_hook = "pype/hooks/resolve/prelaunch.py/ResolvePrelaunch"
icon = "app_icons/resolve.png"
ftrack_label = "BM DaVinci Resolve"
ftrack_icon = '{}/app_icons/resolve.png'

View file

@ -0,0 +1,7 @@
schema = "avalon-core:application-1.0"
application_dir = "shell"
executable = "shell"
label = "Shell"
[environment]
CREATE_NEW_CONSOLE = "Yes"

View file

@ -0,0 +1,9 @@
application_dir = "storyboardpro"
label = "Storyboard Pro"
label_variant = "7"
ftrack_label = "Storyboard Pro"
schema = "avalon-core:application-1.0"
executable = "storyboardpro_7"
description = ""
icon = "app_icons/storyboardpro.png"
ftrack_icon = '{}/app_icons/storyboardpro.png'

View file

@ -0,0 +1,10 @@
executable = "unreal"
schema = "avalon-core:application-1.0"
application_dir = "unreal"
label = "Unreal Editor"
label_variant = "4.24"
icon = "app_icons/ue4.png"
launch_hook = "pype/hooks/unreal/unreal_prelaunch.py/UnrealPrelaunch"
ftrack_label = "UnrealEditor"
ftrack_icon = '{}/app_icons/ue4.png'

View file

@ -0,0 +1,11 @@
set __app__="Blender"
set __exe__="C:\Program Files\Blender Foundation\Blender 2.80\blender.exe"
if not exist %__exe__% goto :missing_app
start %__app__% %__exe__% %*
goto :eof
:missing_app
echo ERROR: %__app__% not found in %__exe__%
exit /B 1

View file

@ -0,0 +1,11 @@
set __app__="Blender"
set __exe__="C:\Program Files\Blender Foundation\Blender 2.81\blender.exe"
if not exist %__exe__% goto :missing_app
start %__app__% %__exe__% %*
goto :eof
:missing_app
echo ERROR: %__app__% not found in %__exe__%
exit /B 1

View file

@ -0,0 +1,11 @@
set __app__="Blender"
set __exe__="C:\Program Files\Blender Foundation\Blender 2.82\blender.exe" --python-use-system-env
if not exist %__exe__% goto :missing_app
start %__app__% %__exe__% %*
goto :eof
:missing_app
echo ERROR: %__app__% not found in %__exe__%
exit /B 1

View file

@ -0,0 +1,11 @@
set __app__="Blender"
set __exe__="C:\Program Files\Blender Foundation\Blender 2.83\blender.exe" --python-use-system-env
if not exist %__exe__% goto :missing_app
start %__app__% %__exe__% %*
goto :eof
:missing_app
echo ERROR: %__app__% not found in %__exe__%
exit /B 1

View file

@ -0,0 +1,19 @@
set __app__="CelAction2D"
set __app_dir__="C:\Program Files (x86)\CelAction\"
set __exe__="C:\Program Files (x86)\CelAction\CelAction2D.exe"
if not exist %__exe__% goto :missing_app
pushd %__app_dir__%
if "%PYPE_CELACTION_PROJECT_FILE%"=="" (
start %__app__% %__exe__% %*
) else (
start %__app__% %__exe__% "%PYPE_CELACTION_PROJECT_FILE%" %*
)
goto :eof
:missing_app
echo ERROR: %__app__% not found in %__exe__%
exit /B 1

View file

@ -0,0 +1,3 @@
echo %*
%PYPE_PYTHON_EXE% "%PYPE_MODULE_ROOT%\pype\hosts\celaction\cli.py" %*

View file

@ -0,0 +1,13 @@
@echo off
set __app__="Harmony 17"
set __exe__="C:/Program Files (x86)/Toon Boom Animation/Toon Boom Harmony 17 Premium/win64/bin/HarmonyPremium.exe"
if not exist %__exe__% goto :missing_app
start %__app__% cmd.exe /k "python -c ^"import avalon.harmony;avalon.harmony.launch("%__exe__%")^""
goto :eof
:missing_app
echo ERROR: %__app__% not found in %__exe__%
exit /B 1

View file

@ -0,0 +1,13 @@
@echo off
set __app__="Houdini 16.0"
set __exe__="C:\Program Files\Side Effects Software\Houdini 16.0.621\bin\houdini.exe"
if not exist %__exe__% goto :missing_app
start %__app__% %__exe__% %*
goto :eof
:missing_app
echo ERROR: %__app__% not found in %__exe__%
exit /B 1

View file

@ -0,0 +1,13 @@
@echo off
set __app__="Houdini 17.0"
set __exe__="C:\Program Files\Side Effects Software\Houdini 17.0.459\bin\houdini.exe"
if not exist %__exe__% goto :missing_app
start %__app__% %__exe__% %*
goto :eof
:missing_app
echo ERROR: %__app__% not found in %__exe__%
exit /B 1

Some files were not shown because too many files have changed in this diff Show more