create shelf manager definition for houdini in openpype project settings

This commit is contained in:
Thomas Fricard 2022-08-09 13:17:06 +02:00
parent 078bcb3b8e
commit 5b559fd28d
3 changed files with 107 additions and 1 deletions

View file

@ -1,4 +1,25 @@
{
"shelves": [
{
"shelf_set_name": "OpenPype Shelves",
"shelf_set_source_path": "/path/to/your/shelf_set_file",
"shelf_definition": [
{
"shelf_name": "OpenPype Shelf",
"shelf_file_path": "/path/to/your/shelf_file",
"tools_list": [
{
"name": "OpenPype Tool",
"filepath": "/path/to/your/tool_file",
"script": "/path/to/your/tool_script",
"icon": "/path/to/your/icon",
"help": "Help message for your tool"
}
]
}
]
}
],
"create": {
"CreateArnoldAss": {
"enabled": true,

View file

@ -5,6 +5,10 @@
"label": "Houdini",
"is_file": true,
"children": [
{
"type": "schema",
"name": "schema_houdini_scriptshelf"
},
{
"type": "schema",
"name": "schema_houdini_create"
@ -28,4 +32,4 @@
]
}
]
}
}

View file

@ -0,0 +1,81 @@
{
"type": "list",
"key": "shelves",
"label": "Shelves Manager",
"is_group": true,
"use_label_wrap": true,
"object_type": {
"type": "dict",
"children": [
{
"type": "text",
"key": "shelf_set_name",
"label": "Shelf Set Name"
},
{
"type": "path",
"key": "shelf_set_source_path",
"label": "Shelf Set Path",
"multipath": true,
"multiplatform": true
},
{
"type": "list",
"key": "shelf_definition",
"label": "Shelves",
"use_label_wrap": true,
"object_type": {
"type": "dict",
"children": [
{
"type": "text",
"key": "shelf_name",
"label": "Shelf Name"
},
{
"type": "text",
"key": "shelf_file_path",
"label": "Shelf File Path"
},
{
"type": "list",
"key": "tools_list",
"label": "Tools",
"use_label_wrap": true,
"object_type": {
"type": "dict",
"children": [
{
"type": "text",
"key": "name",
"label": "Name"
},
{
"type": "text",
"key": "filepath",
"label": "File Path"
},
{
"type": "text",
"key": "script",
"label": "Script"
},
{
"type": "text",
"key": "icon",
"label": "Icon"
},
{
"type": "text",
"key": "help",
"label": "Help"
}
]
}
}
]
}
}
]
}
}