Very useful LISP program for making 3D polylines from multiple lines and arcs.

http://www.black-cad.homepage.t-online.de/pediten.htm