Boundary surface from 3d grid frame

I want to make a boundary surface with 3d grid curves like a picture;
frame.3dm (226.8 KB)


below is an example picture.
123