I have a set of meshes. I have another set of curves, where the coordinates of some of the vertices have been changed. I need to deconstruct the meshes and construct them again using the same faces and the new vertices. I can’t manage to find a proper sorting method. I need to bypass the use of plugins such as Weaver Bird.

to construct the mesh you Need the verticies. These are Points. you got curves, which are defined by 2 Points.
So I don’t know any solution for that. But how did you create the curves? May there’s a way in a few steps before.
For exmaple, If you deconstruct your mesh, and than move the Points and than create mesh afterwards, it should be no problem

Now it still Looks weired, but that’s because you moved the boundary verticies up, und beneath there is a “quad” strcucture, so when moving one of them Points, you get some edges like on the Picture.

If you want the mesh to be “extruded”, so the walls have the same “boundary” at top and bottom, you could filter for the naked edges, Project them at your top curve, and create “new” meshes out of it.

Construct mesh_V2_re.gh (1.3 MB)
That’s the Definition of the last Picture, just deleted your middle part.
Or you want the Definition for the idea in the end ?

Very strange behaviour. If I copy your definition it works. If i recreate it step by step it doesn’t. What version of Rhino and Grasshopper do you use?