필터 지우기
필터 지우기

How to save alphashape image as STL or CAD?

조회 수: 15 (최근 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 CenterFile Exchange에서 Lighting, 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