Unroll Polysurface not working - Please Help!

The scripted version also works fine. The orientation in a grid could be simplified.

Unroll Srf Beams.gh (902.4 KB)