Filter löschen
Filter löschen

How can I calculate the normal vectors for each point on a curved surface?

7 Ansichten (letzte 30 Tage)
Anne
Anne am 26 Jul. 2017
Beantwortet: KSSV am 26 Jul. 2017
Hello,
I want to calculate the normal vectors for each point on a curved surface. I tried surfnorm, but my data does not have the correct input for surfnorm. I have an STL file with a surface and the x, y and z coordinates for all points. I want to have the normal vector for all points, so I can select the points I am interested in, using the x, y and z coordinates. In the zip file I attached an example image of the surface and an example of the STL file.
Does anyone have an idea how I can use surfnorm or which other options there are to do this? Thank you!

Antworten (1)

KSSV
KSSV am 26 Jul. 2017
Check this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/22409-stl-file-reader?focused=5193625&tab=function This function reads the stl file and also it calculates the normal vectors.

Kategorien

Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by