Code covered by the BSD License  

Highlights from
STL_Export

4.5

4.5 | 2 ratings Rate this file 12 Downloads (last 30 days) File Size: 1.88 KB File ID: #24400

STL_Export

by Andreas Richter

 

10 Jun 2009 (Updated 29 Jun 2009)

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

| 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)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
02 Jul 2009 Holger Roth

Thanks. Very helpful!

11 Apr 2011 soren

Thanks - did the trick of getting my patch into Blender as an stl file.

19 Apr 2011 Javed

Very nice tool indeed. But please help me how to use it. I know inputs triangle_file & node_file but I dont know stl_file_name and solid. From where this tool take these two inputs.

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
ascii Andreas Richter 10 Jun 2009 10:02:32
3d graphics Andreas Richter 10 Jun 2009 10:02:32
surface data Andreas Richter 10 Jun 2009 10:02:32
3d graphics Javed 19 Apr 2011 18:37:12

Contact us at files@mathworks.com