How to get coordinates values X, Y, Z from the Meshed file in matlab?

57 vues (au cours des 30 derniers jours)
I have a meshed bone model(stl file). I have to extract data points (X,Y, Z coordinates) from the model which has 4000 nodes.
Can anyone suggest some idea to proceed?

Réponse acceptée

Ameer Hamza
Ameer Hamza le 18 Juin 2020
Modifié(e) : Ameer Hamza le 19 Juin 2020
Something like this
TR = stlread('tristltext.stl');
x = TR.Points(:,1);
y = TR.Points(:,2);
z = TR.Points(:,3);
  7 commentaires
Ameer Hamza
Ameer Hamza le 19 Juin 2020
In this can, you can write
TR = stlread('tristltext.stl');
x = TR.vertices(:,1);
y = TR.vertices(:,2);
z = TR.vertices(:,3);
mahmoud elmesery
mahmoud elmesery le 16 Mai 2021
Hello, How can me update stl of geometry after rotate it like this,(rotate(g,45);).

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by