Add exportPLY method