Lines to 3d mesh

I am looking for an approach to turn lines/wireframes into 3d mesh for 3d print.
For instance like http://toxiclibs.org/wp-content/uploads/2011/12/facade-5.png to http://toxiclibs.org/wp-content/uploads/2011/12/facade-6.png.
So far I tried to use https://github.com/kylemcdonald/ofxMetaballs and create points along my lines, result looks interesting http://imgur.com/a/0EKDT but the model are too heavy.

Hi,
I haven’t looked at the metaballs addon but in any case you will need to clean up the exported 3d model befor sending it to print. Use meshlab for doing such. It will also allow you to reduce the poligon count.
I haven’t done this for a while, but there is software that allows you to check a models exported gcode.
There are some libs and addons that will allow you to perform some kind of optimization, clean up and polygon reduction from within OF. check ofxaddons.com

cheers

Thanks for your reply!
I am actually interested finding an algorithm idea more than learning about mesh to 3d print workflow;
Is there a good technique to turn connected lines drawings into merged 3d tubular structures, like in this example http://toxiclibs.org/wp-content/uploads/2011/12/facade-5.png to http://toxiclibs.org/wp-content/uploads/2011/12/facade-6.png