-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated load_from_configuration function
- Loading branch information
Showing
3 changed files
with
187 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,105 @@ | ||
{"Animation": [{"title" : "Script A", | ||
[ | ||
{ | ||
"title": "Animation", | ||
"type": "menu", | ||
"items": [ | ||
{ | ||
"title": "Script A", | ||
"tooltip": "Script A", | ||
"command": "$SCRIPTMENU/script_a.py", | ||
"sourcetype": "file", | ||
"tags": ["test", "script", "cluster"], | ||
"tags": [ | ||
"test", | ||
"script", | ||
"cluster" | ||
], | ||
"icon": "$SCRIPTMENU/resources/script_a.png", | ||
"label": "SCR A"}, | ||
{"title" : "Script B", | ||
"label": "SCR A" | ||
}, | ||
{ | ||
"title": "Script B", | ||
"tooltip": "Run script B", | ||
"command": "$SCRIPTMENU/script_b.py", | ||
"sourcetype": "file", | ||
"tags": ["test", "script", "curves"]}, | ||
{"title" : "Script C", | ||
"tags": [ | ||
"test", | ||
"script", | ||
"curves" | ||
] | ||
}, | ||
{ | ||
"title": "Script C", | ||
"tooltip": "Run script C", | ||
"command": "$SCRIPTMENU/script_c.py", | ||
"sourcetype": "file", | ||
"tags": ["test", "script", "joints"], | ||
"icon": ""} | ||
], | ||
|
||
"Modeling": [{"title" : "Script A", | ||
"tooltip": "Run script A", | ||
"command": "$SCRIPTMENU/script_a.py", | ||
"sourcetype": "file", | ||
"tags": ["test", "script", "model", "blendshapes"]}, | ||
{"title" : "Script B", | ||
"tooltip": "Run script B", | ||
"command": "$SCRIPTMENU/script_b.py", | ||
"sourcetype": "file", | ||
"tags": ["test", "script", "normals", "model"]}, | ||
{"title" : "Script C", | ||
"tooltip": "Run script C", | ||
"command": "$SCRIPTMENU/script_c.py", | ||
"sourcetype": "file", | ||
"tags": ["math", "power", "sum"]} | ||
], | ||
|
||
"Rigging": [{"title" : "Script A", | ||
"tooltip": "Run script A", | ||
"command": "$SCRIPTMENU/script_a.py", | ||
"sourcetype": "file", | ||
"tags": ["test", "tool", "rig", "skeleton"]}, | ||
{"title" : "Script B", | ||
"tooltip": "Run script A", | ||
"command": "$SCRIPTMENU/script_b.py", | ||
"sourcetype": "file", | ||
"tags": ["test", "script", "cloth", "rig", "setup"]}, | ||
{"title" : "Script C", | ||
"tooltip": "Run script C", | ||
"command": "$SCRIPTMENU/script_c.py", | ||
"sourcetype": "file", | ||
"tags": ["test", "script", "approval"]} | ||
], | ||
|
||
"MEL": [{"title" : "Create cube", | ||
"tooltip": "Launch character rigging tool", | ||
"command": "polyCube -w 1 -h 1 -d 1;", | ||
"sourcetype": "mel", | ||
"tags": ["test", "script", "mel"]} | ||
"tags": [ | ||
"test", | ||
"script", | ||
"joints" | ||
], | ||
"icon": "" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"title": "Modeling", | ||
"type": "menu", | ||
"items": [ | ||
{ | ||
"type": "action", | ||
"title": "Script A", | ||
"tooltip": "Run script A", | ||
"command": "$SCRIPTMENU/script_a.py", | ||
"sourcetype": "file", | ||
"tags": [ | ||
"test", | ||
"script", | ||
"model", | ||
"blendshapes" | ||
] | ||
}, | ||
{ | ||
"type": "action", | ||
"title": "Script B", | ||
"tooltip": "Run script B", | ||
"command": "$SCRIPTMENU/script_b.py", | ||
"sourcetype": "file", | ||
"tags": [ | ||
"test", | ||
"script", | ||
"normals", | ||
"model" | ||
] | ||
}, | ||
{ | ||
"type": "action", | ||
"title": "Script C", | ||
"tooltip": "Run script C", | ||
"command": "$SCRIPTMENU/script_c.py", | ||
"sourcetype": "file", | ||
"tags": [ | ||
"math", | ||
"power", | ||
"sum" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "menu", | ||
"title": "MEL", | ||
"items": [ | ||
{ | ||
"title": "Create cube", | ||
"tooltip": "Launch character rigging tool", | ||
"command": "polyCube -w 1 -h 1 -d 1;", | ||
"sourcetype": "mel", | ||
"tags": [ | ||
"test", | ||
"script", | ||
"mel" | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,46 @@ | ||
{ | ||
"Launcher": [ | ||
[ | ||
{ | ||
"title": "Echo command", | ||
"tooltip": "Test print", | ||
"command": "print('I am a tool launcher!')", | ||
"sourcetype": "python", | ||
"tags": ["test", "script", "echo", "command"] | ||
}, | ||
{"title": "Echo second command", | ||
"tooltip": "Test print", | ||
"command": "print('I am a tool killer!')", | ||
"sourcetype": "python", | ||
"tags": ["test", "script", "echo", "command"] | ||
}, | ||
{"title": "Launch script A", | ||
"tooltip": "Test launcher", | ||
"command": "$SCRIPTMENU/script_a.py", | ||
"sourcetype": "file", | ||
"tags": ["test", "script", "launch"] | ||
"title":"Launcher", | ||
"type": "menu", | ||
"items": [ | ||
{ | ||
"type": "action", | ||
"title": "Echo command", | ||
"tooltip": "Test print", | ||
"command": "print('I am a tool launcher!')", | ||
"sourcetype": "python", | ||
"tags": [ | ||
"test", | ||
"script", | ||
"echo", | ||
"command" | ||
] | ||
}, | ||
{ | ||
"type": "action", | ||
"title": "Echo second command", | ||
"tooltip": "Test print", | ||
"command": "print('I am a tool killer!')", | ||
"sourcetype": "python", | ||
"tags": [ | ||
"test", | ||
"script", | ||
"echo", | ||
"command" | ||
] | ||
}, | ||
{ | ||
"type": "action", | ||
"title": "Launch script A", | ||
"tooltip": "Test launcher", | ||
"command": "$SCRIPTMENU/script_a.py", | ||
"sourcetype": "file", | ||
"tags": [ | ||
"test", | ||
"script", | ||
"launch" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |