How do I change the orientation of a through XYZ curve ?

Hi,

I am attaching 3 files. The two files with solid models are for better understanding as to what I exactly want.

The curve is single loop curve.SLDPRT.

The type of geometry and orientation I want is single curve-mold.SLDPRT.

But since the curve is 3D and to account for all 3 coordinates I was able to make something like extruded cut single loop.SLDPRT,

Any suggestion on how do I orient the 3D curve in such a way that I get the type of geometry that I want.

SolidworksParts And Features