Polygon generating component creates an error

Hello grasshopper enthousiasts!

I am working on a definition given as example in the book ‘Generative Algorithms’. As you can see, the idea is to create a series of polygons at the end of a series of lines. Only thing is I get more polygons on the last row, while I only want one on each row. And the more rows/columns I generate, the more the number of these polygons on the last row increases. Anybody got a clue why? If the inputs for the polygon are 20 base planes and 20 values for the radius, why do I get 80 outputs?

…and how I can fix it?

Yours eternally indebted for the help!

GA Exercise3 - transformations. curves and linear geometries.gh (12.9 KB)

Edit: I eliminated the duplicate component and solved this. Can anybody help me understand why the duplicate component would have been necessary?

In this case, data matching is performed according to the longest list rule.
Therefore, all the remaining radiuses are applied to the last item.,
Anyway, there’s no need to use Duplicate Data.


Or, you can usePartition List.
GA Exercise3 - transformations. curves and linear geometries_re.gh (14.4 KB)

1 Like

Check this as well…


GA Exercise3 - transformations. curves and linear geometries_reV2.gh (18.1 KB)
GA Exercise3 - transformations. curves and linear geometries_reV3.gh (18.1 KB)

Thank you! Learned something new today…