Search found 17 matches

by M_i_c_h_e_l
Thu Mar 09, 2006 11:14 am
Forum: Python
Topic: fileselector / imageselector
Replies: 0
Views: 1517

fileselector / imageselector

Hello, is there a way to determine whether the user canceled the file- or imageselector? The usage seems simple: import Blender; from Blender import * selected_file = None def CallbackFnc(filename): print "Callback:", filename global selected_file selected_file = filename Window.FileSelector(Callbac...
by M_i_c_h_e_l
Wed Sep 14, 2005 11:38 am
Forum: Python
Topic: Please confirm memory leak
Replies: 8
Views: 4042

OK - i knew the issue with the garbage collector already (but nevertheless thanks for pointing this out again) The thing was - memory *never* got freed again on my machine - even if Blender was completely idle. I had to restart Blender every 5 minutes when using a script that made extensive use of t...
by M_i_c_h_e_l
Thu Sep 08, 2005 4:54 pm
Forum: Python
Topic: Please confirm memory leak
Replies: 8
Views: 4042

Ok - noticed the same behaviour in Tuhopuu3 builds also
I posted a bug report...

Michael
by M_i_c_h_e_l
Wed Sep 07, 2005 4:38 pm
Forum: Python
Topic: Please confirm memory leak
Replies: 8
Views: 4042

A hint: better to use xrange() when hunting for leaks ... Thanks for the tip - doesn't make a difference though. Memory is still going up and up and up, ... ... if I recall, python 2.3 has bugs like this that are fixed in python 2.4 ... I also have Python 2.4 installed. Just tested with a bf-build ...
by M_i_c_h_e_l
Wed Sep 07, 2005 1:19 pm
Forum: Python
Topic: Please confirm memory leak
Replies: 8
Views: 4042

Please confirm memory leak

Hi all! I'm on WinXP prof. and i think i've discovered a severe memory leak in the Mathutils module for the Blender testing builds. It seems like all memory reserved from constructors and expressions returning a new python object is never freed again. Try this little script: import Blender; from Ble...
by M_i_c_h_e_l
Fri Jul 08, 2005 5:00 pm
Forum: Animation
Topic: delete actions?
Replies: 2
Views: 15696

Wow - thanks!

Didn't know about this Shift-F4-thing. :shock: Cool - i'm learning something new about blender every day...

Nevertheless - a 'F' button in the action editor would be nice to switch 'F'-ing on and off from there.

Michael
by M_i_c_h_e_l
Fri Jul 08, 2005 2:34 pm
Forum: Animation
Topic: delete actions?
Replies: 2
Views: 15696

delete actions?

Maybe i'm too stupid - but is there actually a way to delete actions permanently :?: If you have an armature and insert some keyframes in posemode, a new action is created automatically. You can then modify the individual action channels in the action window (or the ipos in the ipo window). This way...
by M_i_c_h_e_l
Thu Mar 24, 2005 1:50 pm
Forum: Python
Topic: Fill Mesh problem
Replies: 7
Views: 6955

Wauw! Why do I see this only now? All blender keystrokes can be captured into a macro? Yep - well not really all... If a command can be invoked by a hotkey you can use this method. But there's one catch: If the command opens a popup or submenu you cannot sent commands to it (at least i don't know h...
by M_i_c_h_e_l
Thu Mar 24, 2005 11:28 am
Forum: Python
Topic: Fill Mesh problem
Replies: 7
Views: 6955

Hi buschhardt! The problen is that Blender can only create faces with 3 or 4 vertices. If you have an n-Gon to fill you can select all vertices of the n-Gon and press shift-F. This fills the n-Gon with triangles. After that you can press F again to combine all these triangles to a Blender n-Gon (all...
by M_i_c_h_e_l
Tue Dec 07, 2004 5:00 pm
Forum: Python
Topic: Python Tablet support: PyTablet v1.0b
Replies: 0
Views: 1492

Python Tablet support: PyTablet v1.0b

Hello all! I thought i'd post here as well: Finally, i got a new version of PyTablet out: v1.0b This version is customizable and thus should be independent of your tablet's technical specs. Documentation is also available (although most of the functions still haven't got docstrings - shame on me...)...
by M_i_c_h_e_l
Tue Apr 20, 2004 2:16 pm
Forum: Python
Topic: Armature bones and roll
Replies: 3
Views: 2040

Probably i can help you out

Hi kaynine! I have code here that might help you. It's beta-state of a possible (future) armature implementation for MakeHuman - not decided yet. Also be aware that Python access for armature and bone manipulation is still subject to change! Here you can get a sneek preview. My code is too long to p...
by M_i_c_h_e_l
Tue Mar 02, 2004 1:50 pm
Forum: Python
Topic: MakeHuman armature-animation
Replies: 2
Views: 2191

This is great news - thanks harkyman!
I looked into the Blender source myself already (a bit at least) but i don't really know where to start... And i don't have enough time at the moment to get any deeper into it.
Michael
by M_i_c_h_e_l
Tue Mar 02, 2004 11:32 am
Forum: Python
Topic: MakeHuman armature-animation
Replies: 2
Views: 2191

MakeHuman armature-animation

Hello all! MakeHuman is reaching a state at which we are thinking about integration of motion-capture data. For the next step we plan to implement an armature-system (first pieces of the supporting source code for Blender were recently published by Bob Holcomb - thanks Bob!) and armature-animation u...
by M_i_c_h_e_l
Fri Jan 23, 2004 12:25 pm
Forum: Python
Topic: Object.Layer - bug?
Replies: 2
Views: 1868

Thanks for your reply tuinbels! Yes I did try that - with "0" and with a "1" as argument - no luck. Also did Blender.Redraw and Window.redrawAll - same result. But I figured it out myself yesterday: It's possible to change the Layer-values before linking the object to the scene. So you have to creat...
by M_i_c_h_e_l
Thu Jan 22, 2004 3:58 pm
Forum: Python
Topic: Object.Layer - bug?
Replies: 2
Views: 1868

Object.Layer - bug?

Hi! Is it me or is there a bug with Object.Layer? I tried to move an object to a different layer within a script - but changing the value of Object.Layer does not affect anything. The object is still where it was before... Accessing the value again afterwards with Object.Get(_name_of_my_object_).Lay...