Supported 3D formats

STLB format overview:

(unfinished - no information available)


STLB file characteristics:


STLB format references and information:

STLB format information and examples from John Burkardt


STLB support notes inside IVCon source code:

 Author:  John Burkardt
 Change: 08 Mar 2007 Tomasz Lis adjusted to new core

 A list of supported elements follows. Please modify if you'll enhance something.
 Format support note - reading:
 - unknown
 Format support note - writing:
 - unknown


NOTE: support of this format is unfinished, it probably won't work.


STLA Examples:

solid MYSOLID
facet normal 0.4 0.4 0.2
outerloop
vertex  1.0 2.1 3.2
vertex  2.1 3.7 4.5
vertex  3.1 4.5 6.7
endloop
endfacet
...
facet normal 0.2 0.2 0.4
outerloop
vertex  2.0 2.3 3.4
vertex  3.1 3.2 6.5
vertex  4.1 5.5 9.0
endloop
endfacet
endsolid MYSOLID


STLB Example:

80 byte string = header containing nothing in particular

4 byte int = number of faces

For each face:

3 4-byte floats = components of normal vector to face;
3 4-byte floats = coordinates of first node;
3 4-byte floats = coordinates of second node;
3 4-byte floats = coordinates of third and final node;
2-byte int = attribute, whose value is 0.

Copying and copyrights:
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.