2.5 equivalent to GetRawFromObject ?

Hi all,

I want to port an old script that convert frame by frame shape keys to real
mesh - a kind of make dupliframes real

This was done with GetRawFromObject()

Does anyone knows how to get raw mesh from animation ?




I believe it is just considered the data portion of the object.

myMesh = myObject.data

This, of course, assumes that myObject is a mesh type object and not a curve or other type object.

There is also another way to get the mesh with the modifier stack applied.

well yes and then have to apply a bunch of matrices to it I guess …

and be careful as ‘object.create_mesh’ is now ‘object.to_mesh’ as you can see here

yep, thanks, to_mesh() is working fine