From: venkata cherukuri on
How to read STL files in MATLAB. I am working on a project related to multiple objects packing in a 3D-box. I have a square, triangle and Rectangular boxes. I want to read their STL files first in MATLAB and then I want to rotate their positions based on the orientation. I am stucked at this point because I cant figure out how to orient their positions in MATLAB.

Any kind of help in this regard is greatly appreciated.

Thanks
Tarun
From: Arnaud Miege on

"venkata cherukuri" <taruncherukuri(a)yahoo.com> wrote in message
news:ha0uv2$6ei$1(a)fred.mathworks.com...
> How to read STL files in MATLAB. I am working on a project related to
> multiple objects packing in a 3D-box. I have a square, triangle and
> Rectangular boxes. I want to read their STL files first in MATLAB and then
> I want to rotate their positions based on the orientation. I am stucked at
> this point because I cant figure out how to orient their positions in
> MATLAB.
>
> Any kind of help in this regard is greatly appreciated.
>
> Thanks
> Tarun
>
Search for STL on the file exchange, there are lots of hits, for example:
http://www.mathworks.co.uk/matlabcentral/fileexchange/24233
http://www.mathworks.co.uk/matlabcentral/fileexchange/3642

I don't know about the relative merits of each solution, as I haven't tried
them

HTH,

Arnaud