STLA_IO
Read and Write Routines
ASCII STL 3D Graphics Files


STLA_IO is a library of MATLAB routines, using double precision arithmetic, 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.

Related Data and Programs:

IVCON is an executable C++ program which can convert graphics information between ASCII STL and other formats.

IVREAD is an executable FORTRAN90 program which can convert graphics information between ASCII STL and other formats.

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

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

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

Reference:

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

Tar File:

A GZIP'ed TAR file of the contents of this directory is available. This is only done as a convenience for users who want ALL the files, and don't want to download them individually. This is not a convenience for me, so don't be surprised if the tar file is somewhat out of date.

Source Code:

Examples and Tests:

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


Last revised on 17 February 2007.