STLA_IO
Read and Write Routines
ASCII STL 3D Graphics Files


STLA_IO is a MATLAB library which includes routines to read or write the 3D graphics information stored in an ASCII STL (stereolithography) file.

Especially if you are reading large ASCII STL files, you might want to consider the STLA_SIZE_FAST and STLA_READ_FAST routines, provided by Bill Seufzer of NASA Langley. These will run more quickly in MATLAB than the routines STLA_SIZE and STLA_READ.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

STLA_IO is available in a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

IVCON, a C++ program which can convert graphics information between ASCII STL and other formats.

IVREAD, a FORTRAN90 program which can convert graphics information between ASCII STL and other formats.

STLA, a data directory which contains some examples of ASCII STL files.

STLA_DISPLAY, a MATLAB program which can read an ASCII STL file and display it on the screen.

STLA_TO_TRI_SURFACE, a MATLAB program which reads an ASCII STL file and extracts the surface mesh data as a TRI_SURFACE dataset.

TRI_SURFACE_TO_STLA, a MATLAB program which reads a TRI_SURFACE dataset and extracts the surface mesh data as an ASCII STL file.

Reference:

  1. 3D Systems, Inc,
    Stereolithography Interface Specification,
    October 1989.

Source Code:

Examples and Tests:

You can go up one level to the MATLAB source codes.


Last revised on 17 February 2007.