How to orient objects by edge direction in Grashopper?

Hi, i have slabs which rotated on each level, and i want to place columns by eges of slabs. So i placed columns by edges points, but i need that each level of colums will have orientation by edge instead by initial object.
Does anyone know how to fix it or do it right?

Twisted Building.3dm (108.0 KB)
Twisted (26.9 KB)

Something like this?

Twisted (32.1 KB)

1 Like

Thanks a lot, this is exactly what i need!