Skip to content
This openframeworks addon extrudes an ofpolyline and returns a mesh
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
screenshots
src
README.md

README.md

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();

Alt text

Alt text

You can’t perform that action at this time.