I need to export shape key data as full separate meshes (including normals, UV textures, etc.)
The idea was to apply shape keys sequentally to the mesh and export its data, but that doesn’t work
for some reason.
node.active_shape_key_index = 0 for shape in node.data.shape_keys.key_blocks: shape.value = 1.0 node.data.update() #here we actually export mesh data from node.data ... #shape.value = 0 node.data.update() print("Shape key", shape.name) node.active_shape_key_index += 1
But I see that all exported data are the same, while meshes are named properly.
This script leaves shape keys applied in Blender GUI, so it seems to work somehow, but exported data is not changed.