STL_Export

This is a tool to export 3D graphics from a Tri_Surface file to an ASCII STL file.
2.2K Downloads
Updated 29 Jun 2009

View License

Before the export, the Tri_Surface file can be used in Matlab for visualization, some calculations or modifications. Thereafter, the data
for further processing often re-used in the STL format.

INPUT:

nodes_file: Is the matrix of 3D - points
triangles_file: Is the matrix of the triangles
STL_file_name: Is the name for the generating STL file
solid: Is the name of the file inside the STL file

OUTPUT:

nomalized_normal_vectors: Is the matrix of the normal vectors of each triangle.

And of course: The STL file.

Cite As

Andreas Richter (2026). STL_Export (https://www.mathworks.com/matlabcentral/fileexchange/24400-stl_export), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.3.0.0

The loop while writing the STL - Files is eliminated, which significantly contributes to the speed increase of this function.

1.0.0.0