MATLAB Answers

HOW TO GET FACE COORDINATES (xyz) OF A SOLID HOLLOW CYLINDER?

13 views (last 30 days)
Deva Narayanan
Deva Narayanan on 10 Aug 2018
Answered: KSSV on 11 Aug 2018
i have created a solid hollow cylinder using CAD software. after that i have changed the geometry file to .stl file for import into matlab. hollow cylinder had 4 faces. i want to get xyz coordinates of a particular face of the hollow cylinder.

  3 Comments

Rik
Rik on 10 Aug 2018
The faces in an stl file are normally the indices to the vertices matrix, so you'll have to use them both to get the coordinates for one particular face.
Rik
Rik on 11 Aug 2018
Just as with your previous question (which you haven't accepted yet, or forgot to comment how it didn't work for you), you didn't attach your file.

Sign in to comment.

Answers (1)

KSSV
KSSV on 11 Aug 2018
download stlread function from file exchange. Or Google stlread.

  0 Comments

Sign in to comment.

Sign in to answer this question.