I google quite a bit on that can’t seems to find anything relevant to get me started with python UI programming…
Anyone have some good resource(s) or tutorial(s) available to get me started with UI programming in Blender v2.5?
TIA
Cheers,
I google quite a bit on that can’t seems to find anything relevant to get me started with python UI programming…
Anyone have some good resource(s) or tutorial(s) available to get me started with UI programming in Blender v2.5?
TIA
Cheers,
Hi,
as a new in blender scripting, you should look at existing scripts to understand the code and try to modify it before you go for a new script !
For UI design, it’s quite easy, you can “call” any operator and add icons, buttons, sliders and more depending of the function you want to improve…
bye
can you point out any scripts with complicated gui’s?
http://blenderartists.org/forum/showthread.php?t=164765&highlight=icon&page=3
http://www.blender.org/documentation/250PythonDoc/bpy.types.UILayout.html?highlight=uilayout#bpy.types.UILayout
all scripts in the scripts/ui folder and the script templates in blenders text editor are all good resources.
http://www.blender.org/documentation/blender_python_api_2_55_0/
the API, everything is in there.
I did the first two scripts consider in the UI category
http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/UI/Gestures:_Split_and_Join_Area
http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/UI/Gestures:_Swap_Area
it’s more important to figure out what you want to do, then search the API and check templates.