getting transformations from an ini file for animating

Hey guys.

First of all, i’ve never coded in python or anything else accept the game maker language. I like to keep it simple :slight_smile:

Now, i’ve got an ini file containing transformations i want to apply to my model, as a way of animating it. So basically my question is: how do i do it?

This is what the ini file looks like (example):

[frame 0]
object1_xrot = 130
object1_zrot = 40
[frame 5]
object1_xrot = 74
object1_ypos = 5
object2_ypos = -5

So right now it’s first x, y, z rotation, then x, y, z position, and final x, y, z scale.
The [frame …] are off course the corresponding keyframes.
Untouched transformations are not in the file, as a way of saving out memory.
I can easily make changes to the structure, if that makes it easier.

So can anyone help me getting these values into blender?
Thanks in advance :slight_smile:

(ps i’m new to this forum, so if i did something wrong, please forgive me :slight_smile:
edit: allready saw i did something wrong. is it possible to move your topic somehow?
and if so, where should i move it to?)