Closed Sjaak1 closed 8 years ago
Example OpenSCAD script to generate an STL file:
rotate([-45,0,0]) import("/home/gringer/models/halo/Halo_4_Helmet_Medium_Size_B/M_ChinFront_r1_0.stl");
Command line:
$ inkscape --export-dpi=600 --export-png=halo_example.png <(~/scripts/stl2svg.pl halo_example.stl)
Result:
I've added these instructions to the top of the perl script. I did submit this script to the OpenSCAD mailing list, and I think that the SVG output functionality of OpenSCAD has been modified to work in a similar way.
Could you explain how to use the stl2svg.pl script?
Thanks in advance!