How to close a 3D shape to export to STL

조회 수: 5 (최근 30일)
AThomas
AThomas 2020년 5월 8일
답변: Prabhan Purwar 2020년 5월 11일
I have produced a profile as a polyshape. I have then exported the vertices and offset them by a nominal amount, and created a triangulation between these two sets of points - picture a hollow cylinder for examples sake that has then been triangulated.
Now, to produce an STL properly I need to somehow close off the top and bottom faces.
How do you produce a patch, or fill that we can attach to the aforementioned triangulation surfaces that 'stlwrite' will recognise as one set of data?

답변 (1개)

Prabhan Purwar
Prabhan Purwar 2020년 5월 11일
Hi,
Currently, the built-in triangulation functions in MATLAB only accept 1-dimensional coordinates data.
The workaround is to use the "mesh2tri" utility that can be found on MATLAB Central - File Exchange page in this link:
Please note that the submissions on MATLAB Central - File Exchange are by users of the product, and are not supported by MathWorks' Technical Support. If you have any questions about how to use the code found on the File Exchange, please contact the author of the individual submission.
Hope it helps!!

카테고리

Help CenterFile Exchange에서 Elementary Polygons에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by