How to join a set of non planar curves as seen here

hi.i have an issue joining this non planar closed curve as seen in to create a solid surface out of this ??please help.
eng.3dm (14.0 MB)

eng_sweep2.3dm (249.3 KB)

which command did you did you do it?

for the main surface I used sweep2 and for the ends I used patch.