I created a body with just a simple padded rectangle. Put the body into a Part.
Then select the top face and get the normal.
Code: Select all
>>> face = App.getDocument("Unnamed").getObject("Pad").Shape.Face6
>>> u, v = face.ParameterRange[:2]
>>> face.normalAt(u,v)
Vector (-0.0, -0.0, 1.0)
How do I get the normal of the face in its current pose in the global coordinate system?