How to make elements Periodically Closed

I have 3 points which I used 1 Curve and 2 Lines using these points. I thought it would be a closed object but when I try to make a solid using revolve or any other function my error says Its not "Periodically Closed." Is there a function or code available to allow multiple Curves/Lines/PolyLines/etc which are connected to each other into a closed object and define them as Periodically Closed?