This openframeworks addon extrudes an ofpolyline and returns a mesh
README
ofxPolylineExtruder
This addon extrudes an ofPolyline and creates an ofMesh object.
Use it like this:
ofPolyline myline; myline.addVertex(ofPoint(-100,0,-100)); myline.addVertex(ofPoint(-100,0,100)); myline.addVertex(ofPoint(100,0,100)); myline.addVertex(ofPoint(0,0,0)); myline.addVertex(ofPoint(100,0,-100)); ofMesh mymesh; ofxPolylineExtruder::polyline2Mesh(myline, mymesh,150);
mymesh.draw();

ofxAddons