mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Temp storage
This commit is contained in:
parent
f8b7860d28
commit
6bcdc6de47
4 changed files with 75 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import os
|
|||
|
||||
import logging
|
||||
|
||||
from avalon import api as avalon, pipeline, houdini
|
||||
from avalon import api as avalon # pipeline, houdini
|
||||
from pyblish import api as pyblish
|
||||
|
||||
|
||||
|
|
@ -18,6 +18,7 @@ log = logging.getLogger("colorbleed.houdini")
|
|||
|
||||
|
||||
def install():
|
||||
|
||||
pyblish.register_plugin_path(PUBLISH_PATH)
|
||||
avalon.register_plugin_path(avalon.Loader, LOAD_PATH)
|
||||
avalon.register_plugin_path(avalon.Creator, CREATE_PATH)
|
||||
|
|
|
|||
5
res/houdini/123.py
Normal file
5
res/houdini/123.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
from colorbleed import houdini
|
||||
|
||||
houdini.install()
|
||||
|
||||
print("BANANA")
|
||||
46
res/houdini/MainMenuCommon.XML
Normal file
46
res/houdini/MainMenuCommon.XML
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mainMenu>
|
||||
<menuBar>
|
||||
<subMenu id="avalon_menu">
|
||||
<label>Avalon</label>
|
||||
|
||||
<scriptItem id="avalon_create">
|
||||
<label>Create ..</label>
|
||||
<scriptPath>$HOME/scripts/first_script.py</scriptPath>
|
||||
</scriptItem>
|
||||
|
||||
<scriptItem id="avalon_load">
|
||||
<label>Load ..</label>
|
||||
<scriptPath>$HOME/scripts/generic_script.py</scriptPath>
|
||||
<scriptArgs>-q -n camera</scriptArgs>
|
||||
</scriptItem>
|
||||
|
||||
<scriptItem id="avalon_manage">
|
||||
<label>Manage ..</label>
|
||||
<scriptPath>$HOME/scripts/generic_script.py</scriptPath>
|
||||
<scriptArgs>-q -n camera</scriptArgs>
|
||||
</scriptItem>
|
||||
|
||||
<scriptItem id="publish">
|
||||
<label>Publish ..</label>
|
||||
<expression>
|
||||
import hou
|
||||
from avalon.tools import publish
|
||||
|
||||
parent = hou.qt.mainWindow()
|
||||
run = publish.show(parent)
|
||||
|
||||
return True
|
||||
</expression>
|
||||
</scriptItem>
|
||||
|
||||
<separatorItem/>
|
||||
|
||||
<scriptItem id="pipeline_system">
|
||||
<label>System</label>
|
||||
<scriptPath>$HOME/scripts/generic_script.py</scriptPath>
|
||||
<scriptArgs>-q -n light</scriptArgs>
|
||||
</scriptItem>
|
||||
</subMenu>
|
||||
</menuBar>
|
||||
</mainMenu>
|
||||
22
res/houdini/houdini.env
Normal file
22
res/houdini/houdini.env
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#
|
||||
# Houdini Environment Settings
|
||||
#
|
||||
# The contents of this file are read into the environment
|
||||
# at startup. They will override any existing entries in
|
||||
# the environment.
|
||||
#
|
||||
# The syntax is one entry per line as follows:
|
||||
# VAR = VALUE
|
||||
#
|
||||
# Values may be quoted
|
||||
# VAR = "VALUE"
|
||||
#
|
||||
# Values may be empty
|
||||
# VAR =
|
||||
#
|
||||
|
||||
# Example:
|
||||
#
|
||||
# HOUDINI_NO_SPLASH = 1
|
||||
|
||||
HOUDINI_PATH = $COLORBLEED_CONFIG/res/houdini
|
||||
Loading…
Add table
Add a link
Reference in a new issue