Problem with curved wall / rebar script


I am trying to make a script that will create rebar in a curved wall by adding horizontal and vertical bars but I’m not sure if I am the right tracks with it or not ? when I added the “Surface.PointAtParameter” node i expected it to give me points around the top and bottom of the wall but it does’nt appear to do that.

Rebar for Curve Walls.dyn (32.3 KB)

Cheers for your time