Generate multiple curves from a txt files

I am a new user of Rhino. I have been trying to convert a txt file to multiple closed curves.
Now I can only convert the file to generate one close curves.
The data format would be: D X Y Z
D would be the number of curves.
X Y Z would be the coordinates.

XYZ seems more the coordinates of a point, rather than a curve.

Can you attach your source .txt file?

Sure thing, the txt file was generated by my Matlab optimizer program, the geometry will later convert to surfaces.
GH.txt (46.5 KB) (8.4 KB)
This should do it.


Wow! That is amazing!