Search found 216 matches

by ascotan
Wed Jan 31, 2007 8:14 pm
Forum: Python
Topic: script error doesn't make sense
Replies: 1
Views: 2166

The error says that the module b2cs has not method called rloopparse.

Since the script is importing b2cs at the top it should be working.

Maybe the b2cs.py file you have is out of date?
by ascotan
Wed Jan 31, 2007 8:11 pm
Forum: Python
Topic: CAN SOMEONE HELP ME ASAP PLEASE, I'M STUCK !
Replies: 6
Views: 3444

ochensati wrote: I have downloaded version 2.5 of python and installed it on my windows machine
Compiled with Python version 2.4.
'import site' failed.......


Hmm.....
by ascotan
Wed Jan 31, 2007 8:10 pm
Forum: Python
Topic: Animating Skeleton
Replies: 2
Views: 2772

The armature model is used to set the rest pose. The pose and action modules are used to keyframe. You need to create an action and bind it to the object. They you need to use the Pose module to set the position of each bone, advancing the scene's framenumber as you go. Then when you're satisfied yo...
by ascotan
Wed Jan 31, 2007 8:04 pm
Forum: News & Chat
Topic: Arguments for Blender's Design
Replies: 11
Views: 6084

Since blender is an open-source project maybe it would make a nice proposal for a C coder?

Improvements to the blender plug-in system?
by ascotan
Fri Jan 26, 2007 4:38 pm
Forum: News & Chat
Topic: Making Blender in Java
Replies: 53
Views: 36140

Java is a clunky application language. Have you ever run a java desktop application? a - slow startup times b - non-native looking interface c - widget delay times It's bad enough trying to get artists to figure out how to install python on windows. Think about what it would be like trying to get th...
by ascotan
Fri Jan 26, 2007 3:54 pm
Forum: Python
Topic: What bones are animated in an action?
Replies: 3
Views: 2400

The only bones animated in an Action can be obtained by looking at the Actionchannels in the Action. Only those bones with actionchannels in the Action are animated. Once we go back to b-con1 i have some code that will allow you to get the actionchannels from the Actions. Then you can loop them by n...
by ascotan
Wed May 17, 2006 4:39 pm
Forum: Python
Topic: Armature.Bone - deformDist
Replies: 6
Views: 4841

I think I see. The bones are drawn through the drawing code based on a type. This is not really a propery of the bone. The bone's properties are it's matrix and head and tail position and the draw type. You could probably calculate the 3D geometry based on the draw type by looking at the armature dr...
by ascotan
Tue May 16, 2006 6:37 pm
Forum: Python
Topic: Armature.Bone - deformDist
Replies: 6
Views: 4841

The deform distance IS the envelope size. (Well its the distance all around the bone things will get deformed.
by ascotan
Tue May 16, 2006 6:27 pm
Forum: Python
Topic: How Mesh data + Displacement Data = Animation?
Replies: 1
Views: 2537

Maybe you can use an armature and some actions to do the animation.
There is a Mathtuils.slerp() method that maybe will help doing the interpolation.
by ascotan
Mon May 15, 2006 11:41 pm
Forum: Python
Topic: Armature.Bone - deformDist
Replies: 6
Views: 4841

my guess is you'll need to do something like this:

print myArmature.bones['Bone.001'].deformDist
by ascotan
Wed Apr 26, 2006 4:33 pm
Forum: Python
Topic: Weird Blender crash
Replies: 7
Views: 5406

Submit it as a bug. Please include a .blend file that illustrates the problem.
by ascotan
Fri Jan 27, 2006 5:24 pm
Forum: Python
Topic: bone matrices - bind pose <-> current frame
Replies: 30
Views: 18352

Guys sorry I haven't been too responsive here. Lately I've been swamped with RL work and haven't had a breather yet. TY so much for taking interest in this module and the comments/bugs that have been posted. This really does help (me at least). however things like inverting a matrix that that the ma...
by ascotan
Mon Jan 23, 2006 4:47 am
Forum: Python
Topic: bone matrices - bind pose <-> current frame
Replies: 30
Views: 18352

your not supposed to write to the pose matrix because the posematrix is calculated. It is calculated from the localMatrix (which is a (delta) tranformation from rest pose), the armature_space bone matrix and any currently applied constraints. I'll def have to check into any weird behaviors of pose m...
by ascotan
Sat Jan 21, 2006 5:40 pm
Forum: Python
Topic: bone matrices - bind pose <-> current frame
Replies: 30
Views: 18352

The poseMatrix property takes constraints into account i believe. The localMatrix property is only a (delta) transformation matrix from rest.
by ascotan
Fri Jan 13, 2006 3:57 am
Forum: Python
Topic: Bone roll value and BONE-/ARMATURESPACE?
Replies: 3
Views: 3536

No bug. The internal values stored for roll are localspace to the bone. The roll used in the UI is the parented roll. This is the value you will use in regular animation.