I’m new to Blender and Python. I made an animation from Plane mesh using Armature, now i want to export coordinates of all vertices each frame. But it seems nothing change, every vertex show same position as frame 1 (base mesh).
This is code which i used:
import bpy obj = bpy.data.objects["Plane"] mesh = bpy.data.meshes["Plane"] start_frame = 0 end_frame = 40 for f in range(start_frame, end_frame): bpy.context.scene.frame_set(f) # Iterate over vertices for v in mesh.vertices: print(obj.matrix_world * v.co)
any help would be highly appreciated :). Thanks