[cad-linux] Re: STL file format

Sean,
thanks for your email. 
STL is indeed really easy. Nothing compared to my last adventure which
was OpenFlight :-) . 
Anyway, the mentioned BRL-CAD sources are GPL so I wont be able to use
them, nevertheless it looks like I can pull this off very quickly with
the mentioned document. 

Thanks
Roland



--- brlcad <brlcad@xxxxxxx> wrote:
> Roland,
> 
> There are both binary and ascii representations of the relatively 
> trivial STL format.  BRL-CAD includes support for reading and writing
> 
> both albeit not in an isolated library.  The format wasn't really 
> complicated enough to warrant a library of it's own.  See the 
> src/conv/g-stl.c and src/conv/stl-g.c files in the BRL-CAD source 
> distribution for our exporter and importer sources respectively 
> (http://sf.net/projects/brlcad).  There are details on the STL format
> 
> available on-line in various places too, one such place is 
> http://www.wotsit.org/download.asp?f=stl
> 
> Hope that helps,
> Sean
> 
> 
> On May 3, 2005, at 01:18, Roland Krause wrote:
> 
> > Can anyone point me to the definition of the STL file format?
> >
> > Anyone know of any open source libraries to read and write this
> format?
> > Preferrably C++ but anything would be helpful.
> >
> > Thanks
> > Roland
> 
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Other related posts: