automatic curve generation from sliced plane?

 From:  mnrsiat
7267.1 
Hi, I have a lot of slices that I trimmed down to the shape of a particular solid object. I want to make some minor modifications to these and then CNC cut them. The slices are all sections of flat planes, in the shape of the cross-section of the object at that position. So what I need, instead of the shaped surface, is the closed curve of its perimeter.

So far, the best thing I have come up with is to select the surface, select each line segment of its outline, copy these, paste them, and join them into a closed curve. I have a lot of slices, though, and many of them have multiple sets of edges (the original solid has holes in it, torus-like). I can do this process for each slice if I must, but is there a better way? Some kind of outlining tool?

thanks for any suggestions, experts!

Rachel