STLA_DISPLAY
Display an ASCII STL 3D Graphics File


STLA_DISPLAY is a MATLAB program which gets the name of an ASCII STL (Stereolithography) file from the user, reads the 3D graphics information stored in the file, and displays the structure on the screen.

Usage:

stla_display ( 'ascii_stl_file' )
where

Licensing:

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

Related Data and Programs:

BALL_AND_STICK_DISPLAY, a MATLAB program which demonstrates the creation of a 3D "ball and stick" image;

BEZIER_SURFACE_DISPLAY, a MATLAB program which reads two files defining a Bezier surface and displays it within MATLAB.

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

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

MPAS_GRID_DISPLAY, MATLAB programs which can read an MPAS NETCDF grid file and display the primary polygonal mesh or the dual triangular mesh.

OBJ_DISPLAY, a MATLAB program which reads an OBJ file defining a 3D object and displays it within MATLAB.

PLY_DISPLAY, a MATLAB program which displays an image of a 3D graphics file in PLY format;

POLYGONAL_SURFACE_DISPLAY, a MATLAB program which reads two files defining a polygonal surface and displays it within MATLAB.

QUAD_SURFACE_DISPLAY, a MATLAB program which reads files defining a 3D quadrilateral mesh surface and displays it within MATLAB.

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

STLA_IO, a MATLAB library which can read or write an ASCII STL file.

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

TET_MESH_DISPLAY, a MATLAB program which reads files defining a tet mesh and displays an image within MATLAB.

TRI_SURFACE_DISPLAY, a MATLAB program which reads data defining a triangular mesh of a 3D surface and displays it.

TRIANGULATION_DISPLAY_OPENGL, a C++ program which reads files defining a triangulation and displays an image using Open GL.

TRIANGULATION_ORDER1_DISPLAY, a MATLAB program which reads files defining a piecewise constant triangulation of data, and displays a corresponding 3D surface.

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 14 May 2011.