read and print macromesh