Need help to create curve attractor trajectory

Hello everyone
I use Advanced 3D printing with grasshopper Clay and FDM book for creating 3d printing trajectory.
And I heve some problems with attractors for trajectory
I need to create a smooth transition in all directions from a flat trajectory to a knitted pattern.
For this I use the curve attractor.
But I cannot achieve the result as in the book.
please review my algorithm, maybe someone will find a solution.the desired result that I need in the picture.
17х01.3dm (7.3 MB)
pletenka.gh (15.8 KB)