How to save alphashape image as STL or CAD?

42 ビュー (過去 30 日間)
Selva Karna
Selva Karna 2018 年 12 月 14 日
編集済み: Dmitrij Usov 2023 年 11 月 8 日
How to save alphashape image as STL or CAD? can any share idea's?alphashape.jpg

採用された回答

Sean de Wolski
Sean de Wolski 2018 年 12 月 14 日
Get the alphaTriangulation from the alphaShape and then call stlwrite (new in 18b)
A = alphaShape(rand(10,2))
[T, P] = alphaTriangulation(A)
stlwrite(triangulation(T,P),'foo.stl')
  5 件のコメント
Niccolo Cymbalist
Niccolo Cymbalist 2019 年 6 月 4 日
Could you please provide an example for this?
Dmitrij Usov
Dmitrij Usov 2023 年 11 月 8 日
編集済み: Dmitrij Usov 2023 年 11 月 8 日
use boundaryFacets instead alphaTriangulation for nx3 matrices
A = alphaShape(rand(10,3));
[T, P] = boundaryFacets(A); % here
stlwrite(triangulation(T,P),'foo.stl');

サインインしてコメントする。

その他の回答 (2 件)

KSSV
KSSV 2018 年 12 月 14 日
  1 件のコメント
Selva Karna
Selva Karna 2018 年 12 月 14 日
thanks for reply, but its not generate grid, like above 3d Image stl. how to generate grid using x,y,z? KSSV

サインインしてコメントする。


Selva Karna
Selva Karna 2018 年 12 月 17 日

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by