Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
So if we pick a single vert in normal orientation we will get x, y, z values for the transform.
We do have access to Z from bpy API that will be a vert normal but how are x and y calculated ?
Is there a simple way to check the math behind it?
Posting it just in case anyone needs it,
it was quite simple actually
normal of vert is given and
we can get tangent(x-axis) by calculating cross product of normal and Vector((0, 0, 1))
then co-tangent (y-axis) by calculating the cross product of tangent and normal