Nikolatesla20's website stuff......
New Thing: Blender GUI Wizard!
This is a python script, written entirely in Blender python (no external modules necessary). It requires Blender 2.14. It's purpose is to make creating a python GUI in blender a lot easier for a developer, quite similar to a Dialog Editor in Visual C++, or the Forms Editor for Visual Basic. Just drop on your buttons, slider, toggles, etc, and set their properties, and save the file. It exports a Blender python script skeleton which will handle Blender's Python GUI for you, with all your elements as you set them up! All you need to do then is add your own program's functionality. Right now it exports as what I call a "basic" python file, which uses Global variables. In a future version I may expand it to wrap things into objects (which is much cleaner!). You will notice, for example, that the script itself is based off of objects, and because of this it is quite easily expandable. :)
Run the script in the text window with ALT+P.
Some screenshots here.....You add a button by just pressing a key. The keys are listed along the top of the window. In this screenshot, the "B -Save" is missing - it is in there now, in the python script though, so don't wonder why it doesn't show it. :) I didn't want to take the shots over again.
All Buttons, of course, contain the two elements "Label", and "ID". Label is just the text that is displayed on the button. ID is the name of the variable in code that the button will have. ID MUST NOT CONTAIN ILLEGAL CHARACTERS! My Wizard will still export it, but it will not run when you load the exported file! So keep the ID names free of special characters, etc. Programmers will know what I am talking about. You should name it something that makes the button easy to know what it does. For example, a Button with the label (text) that says "Save" could be called "SaveButton" for its ID. That makes it easy to find in the python code.
Remember, where you place the button in the Wizard window is where it will be placed in the exported python script. WYSIWYG!
SO, IMPORTANT!!!! When you save the file, it is actually a Python Script! A basic skeleton script for use in Blender! You can load the script into Blender and run it by moving the mouse into the text window, and pressing ALT+P. This will be YOUR Script which you "designed" with the wizard. :)
Well, that's about it I guess! Hope some of you find this useful. I worked hard on it! :)