well can I ? It appears that only simple translation, rotation, scaling type IPOs can be created with the python api. Is there a work-around, short of splitting the mesh into pieces and animating each polygon individually ?
you can change the mesh, but you can't mess with vertex keys
look at the Mesh or NMesh modules for info on the former
(I've only used NMesh, don't know about Mesh)
you may want to go with a scriptlink, and a check in your code for what frame it is...
yeh, i've used (n)mesh to change my mesh's vertices, now I want to insert vertex keys programmatically because the mesh I have generated needs to be linked to information in my own objects for the animation to proceed. So far I have struck a compromise: the code updates the mesh, changes the current, start and end frames and then I click 'anim' myself on a frame-by-frame basis.
What I really want is to have my code insert vertex keys as the mesh is animated by the code, then I have a proper blender animation to play with, as it is I can't even find a way to click the 'render' or 'anim' buttons programmatically.
...I should add that I did find someone's code on the elysiun forums which was able to modify existing vertex keys but not add new ones. So I tried that, adding some blank vertex keys to my generated mesh while the script was running, then having the script attempt to modify them by altering the mesh. The problem is that as soon as .update() is invoked it seems that existing vertex keys as removed.