These are some examples of STLA, or "ASCII STL" files. "STL" stands for "stereolithography", and indicates that the primary purpose of this file format is to describe the shape of a 3D stationary object. Stereolithography is a means of creating physical 3D models of such objects, using resin or carefully cut and joined pieces of paper.
An ASCII or binary STL file usually has a filename extension of ".stl". To avoid confusion, we use a filename extension of ".stla" for ASCII STL files; however, this is not a common convention. It may be advisable to rename a ".stla" file to the more conventional ".stl" before passing it to a graphics utility program.
An STL file contains a description of the surface of a solid that has been decomposed into triangles. The vertices of the triangles should be listed in counterclockwise order, as viewed from outside the surface. A normal vector for the triangle may also be listed.
The file begins with a solid record, (which can include a name for the object), and ends with an endsolid record. Each triangle begins with a facet record and ends with an endfacet record. The normal vector, if given, is included as part of the facet record, and is identified by the normal keyword. The normal vector should have unit length. The three vertices of the triangle are delimited by outer loop and endloop records. Each vertex is described on a vertex record that lists its (X,Y,Z) coordinates.
An ASCII STL file for a four-face figure that's a slice of a cube would be:
solid cube_corner
facet normal 0.0 -1.0 0.0
outer loop
vertex 0.0 0.0 0.0
vertex 1.0 0.0 0.0
vertex 0.0 0.0 1.0
endloop
endfacet
facet normal 0.0 0.0 -1.0
outer loop
vertex 0.0 0.0 0.0
vertex 0.0 1.0 0.0
vertex 1.0 0.0 0.0
endloop
endfacet
facet normal 0.0 0.0 -1.0
outer loop
vertex 0.0 0.0 0.0
vertex 0.0 0.0 1.0
vertex 0.0 1.0 0.0
endloop
endfacet
facet normal 0.577 0.577 0.577
outer loop
vertex 1.0 0.0 0.0
vertex 0.0 1.0 0.0
vertex 0.0 0.0 1.0
endloop
endfacet
endsolid
The facet record has the form:
STLB is a binary version of the ASCII STL file format.
BLOCK is a cube of side 100, using 12 triangular faces.
BOTTLE is a bottle using 1240 triangular faces.
CUBE is a bottle using 12 triangular faces.
FLAT is a flat shape using 3 triangular faces.
HUMANOID_TRI is a humanoid shape using 96 triangular faces.
MAGNOLIA is a magnolia blossom, using 1247 triangular faces and 3741 nodes.
SPHERE is a sphere using 228 triangular faces and 684 nodes.
TEAPOT is (half of) a teapot using 2016 triangular faces and 6048 nodes.
TILER_3D is a tiling pattern in 3D created by TILER_3D.
You can go up one level to the DATA page.