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
  • Nice work ! But...

    What happens if the surface is twisted, so the part in one end looks like case 1, but in the other looks like case 2?


    Thanks, Anders, you're welcome !
    I would say that case 2 is the worst case, and include the 1, even if the surface is twisted.
    If you think about a square that you apply on the surface, it will be tangent on the "case 2" side before "case1" side.
    Depends on the number of hits, but If there's only one point on the case 2 and others in the case 1 (big twist here !), the MAXINDICES should do the job as well.
Reply
  • Nice work ! But...

    What happens if the surface is twisted, so the part in one end looks like case 1, but in the other looks like case 2?


    Thanks, Anders, you're welcome !
    I would say that case 2 is the worst case, and include the 1, even if the surface is twisted.
    If you think about a square that you apply on the surface, it will be tangent on the "case 2" side before "case1" side.
    Depends on the number of hits, but If there's only one point on the case 2 and others in the case 1 (big twist here !), the MAXINDICES should do the job as well.
Children
No Data