I learned how to make a pineapple last week. The way I learned is basically the same as what you have shown, only the square was not cut into triangles before sewing them on. After sewing the two pieces together, mark an X from corner to corner, then cut and press open. It's a pretty neat thing once you have it made.