I have written a very rough program called off_to_3ds that
will convert OFF files to 3ds format, which can then be
imported into Sketchup. The program is based on lib3ds. The
output is triangulated and contains no colours.
Here is a zip file containing a Windows binary and source
http://www.antiprism.com/misc/off_to_3ds-0.01.zip
Examples of use: to convert the geo_temcor output to 3ds
geo_temcor 7 1 -0.9 10 | off_to_3ds -o temc7.3ds
or
geo_temcor 7 1 -0.9 10 > temc7.off
off_to_3ds temc7.off -o temc7.3ds
It will also create a wide range of polyhedron models simply
by giving the model name as it is named in Antiprism (although
the models will be triangulated and uncoloured) e.g. create a
1,2 icosahedral geodesic sphere in 3ds format
off_to_3ds geo_1_2 -o geo_1_2.3ds
For reference, the names are listed in the "Models" albums here
http://www.antiprism.com/ex_album/
I haven't had real chance to test the program, although I
have successfully imported some off_to_3ds output into Sketchup
running in Wine on Ubuntu (where it runs fairly unstably).
Adrian.
--
Adrian Rossiter
adr...@antiprism.com
http://antiprism.com/adrian