Question regarding normals to plane/face

Question regarding normals to plane/face

MarkBrouwersY48AV
Enthusiast Enthusiast
275 Views
0 Replies
Message 1 of 1

Question regarding normals to plane/face

MarkBrouwersY48AV
Enthusiast
Enthusiast

Hi,

I'm a bit troubled with the fact that there is a difference in getting a normal to a planar face using these methods :

 

double[] para = new double[4] { 0, 0, 0, 0 };
double[] normals = new double[3];

face.Evaluator.GetNormal(ref para, ref normals);
UnitVector normalOnFace = Inv.App.TransientGeometry.CreateUnitVector(normals[0], normals[1], normals[2]);

//for example : Returns [0,-1,0]

Plane plane = face.Geometry as Plane;

UnitVector normalOnPlane = plane.Normal;

//for example : returns [0,1,0]

 

The latter only seems to return a 'line', the Y-asis, but with no direction but I would expect the same result for both methods. Is there a difference that Inventor handles normals on planes and faces ?

 

Cheers,

Mark

0 Likes
276 Views
0 Replies
Replies (0)