Rectangle Mapping - Rotate

Hey, does anyone know if it’s possible to map a profile that was created in Rhino, from a grasshopper created rectangle to another grasshopper created rectangle, that’s in a different position and orientation but then be able to rotate it and still have it orientated correctly?


I’m referencing rectangles in my rhino model for the creation of the rectangles that map the profiles, and I would like to be able to move/rotate/resize the Rhino reference rectangles and have everything in Grasshopper update accordingly.

You can see in the picture above that when I rotate the Rhino reference curves the profile on the horizontal plane stays where is was originally referenced, and the profile that was remapped to the vertical rectangle goes all wonky.
Is this possible or should I use a different strategy?
Cheers
Rectangle Mapping - Rotate.3dm (81.9 KB)
Rectangle Mapping - Rotate.gh (17.6 KB)


mover.gh (13.6 KB)

1 Like

I think I might have figured out where I was going wrong:
I should not have linked the source rectangle to the geometry in Rhino (the reference rectangles) But just set it in the position where the profiles were originally referenced.
Then when I rotate the rectangles in Rhino the original source rectangle and profiles stay where they were and the profile that I mapped to the rectangle that is referenced to the Rhino geometry rotates correctly.

Hey Ftzuk

Yes I also ended up just using the orient tool.
Using the xy plane as the source, and then constructing a new plane where I wanted to map the profile to.

Thanks