reading and changing ipo curves with python?


(haunt_house) #1

Hi

Is it possible to use the ipo curve of a bone to manipulate a speed ipo or RVK ipo and how? Could solve a biiiig problem.

Thanks very much

Haunt_house


(haunt_house) #2

was this such a stupid question :frowning:

sniff


(theeth) #3

I don’t think you can access Bone IPOs with 2.23. Maybe in 2.25, but I don’t know for sure.

Martin


(haunt_house) #4

Thank you, Martin, but… :-?

can I acess another object’s rotation IPO, control with that the RVK percentage IPO, and then copy the object’s rotation with a constraint to the bone?

I need to combine a RVK wit a bone’s rotation. I do not want to do this all twice by hand.

On the other hand, I would like to use the convenience of the actions window.

Heaven, do I really have to write a script, where I place empties at all three major joints of the arm and then calculate the angle through their coordinates? :o

I have almost no clue about python :frowning:

HH


(theeth) #5

Yes, you can do that. I don’t know precisly how, but you can do it.

Martin


(haunt_house) #6

well I would be satisfied, if I knew how to access an ipocurve.

I normally access a rotation with the lines:

import Blender

curve=Blender.Object.Get(“Curve”)
x=curve.RotX

How do I do this with an Ipo curve?

HH


(eeshlo) #7

Look at other scripts that manipulate IPO’s, the ICARUS script does this too, maybe it is useful to learn from.