axis = q.axis
out_file.write("rotation", angle*180/math.pi, axis[0], axis[1], axis[2])
out_file.write("scale", o.scale[0], o.scale[1], o.scale[2])
axis = q.axis
out_file.write("rotation", angle*180/math.pi, axis[0], axis[1], axis[2])
out_file.write("scale", o.scale[0], o.scale[1], o.scale[2])