I'm trying to write an Ascii STL file ysing a poly_shade command in IDL. basically it outputs vertices and polygons where the first numbe rin polygons is the number of vertices and the following numbers are the vertices that are connected.
I havn't been able to find any software or algorithms to do this data reformatting.
Is anyone familiar with this kind of algorithm?
I have only found ways to print out the vertices and polygons in seperate blocks, I'm thinking I might have to store all the vertices than start writing the file based on the polygon list.
Any ideas or questions, please let me know.