tri_surface_to_stla, a MATLAB code which reads data from a TRI_SURFACE file describing a triangular mesh of a 3D surface, and converts it to an ASCII STL file.
A TRI_SURFACE or triangulated mesh surface, is described by a pair of arrays:
An ASCII STL file contains a description of the surface of a solid that has been decomposed into triangles. The vertices of the triangles should be listed in counterclockwise order, as viewed from outside the surface. A normal vector for the triangle may also be listed.
tri_surface_to_stla ( 'node_filename', 'element_filename', 'stla_filename' )where
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 is available in a MATLAB version.
obj_to_tri_surface, a MATLAB code which reads an obj file, and extracts the surface mesh data as a tri_surface dataset.
stla, a data directory which contains a description and examples of stla files.
stla_display, a MATLAB code which reads an ascii stl file and displays it.
stla_io, a MATLAB code which reads or writes a ply file.
stla_to_tri_surface, a MATLAB code which converts ascii stl graphics data to tri_surface data.
tri_surface, a data directory which contains examples of tri_surface files.
tri_surface_display, a MATLAB code which displays a tri_surface.
tri_surface_io, a MATLAB code which reads and writes the 3d graphics information in a tri_surface file;
tri_surface_to_obj, a MATLAB code which reads a tri_surface dataset and extracts the surface mesh data as an obj file.