tri_surface_to_stla_test, a MATLAB code which calls tri_surface_to_stla(), which reads data from a TRI_SURFACE file describing a triangular mesh of a 3D surface, and convert it to an ASCII STL file.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
tri_surface_to_stla, a MATLAB code which reads a tri_surface dataset and extracts the surface mesh data as an ASCII stereolithography (STL) file.
CUBE is a cube using 12 triangular faces and 36 nodes.
MAGNOLIA is a magnolia blossom, using 1247 triangular faces and 3741 nodes.