osresearch / papercraft

Unfolding STL models to make laser cut patterns
GNU General Public License v2.0
275 stars 26 forks source link

How to use unfold? #8

Open sunkechenjing opened 6 years ago

sunkechenjing commented 6 years ago

I had compiled these program in unbuntu.There are "unfold" and "wireframe".But i found there program can't be run.How to use there?thanks.

myinternetofthings commented 5 years ago

You need to pipe input file, and then redirect output to another file: cat Bunny-LowPoly.stl | ./unfold > bunny.svg or ./unfold < Bunny-LowPoly.stl > bunny.svg

concifederico commented 4 years ago

I had compiled these program in unbuntu.There are "unfold" and "wireframe".But i found there program can't be run.How to use there?thanks.

How did you compile?? By typing make at command prompt (Ubuntu)

ahs3n commented 4 years ago

I am on a mac, so it probably will be different for you, but I followed the instructions I found here: https://stackoverflow.com/questions/32337643/how-to-run-c-program-on-mac-os-x-using-terminal to compile the c code.