필터 지우기
필터 지우기

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

조회 수: 7 (최근 30일)
Anne
Anne 2017년 7월 26일
답변: KSSV 2017년 7월 26일
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!

답변 (1개)

KSSV
KSSV 2017년 7월 26일
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.

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by