How to create mesh from coordinates
45 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Kaustubh Tiwarekar
2020 年 4 月 21 日
I know its late. Bu8t this question needs a better answe.
Try referin to this link
その他の回答 (1 件)
Walter Roberson
2016 年 12 月 28 日
4 件のコメント
Walter Roberson
2016 年 12 月 28 日
編集済み: Walter Roberson
2016 年 12 月 28 日
pc = pointCloud( [x(:), y(:), z(:)] );
pcwrite(pc, 'OutputFileName.ply');
This requires the Computer Vision Toolbox.
参考
カテゴリ
Help Center および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!