4.0

4.0 | 1 rating Rate this file 49 downloads (last 30 days) File Size: 1.88 KB File ID: #24400

STL_Export

by Andreas Richter

 

10 Jun 2009 (Updated 29 Jun 2009)

Code covered by BSD License  

This is a tool to export 3D graphics from a Tri_Surface file to an ASCII STL file.

Download Now | Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.6 (R2008a)
Zip File Content  
Other Files license.txt,
STL_Export.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
02 Jul 2009 Holger Roth

Thanks. Very helpful!

Please login to add a comment or rating.
Updates
29 Jun 2009

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

Tag Activity for this File
Tag Applied By Date/Time
stl Andreas Richter 10 Jun 2009 10:02:32
automotive Andreas Richter 10 Jun 2009 10:02:32
aerospace Andreas Richter 10 Jun 2009 10:02:32
export Andreas Richter 10 Jun 2009 10:02:32
surface data Andreas Richter 10 Jun 2009 10:02:32
3d graphics Andreas Richter 10 Jun 2009 10:02:32
ascii Andreas Richter 10 Jun 2009 10:02:32
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com