*On 28/03/2013 at 11:26, xxxxxxxx wrote:*

I want to move a polygon along its normal (normal move).

So I calculate the cross vector of the polygon using two sides as vector.

However, when I compare my result with the result of the Xpresso' polygon node - polygon normal' it is different. But the point normal from the Point node is the same as the cross vector I calculate.

Strange?

Is the point normal different then the polygon normal?

Also when I start moving the polygon, my calculation seems to go wrong.

I expect that my calculation of the cross vector is wrong.

I get all the polygon points, normalize them and use them to calculate the vectors.

This might be wrong, because I do not include the starting point?

Note: There is only one polygon in my polygon object.

I do not want to use the cinema 4d 'move normal' command.

```
import c4d
from c4d import utils
import random
#
# move polygon along its normal
#
def main() :
polyobject = doc.SearchObject("MyObject")
polys = polyobject.GetAllPolygons()
p1 = polyobject.GetPoint(polys[0].a)
p2 = polyobject.GetPoint(polys[0].b)
p3 = polyobject.GetPoint(polys[0].c)
p4 = polyobject.GetPoint(polys[0].d)
print p1,p2,p3,p4
np1 = p1.GetNormalized()
np2 = p2.GetNormalized()
np3 = p3.GetNormalized()
np4 = p4.GetNormalized()
p1p2 = (np2-np1)
p1p3 = (np3-np1)
pcross = p1p2.Cross(p1p3)
pcross = pcross.GetNormalized()
print "cross: ", pcross
```