Jiro's pick this week is surf2stl by Bill McDonald.
About a month ago, at a seminar I gave at a university, a graduate student came up to me and asked whether there was a function for writing out 3D model files. Specifically, he was referring to STL files (stereolithography files). It was a topical question because it came soon after I talked about some of the exporting capabilities in MATLAB for graphical file formats.
I knew that we didn't have any built in, but I promptly suggested checking out the File Exchange. I've seen a few functions for reading from STL files, so I figured there would be counterparts. Sure enough, there were a few. Here's a list of entries with a tag of "stl".
From the list, I am highlighting Bill's surf2stl. It has nice help, clean code, good reviews, and has even inspired another entry.
Download and give it a try!
Get
the MATLAB code
Published with MATLAB® 7.8



I have the following question and hope that you may shed some light on it. Thanks in advance
I am working on image, how to recover scale, rotation, shear from projective t-matrix?
For example:
1.6971 1.838 0
-1.314 0.989 0
0 0 1
Yousif, I’m not sure I understand your question. It’s probably better to post your question on the newsgroup
http://www.mathworks.com/matlabcentral/newsreader/