Borrar filtros
Borrar filtros

How to save alphashape image as STL or CAD?

15 visualizaciones (últimos 30 días)
Selva Karna
Selva Karna el 14 de Dic. de 2018
Editada: Dmitrij Usov el 8 de Nov. de 2023
How to save alphashape image as STL or CAD? can any share idea's?alphashape.jpg

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 14 de Dic. de 2018
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 comentarios
Niccolo Cymbalist
Niccolo Cymbalist el 4 de Jun. de 2019
Could you please provide an example for this?
Dmitrij Usov
Dmitrij Usov el 8 de Nov. de 2023
Editada: Dmitrij Usov el 8 de Nov. de 2023
use boundaryFacets instead alphaTriangulation for nx3 matrices
A = alphaShape(rand(10,3));
[T, P] = boundaryFacets(A); % here
stlwrite(triangulation(T,P),'foo.stl');

Iniciar sesión para comentar.

Más respuestas (2)

KSSV
KSSV el 14 de Dic. de 2018
  1 comentario
Selva Karna
Selva Karna el 14 de Dic. de 2018
thanks for reply, but its not generate grid, like above 3d Image stl. how to generate grid using x,y,z? KSSV

Iniciar sesión para comentar.


Selva Karna
Selva Karna el 17 de Dic. de 2018

Categorías

Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by