added ply saving option to shape