I use Blender for printing Vertex conversions, which is your second picture.

I remove all faces from the model and keep all edges. I extrude all the edges in one hit, usually in the up/down...