Create a 3D mesh from sparse spaced 2D segmentation

Can you provide the data, a subset of the data, and/or a more thorough description of the data?

In particular I don’t understand this every 20th slice annotation business.

If it’s volumetric analysis, you’d likely want to do everything using volumetric algorithms. I suspect generating points would produce data much too large for responsive performance.