How to create mesh from coordinates
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sumana
le 27 Déc 2016
Commenté : Viraj Gandhi
le 26 Fév 2021
Hi,
I have a 3D object (as shown in figure) defined entirely by x,y,z coordinates. Below shows the plot using scatter3().

I do not have the triangulation information.
My ultimate goal is to convert it to an .*stl file. How do I mesh it? delaunay(x,y,z) is giving something like this which is not correct.

Do I need some kind of algorithm to mesh it ?
Or else can I convert the coordinates to a .ply file to use meshlab to mesh it ? I don't know how to convert. Since this is a closed figure meshgrid() etc. are not working.
Thank you for the help.
0 commentaires
Réponse acceptée
Kaustubh Tiwarekar
le 21 Avr 2020
I know its late. Bu8t this question needs a better answe.
Try referin to this link
1 commentaire
Plus de réponses (1)
Walter Roberson
le 28 Déc 2016
4 commentaires
Walter Roberson
le 28 Déc 2016
Modifié(e) : Walter Roberson
le 28 Déc 2016
pc = pointCloud( [x(:), y(:), z(:)] );
pcwrite(pc, 'OutputFileName.ply');
This requires the Computer Vision Toolbox.
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


