Azzera filtri
Azzera filtri

How to save alphashape image as STL or CAD?

15 visualizzazioni (ultimi 30 giorni)
How to save alphashape image as STL or CAD? can any share idea's?alphashape.jpg

Risposta accettata

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

Accedi per commentare.

Più risposte (2)

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

Accedi per commentare.


Selva Karna
Selva Karna il 17 Dic 2018

Categorie

Scopri di più su Lighting, Transparency, and Shading in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by