|
|||||||
![]() |
|
|
Thread Tools |
|
|||
|
Hi.
I'm writing on some kind of API wrapper for blenders script-UI-functionallity. To get this UI: <obsolete> (Note: you can scroll the long text ether by the two buttons "UP" and "DOWN" or by mousweel) you have just to write that code: <obsolete> I use this (an older version of it) in TerryNoise allready and will release a more complete version tomorrow or in a few days. Things I maybe add to ScriptUI:
|
|||
|
#1
|
|||
|
|
|
|||
|
Ok, the WidgetList isn't scrollable or collapsable, maybe there will follow such a WidgetList someday. But with the rest I'm happy.
Following example script produces following GUI: <obsolete> <obsolete> You can download ScriptUI here. |
|||
|
#2
|
|
|||
|
New version of ScriptUI!
Changelog: version 0.4 19.07.2005
Download: ScriptUI 0.4 (zip, 7 KB) I also added a right-click menu to the example-code: <obsolete> |
|||
|
#3
|
|
||||
|
Thanks panzi. This is is really great.
............................................
“Blender, Alternative 3D” -Itchy render fingers |
||||
|
#4
|
|
|||
|
Quote:
![]() Here is a new version of ScriptUI. It's API is not compatible to the old version. Don't expect the API to be frozen bevore version 1.0-final. (and don't ever expect a 1.0-final version )Changelog:
Download: ScriptUI 0.5 (zip, 20KB) |
|||
|
#5
|
|
|||
|
Update to version 0.6 (26.07.2005):
Changelog:
Download:
Example: Following GUI is produced by following script: ![]() Code:
|
|||
|
#6
|
|
|||
|
Update to version 0.6.1 (27.07.2005):
Changelog:
Download:
|
|||
|
#7
|
|
|||
|
Update to version 0.6.2 (06.09.2005):
Changelog:
Download:
|
|||
|
#8
|
|
|||
|
whoa, a long time span between your updates
maybe i will use this in the future
............................................
My Blog in Chinese. You can add comments in Chinese or English. Hope you like it. |
|||
|
#9
|
|
|||
|
i think this, or something like this, should become a part of the official distribution. so that many scripts could use it then.
has this been used by others already? any observations by script authors? comments by bf-python admins? ~Toni |
|||
|
#10
|
|
|||
|
Quote:
![]() But the main reason is, I have other work to do. Quote:
Quote:
![]() But the download rate ist'n very high (if my blog count's it correctly, I dunno if the counter is surpased by the link here): 0.6.2: none 0.6.1: 38 downloads 0.6: none 0.5: none 0.4: none 0.3: none |
|||
|
#11
|
|
||||
|
I am happy as it is I downloaded 6.2 a few times so maybe yur counter is broken? Anyways, even if this isn't developed any more I cant seem myself without this script.
............................................
______________________________________ Developing the imagination of art. |
||||
|
#12
|
|
|||
|
Quote:
~Toni |
|||
|
#13
|
|
|||
|
well now i need a gui, and decided to give this wrapper a shot. so far it seems great! made some changes, do you think these make sense:
if no parent is given for a eventmanager.SomeWidget() factory, the eventmanager.root is used by default. i just made all the factories look like this: Code:
Code:
Code:
~Toni |
|||
|
#14
|
|
|||
|
It's cool that so many use my little wrapper!
![]() Quote:
This behavior could also be achieved by making such rootless widgets invisible instead. But this way was easyer in my TerryNoiseUI. ![]() Anyway, there should be more widgets, e.g. a colapsable list similar to the list used in blender for object-constraints and some kind of option-field would also be nice. A Scrollbar to scroll through a list or text would be great, but I don't know how to do this with blenders API. Well maybe... (thinking) maybe there is a way. I will work on ScriptUi when ever I have time and when ever I feel like it. In the summer I had other work to do and now the uni begins again, so I dunno how much time I will have. But I'm almost certain when it comes to learning for the test, I will feel like working on ScriptUI (as allways).
|
|||
|
#15
|
|
|||
|
surely the non-parenting way that you needed can be preserved as an option. i guess that'd be ok?
dunno how the ui programming things in blender will go, hopefully in some good direction.. ~Toni |
|||
|
#16
|
|
|||
|
Am I to understand that this script is a GUI contruction kit? One thing I did note is the text in the screen shot that said use mousewheel to scroll. If this would be possible to put into the interface of various scripts it would make my life using blender a lot easier. I am stuck with and 800X600 screen on my laptop and often when I run a script in my standard 3 3d windows,script window and the button window at the bottom the top of some scripts interface gets cut off.
|
|||
|
#17
|
|
||||
|
If there is every a chance of spear time, It would be cool to have bitmap buttons ^_-, im sure that probably out the question though hehe.
............................................
______________________________________ Developing the imagination of art. |
||||
|
#18
|
|
|||
|
Quote:
|
|||
|
#19
|
|
|||
|
Update to version 0.6.3+0.6.3a (17.02.2006):
Changelog:
Download:
New Testcode: Code:
Made a bugfix, thanks to jms.
|
|||
|
#20
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|