Issue in making wavy brick wall

I’m trying to make wavy brick wall.

Everything goes fine, except for the fact the top two courses are turning out to be exactly the same.

I’m also getting the error. “Parameter is outside the curve domain, results may be unpredictable.”


However, I am unable to locate the exact place where this error is occurring.
Please help.

WAVY BRICK WALL duplicate course.gh (10.2 KB)

Reparameterize your curves as shown below.

WAVY BRICK WALL duplicate course-b.gh (18.4 KB)

1 Like

I just downloaded your script. The courses at the top are still the same. I also did reparametrize in my own script at the two locations as mentioned by you but still getting the same old result.

I’m wondering how would reparametrize solve the issue as the evaluation location of the contour curves would remain exactly the same for the computation in the entire script. :thinking:

I guess there’s some issue with how the data structure is being managed in the script. Isn’t there a way to check the orange error bubble and find the exact spot where the issue is coming?

Your count was off because of the mask you sent into Split Tree. It should start at 0, not 2.

2 Likes

Thanks a lot! That solved the issue. :+1:

How did you tackle the issue ? I mean how did you check the script to reach to the conclusion that there was issue with the masks ? What was your thinking process like?

You compared outputs of any particular components by reading and analyzing their data ?

I used the Tree Statistics component at various outputs. One thing it does is give the number of paths, which allowed me to see the problem coming out of your Split Tree, where there were 28 paths instead of 29 and realized it was the mask.

1 Like

Aha. I see. Thanks. :+1: