Hmm. The one stl2gts.c I found on the 'net (which states that it belongs to the GNU GTS library) looks quite capable of reading both ascii and binary.
I have now downloaded and built (standard "configure;make;make install" procedure) the latest gts lib I could find (sourceforge provides a link to a
tarball named gts-snapshot-121130.tar.gz). With this I could reproduce your error message, so I rewrote the STL in ascii format from netfabb.
gts conversion then still failed, but with a different error message ("expecting a number (z-coordinate)") which according to the gts faq usually means that the input file has microsoft-style CRLF line endings. dos2unix fixed that, and now the conversion produces the appended result.
Last edited: Jan 26, 2015