Help for Translation/rotation pattern

Hi everyone,

I’m stuck with a code on Grasshopper. In the drawing I indicated the desired result, while in the saved Grasshopper screen there is the code I am currently setting. Basically, I’m trying to translate/rotate the pattern. I also tried connecting the pattern with “Divide Surface”, it creates points that should be manageable, but the translation/rotation doesn’t work.

[I attach image of the desired result design]

[I insert current code screenshot on Grasshopper here]

I would really appreciate it if anyone could lend me a hand or give me suggestions on how to proceed. Thanks in advance for your help!


What is needed is the GH file with geometry, not just an image.

That and your description are not clear to me, though maybe your GH file would help.

3. Attach minimal versions of all the relevant files

I would like to be able to rotate the pattern… I am designing a neighborhood, the central square would be the square and the buildings are generated around the square, I would like these to be able to rotate around the square without leaving the area.

30 12 prova.3dm (281.8 KB)
30 12 prova.gh (27.3 KB)

Parakeet v0.gh (36.4 KB)

Hello
here is a way of doing. Making a rectangle around your shape and turning it.
You should provide an angle for each closed curve.


And when you provide a script you could internalize the data you want to share. Right click on curve component. So just the grasshopper script is needed.

30 12 prova LD.gh (11.6 KB)

Thank you very much! but I’m still in trouble… I should create buildings from the scheme (like attached photo), but being able to rotate everything… is it possible to combine your Grasshoper code with the creation of buildings?

Cattura1