How to close a 3D shape to export to STL

5 Ansichten (letzte 30 Tage)
AThomas
AThomas am 8 Mai 2020
Beantwortet: Prabhan Purwar am 11 Mai 2020
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?

Antworten (1)

Prabhan Purwar
Prabhan Purwar am 11 Mai 2020
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!!

Kategorien

Mehr zu Triangulation Representation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by