Azzera filtri
Azzera filtri

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

7 visualizzazioni (ultimi 30 giorni)
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!

Risposte (1)

KSSV
KSSV il 26 Lug 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.

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by