Converting meshes to instances
Whilst optimising a power station model, it became very time consuming to convert identical meshes to instances in Blender.
With an initial mesh selected, this script finds all other identical meshes within the scene and replaces them with an instance.
I did this by searching the scene for all other meshes with an equivalent surface area and number of vertices.
Once the scene is imported into Unreal Engine, this reduces the computational weight of the project.