Kangaroo Kinematic System

Hi again. Okay, I’m stuck again on this project with a new problem as I’ve been trying to increase the complexity.

I can’t figure out why the bending goal isn’t working on these lines, which are meant to align, as illustrated below:

37%20PM

Here’s the script:
ND_DwgMachine_06.gh (25.9 KB)

What seems to be the problem? Any advice or suggestions would be most welcome.

Thanks
N