I am in need of a Matlab program that will convert a STL (standard output of any 3d cad program) to a Matlab 3d array. However, there is a specific format to the 3d array. First of all, I have a script (cad2matdemo.m, included in the attached files) that will take the vertex points of any stl or slp file and plot them in Matlab and applying faces to the polygons. The final 3d array format is such that there will be '1' where the object is solid, and '0' where is is empty space. What I need is another script that will convert the vertex and face information to this 3d array format. I have included a sample array ([url removed, login to view]) for you to view the structure of. I will be happy to work with somebody on this to try and make it as clear as possible. I have also included some sample stl and slp files. If you are interested in the job, please give me an idea about how you are going to go about doing it. It will make my decision easier. I need this as soon as possible, so speed is a priority.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
MATLAB (Win and *NIX)