I have created a blender exporter for my 3d file format in python. Everything worked great until i scaled my mesh. The exported vertices are same as they were before scaling. How can i get scaled vertices or at least the scaling factor of the object, so i could export it with scaling.
objs = Blender.Object.GetSelected() for obj in objs: if obj.getType() == "Mesh": out.write("submesh_begin. ") mesh = obj.getData(mesh=1) for vert in mesh.verts: out.write("v %f %f %f "%(vert.co.x, vert.co.y, vert.co.z))