need values for vectors

(|beowulf|) #1

Hi,

I’m new to this forum, so please be forgiving with me :wink:
I need the values for two vectors of a face:

  • The normal vector of length 1.
  • The vector that is orthogonal to the normal vector and is in the plane that is created by the normal vector and the y axis, of length 1 as well.

Is there any builtin way for getting these values? Or do I have to script this in python?

Thanks in advance for the help :slight_smile:

0 Likes

(bugman_2000) #2

You’ll definitely need to use Python for this.

Here’s the API refrence on how to get the normal vector.

http://www.blender.org/documentation/242PythonDoc/NMesh.NMFace-class.html

The other vector I’m not so sure about. You might have to calculate it yourself from the normal.

0 Likes