So Close! Rotate objects distributed along curve to face center point

I’m almost there and would love to finish this script.

I have arrayed objects along a curve with a graph mapper. The objects do not rotate back to face the original origin. The flat of the square tube stock should face center point.

How should I think about solving this problem?

Array.gh (18.2 KB)
Array Model.3dm (15.1 MB)
Array.gh (18.2 KB)

Like this?


Array_re.gh (28.0 KB)

1 Like

Yes! Thank you.