stla_io


stla_io, a MATLAB code 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 than the routines stla_size() and stla_read().

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

stla_io is available in a C++ version and a Fortran90 version and a MATLAB version and an Octave version.

Related Data and Programs:

stla_io_test

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

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

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

tri_surface_to_stla, a MATLAB code 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:


Last revised on 22 March 2019.