How to get surface normal in general(on the whole)?

liangycc
liangycc Altair Community Member
edited October 2020 in Community Q&A

Hi,

Thanks to all of you for your valuable time and efforts putting in helping others.

I want to get the surface normal in general(like showing as  *surfacedisplaynormals).However,i can only find  hm_getsurfacenormal,which shows normal for a point on surface.

How can i get surface normal value on the whole? 

Thank you very much!!! 

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited March 2019

    Surface is curved so every point has a different normal. There is not anything called 'whole normal'

  • liangycc
    liangycc Altair Community Member
    edited March 2019

    Surface is curved so every point has a different normal. There is not anything called 'whole normal'

    But when i click normal icon or use*surfacedisplaynormals for a surface,a normal will display.What is the meaning of this normal?I think i want to get this value.

  • tinh
    tinh Altair Community Member
    edited March 2019

    That is normal at point that the arrow locates.

    The point could be center of the surface.

    To get center of surf, I am not sure about hm_getcentroid (pls try)

     

  • liangycc
    liangycc Altair Community Member
    edited March 2019

    That is normal at point that the arrow locates.

     The point could be center of the surface.

    To get center of surf, I am not sure about hm_getcentroid (pls try)

     

    Thank you very much!Let me try.