Constraints module (was: [Bf-python] Looking for a project)
Gilbert, Joseph T.
jgilbert at tigr.ORG
Wed Apr 26 02:23:46 CEST 2006
No they should accessible from the object. If your going to write the
constraints module I suggest you take a look at the work that I posted
to the mailing list some time back.
-----Original Message-----
From: bf-python-bounces at projects.blender.org
[mailto:bf-python-bounces at projects.blender.org] On Behalf Of Ken Hughes
Sent: Tuesday, April 25, 2006 6:05 PM
To: Blender Foundation Python list
Subject: Constraints module (was: [Bf-python] Looking for a project)
Martin Poirier wrote:
>
> --- Ken Hughes <khughes at pacific.edu> wrote:
>
>>Seems like this has been in the works for a while...
>>is pidhash on this
>>ML? I wouldn't mind helping or taking over this as
>>necessary, although
>>I haven't used armatures.
>>
>>General question; are armature constraints just a
>>special case of
>>general Object constraints (i.e., the Constraint
>>panel under Object
>>buttons)? Or is there a different interface for
>>setting armature
>>constrints I don't know of?
>
> It's a special case:
> - The constraint is not stored in the same location
> (struct wise)
> - Certain constraints are armature only (IK).
So Pose constraints are found (deep down) in the bPoseChannel struct of
ob->pose instead of ob->constraints. And only poses have IK or Action
constaints.... from what I can see in the source.
I assume the constraints for Poses should be accessible as a bone
attribute [sequence of constraints] as opposed to an object attribute?
Ken
_______________________________________________
Bf-python mailing list
Bf-python at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-python
More information about the Bf-python
mailing list