hexagon logo

Does anyone know an easy way to project all the points in a group to a plane?

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?
Parents
  • , a little update. I've run your program on a plane with six points with random deviations, and most of the time the result looks OK, two points zero, the rest all on the plus side, but once in a blue moon, the result is wrong, some points are on one side, some on the other, of the created plane. Still only testing with secondary surface in YMINUS.

    It's not very important, I've more or less decided to give up on this as it looks like it will never be "just a few lines" which can easily be added to a program, but *if* you're interested you can find my test program here - http://download.hexmet.se/other/Alig...laneJefMan.zip. Maybe you can spot a mistake I've made...

    The RANDOM generator is included, so you get different results each time you run the program.
Reply
  • , a little update. I've run your program on a plane with six points with random deviations, and most of the time the result looks OK, two points zero, the rest all on the plus side, but once in a blue moon, the result is wrong, some points are on one side, some on the other, of the created plane. Still only testing with secondary surface in YMINUS.

    It's not very important, I've more or less decided to give up on this as it looks like it will never be "just a few lines" which can easily be added to a program, but *if* you're interested you can find my test program here - http://download.hexmet.se/other/Alig...laneJefMan.zip. Maybe you can spot a mistake I've made...

    The RANDOM generator is included, so you get different results each time you run the program.
Children
No Data