Issues about sweep2

Hi guys, can anybody help me figure out this bad result made by sweep2 in GH? I made the rail lines and section lines and tried to sweep them but the shape totally didn’t fit the rail. However, when I baked all lines and swept in Rhino, the result is quite well. Thanks in advance !
Grasshopper result|690x369

Hengwei Ji