I have a group of points (a plane for example) and I want to project them all to a plane (simplest case == WORKPLANE). Is there some smart way to do it all at once (a.k.a. "the JEFMAN way") or is it only possible with a loop? I haven't found anything yet...
The object of this is to create a secondary tangent plane perpendicular to the primary by the following method:
- measure the secondary plane
- project all points up/down to the primary (WORKPLANE)
- construct a tangent plane from the original plane points + the projected points (guaranteed to be perpendicular to the primary as that is our projection direction)
As a follow-up question: How can I use an ARRAY variable in the same way as .HIT[...] in the construction of a tangent plane?
AndersI : I believe it's the problem of cross product, I will try tomorrow an if statement to give a result with the right sign.
In a first time, you can try to change only
ASSIGN/V2=CROSS(PL1.IJK,LN1.IJK)
by
ASSIGN/V2=CROSS(LN1.IJK,PL1.IJK)
And I hope it will work...
AndersI : I believe it's the problem of cross product, I will try tomorrow an if statement to give a result with the right sign.
In a first time, you can try to change only
ASSIGN/V2=CROSS(PL1.IJK,LN1.IJK)
by
ASSIGN/V2=CROSS(LN1.IJK,PL1.IJK)
And I hope it will work...