How can I extrude a 2D patch?
6 ビュー (過去 30 日間)
古いコメントを表示
Hi, my objective is to have a gear profile like the one below extruded so that I can then convert the 3D gear into a STL file and send it to a 3D printer.
What I've tried to do, as the above are only discrete points, is to triangulate the surface using the delaunay function. That gave me the following result, which is of course bad:
By applying example 6 from https://www.mathworks.com/help/matlab/math/creating-and-editing-delaunay-triangulations.html I managed to get something like this, which is perfect:
The red gear was made with the delaunayTriangulation function with arguments (x,y,C) and eliminating all the triangles outside the gear profile. What I don't really get is how to create another identical patch but with different z coordinates and then join them together to get a 3D gear. I've been able to do it with the 3D delaunay function but what I get is an extrusion of the blue gear, like this:
Is there a way to filter out the triangles in the 3D triangulation outside the gear profile or to extrude the 2D red patch?
Thank you in advance guys :)
2 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Delaunay Triangulation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!