Deformed and rotated grid

Hello!

Can someone see the mistake in this file?

I´m trying to generate a grid that is slowly rotating and disappearing as soon as I get closer to a tree. It should be a super simple task but somehow I´m missing something

Thanks for the help!

pattern tiles.gh (7.9 KB)

in the file you uploaded the Curves “Trees” are not present.
Regards, Eef

There are a few things going on, this smells a lot of AI generated code (which I also use btw :D)

you have 5 Curves to represent 5 different trees in your input: unless you want to generate 5 overlapped tiling solutions, each of which accounts for just one tree at a time, you need to set the Trees input to List access:

the second problem is that the first Output of the Python component is dedicated to getting errors and Print results, not a real variable output, it’s indeed named “out” to distinguish from “a”, “b”, “c” outputs:

you just renamend the out into Tiles, but that is still the “out” output and won’t receive program variables: you need to rename Tiles into “out”, then add an output that will be called “a” and rename that into “Tiles”, like this:

final result:

pattern tiles_inno.gh (25.7 KB)