How to Get XYZ by the UV on Surface?

How to Get XYZ by the UV on Surface?

845179011
Enthusiast Enthusiast
5,947 Views
2 Replies
Message 1 of 3

How to Get XYZ by the UV on Surface?

845179011
Enthusiast
Enthusiast

Hello,

I need the perpendicular of a XYZ point to the Plane. I trying to make it by Plane.Project() method, but this method output the UV position on the plane. How can I get XYZ projected point by the UV point?

Thanks.

0 Likes
Accepted solutions (1)
5,948 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk
Accepted solution
0 Likes
Message 3 of 3

845179011
Enthusiast
Enthusiast

Thanks.

Because of no Evaluate() Method of class Plane. I get the XYZ point by following method. It works.

Plane plane1 = Plane.CreateByNormalAndOrigin(refFace1.FaceNormal,refFace1.Origin);
UV uv1;
double d1;
plane1.Project(arcBegin, out uv1, out d1);
XYZ projectPt1 = plane1.Origin + uv1.U * plane1.XVec + uv1.V * plane1.YVec;