How to close a 3D shape to export to STL

5 visualizzazioni (ultimi 30 giorni)
AThomas
AThomas il 8 Mag 2020
Risposto: Prabhan Purwar il 11 Mag 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?

Risposte (1)

Prabhan Purwar
Prabhan Purwar il 11 Mag 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!!

Categorie

Scopri di più su Elementary Polygons in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by