Search found 20 matches

by willian
Tue Oct 12, 2004 7:38 am
Forum: Python
Topic: Scripts awards at the next Blender Conference
Replies: 0
Views: 1923

Scripts awards at the next Blender Conference

Hi, This year the Suzanne award will also be given to the best script. At this thread on elysiun we'll collect your suggestions until this Friday, October 15th: http://www.elysiun.com/forum/viewtopic.php?t=31727 If you're not registered there it's ok to post suggestions here. Pasting the info writte...
by willian
Sun Aug 15, 2004 2:59 am
Forum: Python
Topic: Managing bundled scripts (important)
Replies: 4
Views: 24004

Managing bundled scripts (important)

Hi, (also posted on elYsiun: http://www.elysiun.com/forum/viewtopic.php?t=29108 ) Now that many scripts are packaged with Blender itself, we will need an organized effort to maintain and update / upgrade the selection. We'd like to discuss with you all to find the best way to do this. The basic idea...
by willian
Fri Apr 23, 2004 3:21 pm
Forum: Testing Builds
Topic: bf-blender Linux-glibc2.2.5-python2.3 (20040421)
Replies: 14
Views: 7155

Hi guys, Thanks a lot for the debug info, that really helps. Ok, indeed this looks like initialization trouble, something changed from python 2.2 to 2.3 and it affects module initialization order, seemingly -- worse: varies depending on platform and even distro. Just a guess, though... I made furthe...
by willian
Fri Apr 23, 2004 7:38 am
Forum: Testing Builds
Topic: bf-blender Linux-glibc2.2.5-python2.3 (20040421)
Replies: 14
Views: 7155

Hi, Those who still get crashes on startup can help us a lot if they copy these lines to a file called debug.txt, put it at blender's dir and run there a one-line command, as explained in the file contents below (note it's not an executable file, the command to execute is written in step 2): # --- h...
by willian
Wed Jan 21, 2004 12:16 am
Forum: Python
Topic: New: Scripts now accessible from menus
Replies: 13
Views: 5682

When I make a mistake when programming a script, for example: If i comment for example one of the globals in the draw function out, and try to execute the script, blender completely freezes, whereas the latest official blender build (2.31a), blender would give an error message in the console. The o...
by willian
Tue Jan 20, 2004 7:55 am
Forum: Python
Topic: New: Scripts now accessible from menus
Replies: 13
Views: 5682

[Edit: Original warning removed]:

Thanks Michel, for fixing my typos to the correct way: "#!BPY", on the first msg in this thread : ).

--
Willian
by willian
Tue Jan 20, 2004 6:14 am
Forum: Python
Topic: New: Scripts now accessible from menus
Replies: 13
Views: 5682

Hey : ) The trailing slash problem should be gone now in cvs, my fault. About a default dir for scripts, it was already the plan and is now implemented: ~/.blender/scripts is the default that will come with 2.32. The program will check both the default dir and (if set) the user defined scripts dir, ...
by willian
Mon Jan 19, 2004 6:04 am
Forum: Python
Topic: New: Scripts now accessible from menus
Replies: 13
Views: 5682

New: Scripts now accessible from menus

Hi all, Finally there's a way to register scripts in Blender menus: - Set you scripts dir in Blender: Info Window -> File Paths -> Scripts; - Put your registering-enabled scripts in that dir. To be registered, a script must: - be in the right dir (see above) and have a filename ending in '.py'; - an...
by willian
Sat Jan 17, 2004 6:26 am
Forum: Python
Topic: Problem running blender\intern\python\blendermodule\test.py
Replies: 5
Views: 3132

Hi Chris, That first script you tried is for an older incarnation of Blender Python. There were pieces of at least three different APIs in the source when it was freed (and you can find scripts for each of them still on the net). The stable, current one is mostly compatible with Blender since 2.25 a...
by willian
Sat Jan 17, 2004 6:08 am
Forum: Python
Topic: vertices of bone deformation
Replies: 6
Views: 3579

Hi entropi, Did you try NMesh.GetRawFromObject ? It gets the display list mesh, so it should include bone deformation. See that (out of edit mode) your model is in the pose you want, then try that bpython function. If it doesn't work, we can investigate better, there have been recent additions / imp...
by willian
Sat Jan 03, 2004 5:56 pm
Forum: Python
Topic: SubSurf not being set
Replies: 2
Views: 2109

Hi Sutabi,

You have to 'update' or 'putraw' the nmesh for the changes to take effect. I should have mentioned this at the docs, will do for the next version, thanks.

--
IanWill
by willian
Mon Aug 25, 2003 12:54 am
Forum: Python
Topic: Python Doc
Replies: 2
Views: 2804

Hi, The reference docs still need at least some cleanup and a unified look (Michel, Jacques and I wrote/maintain them -- each taking care of different modules -- also using pieces of older docs), but of course we'd be happy to offer them to the Blender Documentation effort. I also plan to write a ge...
by willian
Mon Aug 25, 2003 12:29 am
Forum: Python
Topic: How do i access the 3d cursor ?
Replies: 16
Views: 6049

Hi, I'm one of the guys working on the bpython api. Access to the cursor position is a good idea. We'll try to add support for it, probably something like Draw.GetCursorPos() ...

Thanks,

Martin: view vector -- probably the current camera matrix can be used to get that.

--
Willian
by willian
Sun Jul 27, 2003 10:24 pm
Forum: Python
Topic: converting a Blender210 script to 2.28
Replies: 2
Views: 2898

Your "mesh.verts" is a list of NMVert objects, so you first need to create each NMVert: newvert = Blender.NMesh.Vert(x, y, z) and then you can add/insert each newvert in mesh.verts BTW: since you got an existing mesh with NMesh.GetRaw(), unless you want to create a new object, you don't *have* to us...
by willian
Sat Jul 26, 2003 9:45 pm
Forum: Python
Topic: Python export: no texture filenames
Replies: 3
Views: 3878

Hi,

Blender 2.28 has this feature: Image objects (check the Image module) have a .filename member var and a .getFilename() method to retrieve it, so both

var = my_img.filename
#and
var = my_img.getFilename()

can give you what you want.

--
Willian