Yoshimura pattern with curvature

Hi, im mechanical engineering without grasshopper knowledge and i want to use yoshimura pattern with curvature. i found a topic here with script here but i have problem and i’m not able to solve it. Here is problem and related topic.

im trying to do something like that
image

here is the script.
180808 Yoshimura Forum_re.gh (19.7 KB)

the problem

and this is how script look

sorry if it’s a basic problem. i’m not a grasshopper or rhino user :confused:

Its strange, seems to be working here. I’m using Rhino 6 with the latest build.

I will try with 6. Thank you.