Making solid from two polylines

Hi!

I have done two polylines which are the basis for an aluminium part. One polyline is the profile for the part from the side (Z and Y directions)

and the second polyline one is determing the bendings.

I don’t know how to make a solid with these two polylines. Making a solid or sweep seems not to work (or I don’t know how exact to use sweep in this kind of situation). The red line in the pictures are just to help you to figure out the positioning. I would like to have used bending tool, but I keep it inaccurate in this case (would like to have the correct radius for aluminum bending areas). Aluminium is going to be 2 mm thick.

Thanks for advice advanced!