Tube2Curve addresses a common cleanup task in Blender: turning tube or pipe geometry back into curves. With a single click, it converts all selected tubes into a curve, or edge, running down the centre of each one. The tool handles open tubes as well as Ngon and triangle capped tubes, and works across cylindrical geometry generally. It can even convert a tree mesh into curves.
Alongside the main converter, the addon includes a bonus tool that separates curves by loose parts, a function not available in vanilla Blender. Both tools sit under 3dView > Object > TubeTools as of v1.2, accessible from the N-panel. One limitation to note: the converter does not work on cyclic geo, so tubes need a start and an end. For a continuous cyclic tube, splitting a single edge ring lets the script run as expected.
Tube2Curve is part of a larger addon called H3D Toolkit. The tool automates a process that is otherwise tedious when dealing with hundreds or thousands of tubes, such as when ingesting assets from other artists or vendors who work with tube geo rather than curves.