I don’t think rebuilding a mesh into a single surface is the way to go.
Your application has been discussed before: Refit Mesh Object to new shape - #13 by DanielPiker
I don’t think rebuilding a mesh into a single surface is the way to go.
Your application has been discussed before: Refit Mesh Object to new shape - #13 by DanielPiker