Orient points to surface and move center to center

Hey there.
I´m struggeling with the orient component.

I need to orient a set of points to a surface which is defined by 4 points.
I am able to orient the set of points 0,0,0, to the surfaces´ 0,0,0 BUT I mess up when I´m trying to move center to center. Somehow the geometry changes and I dont understand why.

Thanks in advance and cheers from Berlin



Orient.gh (23.0 KB)

I think you should flatten this C input, otherwise it will calculate one different bounding box for each branch of points belonging to each different line

damn it, you are right =). I’ve totally overseen it. Thank you!!