This command projects a point onto the selected surface and returns the normal vector of the surfaces as well as the U and V direction vectors of the surface at the projected point.
Input Arguments
0 |
Point Name |
Point to Project |
Reference point used for analysis. |
1 |
Collection Object Name |
Surface Name |
Reference Surface used for projection. |
2 |
Boolean |
Generate output vector lines? |
Option to construct lines defining the surface vec- tor at the point projection. |
Return Arguments
3 |
Vector |
Projected Point |
XYZ location of the projected Point |
4 |
Vector |
Normal Vector |
Normal vector for the surface direction at the projected point |
5 |
Vector |
U Direction |
The U direction vector at the projected point |
6 |
Vector |
V Direction |
The V direction vector at the projected point |
Returned Status
SUCCESS |
The point was projected successfully and direction vectors obtained |
FAILURE |
No point or surfaces could be found. |
Remarks
If Argument 2 is True, three lines will be created. The names of the lines will be based on the point name from Argu- ment 0; [Collection]_[Group]_[Target] Projected [Direction Description], where [Direction Description] is Normal, U-Direction, or V-Direction.
All vectors returned are in the working frame.
This command returns pure U and V surface directions when the point is projected onto the a surface, but can return undesirable vector directions if the input point is projected to the edge of the surface. In the situation where the input points are generated from a B-Spline that represents the edge of the surface, a similar command is more appropriate – Get Gradient At Projected Point On Surface Edge.