Save single mesh function.