Profile Picture

Free Python Script for Creating a Custom Menu

Posted By jlittle 6 Months Ago
Rated 5 stars based on 2 votes.
Author
Message
jlittle
jlittle
Posted 6 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 1.5K, Visits: 11.9K
While watching KT's Robby python scripting videos (great vids by the way KT) I noticed that he had a lot of scripts for just the Robby project.
This got me thinking that there should be an easy way to create a menu or menus that you could easily select a script to run from.
Mainly, if in the future, you had a multitude of scripts and wanted an easy way to access them something like this would be handy. Especially for those scripts that become your goto favorites.
Now, most python programmers would not have a problem with this but not everyone is a python programmer.
In fact, even though I am a programmer, this is only my second python program (not counting Hello World BigGrin).

So, I created a this custom menu script that i have attached here. Just unzip into the OpenPlugin directory, configure and have fun.
The script is heavily commented with a menu example included and explained.

It is currently setup to load when iClone is started but if you rename the main.py file you can manually load it as needed.
You can even copy the folder to different names and have multiple custom menus available for manual loading.
Or, just use sub-menus for different groupings of scripts.

Here is an image of the example it comes configured with:


If anyone has any issues or suggestions for improvements please post them here.

Enjoy!

Jeff




See my CTA Tutorials on the YouTube channel CTAStepByStep
Check out EZColors for CTA. The easy way to change Render Styled (RS) colors.

Attachments
myCustomMenu_v100.zip (36 views, 5.00 KB)
SeanMac
SeanMac
Posted 6 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 354, Visits: 2.8K
Hi jeff

Thanks for that - that's thinking ahead.
sonic7
sonic7
Posted 6 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (6.6K reputation)Distinguished Member (6.6K reputation)Distinguished Member (6.6K reputation)Distinguished Member (6.6K reputation)Distinguished Member (6.6K reputation)Distinguished Member (6.6K reputation)Distinguished Member (6.6K reputation)Distinguished Member (6.6K reputation)Distinguished Member (6.6K reputation)

Group: Forum Members
Last Active: 38 minutes ago
Posts: 1.4K, Visits: 14.2K
Yes Jeff; great idea and very kind of you to offer this! ... Thankyou!  Smile

--------------------------------------------------------------------------------------------------------------------------------------------------------
Please be patient with me ..... I don't always 'get it' the first time 'round - not even the 2nd time! Sad  - yikes! ... 
MSI GT72VR Laptop, i7 4-Core 3.8 GHz 16GB RAM, Nvidia 1070, 8GB Vram Kinect V2 iClone-7.41  3DXChange Pro  CC-3 CT-8 Brekel Pro-Body Mocap  Popcorn FX  PopVideo  iRAY  Vegas Pro 16  Mixcraft 8.1 Pro




Reading This Topic