|
|||||||
![]() |
|
|
Thread Tools |
|
||||
|
I finished the script I was writing to create GUI's for Python scripts.
You can obtain it here: www.restorides.com/~nerd/blender/gui_creator.py However, me and my family are moving in a few days, and our server will no longer be active, so I would apprieciate it if someone would put this script in their webspace also, and post a link here. Thanks! I hope you guys enjoy my script! Please post some feedback. Thanks! P.S. (Just thought, this probably should have been put under Python script development?) |
||||
|
#1
|
||||
|
|
|
|||
|
Thanks for the contribution
|
|||
|
#2
|
|
|||
|
I hate to see scripts dissappear so you got yourself a host.
http://www.angelfire.com/anime4/nuva...gui_creator.py MacBlender
............................................
Scottish 3D artist in canada... Always remember... Its a KILT! Not a Skirt! |
|||
|
#3
|
|
||||
|
Hi The_Nerd.
Cool script. Works great. Thanks for sharing. - Satish.
............................................
-------------------------------------------------------------------- ...imagine...create....express...share...enjoy... http://sites.google.com/site/satishgoda/blender It's a poor workman who blames his tools. |
||||
|
#4
|
|
||||
|
Thanks MacBlender! You rock!
Also thanks to every one else for your comments. Thanks to who ever moved this also, sorry to give you trouble!
|
||||
|
#5
|
|
||||
|
Neat GUI script you made! It definitly is a plus that it's platform-independant...
It's funny, I was just updating my windows-only script so that it could load and save projects. Then I come here and see your script and that it already has all that functionality Good work!
............................................
The vectors! The vectors are all wrong!!! |
||||
|
#6
|
|
||||
|
Sooo.... Can anyone help with mouse events? I know how to get the button events, is it possible to get the position to?
|
||||
|
#7
|
|
||||
|
Mouse position events are MOUSEX & MOUSEY, the value is then the x or y coordinate. This reminds me of the very first script of this kind lcreated long ago by NikolaTesla20, back in the days of blender.nl, called GUIwizard, it is even still online:
http://www.angelfire.com/nt/teklord/GUIWizard.htm It might still be useful with a rewrite.
............................................
There is no excellent beauty that hath not some strangeness in the proportion. Sir Francis Bacon (1561 - 1626) |
||||
|
#8
|
|
||||
|
EXCELLENT SCRIPT!
I knew RipSting's was looking great but since I'm on a linux box, couldn't enjoy it. Now, can I suggest a couple of things ? It would be nice to have an indicator that we are in Move/Scale modes or even disable add button until you leave the mode. I added a second object while having the first seletec and in Move mode, and I couldn't move/scale it until i got the first object out of Move mode. Congratulations, your script rocks !
............................................
My studio: http://www.licuadorastudio.com My blog: http://www.malefico3d.org My latest project: http://mercator.licuadorastudio.com |
||||
|
#9
|
|
|||
|
Quote:
MacBlender
............................................
Scottish 3D artist in canada... Always remember... Its a KILT! Not a Skirt! |
|||
|
#10
|
|
|||
|
Gui_creator lets Blender 2.33a and 2.34 crash.
Windows error window shows and says OPENGL32.dll error Why is this happening!!! |
|||
|
#11
|
|
||||
|
Quote:
............................................
The vectors! The vectors are all wrong!!! |
||||
|
#12
|
|
||||
|
My system also crashes with this .py script. (all other seem fine....) But I just need to know what it does, as I mentioned in another thread, I need a script to render and sort frames for 2d game animations. Can this be set up to do this?
............................................
Corporations don't need rights! They only need a level playing field to compete on. |
||||
|
#13
|
|
||||
|
Neat script. It crashes my windows box. Might be an OpenGL driver issue with winXP. Anyways. I noticed the scripts are not up any more. I've mirrored it here:
http://bane.servebeer.com/programmin...gui_creator.py Cheers, Bob |
||||
|
#14
|
|
||||
|
Sorry for all the people that get crashes... I'll see if I can find anything wrong. Well I am finally moved! So I think I will start working on the script again. Thanks for all the comments and suggestions.
Expect an updated GUI creator soon.
|
||||
|
#15
|
|
|||
|
Quote:
As an important note: At least on Windows 2k, MOUSEX AND MOUSEY are NOT relative to the script window (they are relative to all of Blender)!! This means that they are USELESS, unless you convert them, with the following lines of code: #First the size of the window. . . size= Buffer(GL_FLOAT, 4) size= size.list glGetFloatv(GL_SCISSOR_BOX, size) #THANKS TO Daniel Dunbar FOR THIS!!!!!! mousex = val - size[0] mousey = val - size[1] Hmm. . .you know, I wonder why that works. . .it does, I've tested it extensivly, but shouldn't you need to know the script window's x,y pos, not it's size? Of course, I'm not even sure what GL_SCISSOR_BOX is. . .I got this from the doc browser script. . . joeedh
............................................
see my animation/rigging blog at http://animateit.wordpress.com/ |
|||
|
#16
|
|
||||
|
MOUSEX and MOUSEY are relative to the whole blender window on all OSes.
GL_SCISSOR_BOX returns a 4 float list, the first two are X, Y position of the context (window) and the last two are width and height. Just a bad choice for the variable name. Martin
............................................
Life is what happens to you when you're busy making other plans. - John Lennon |
||||
|
#17
|
|
|||
|
Quote:
By the way. . .uhh. . .why is MOUSX/Y this way? Anyone plan to fix it anytime soon? My computer's (with its tuhopuu sourcebase) power supply just burnt out, so it'll be a while before I'll be able to do any Blender hacking. joeedh
............................................
see my animation/rigging blog at http://animateit.wordpress.com/ |
|||
|
#18
|
|
||||
|
Quote:
............................................
The vectors! The vectors are all wrong!!! |
||||
|
#19
|
|
|||
|
rip: i think he meant the whole relative to all of blender thing.
............................................
Scottish 3D artist in canada... Always remember... Its a KILT! Not a Skirt! |
|||
|
#20
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|