Generate shapes.txt