Orienting geometry based on the centroid or points of rectangles

Hi! I am creating a furniture layout of an office space. I am having a hard time orienting the Chair onto the rectangles. I already tried getting the centroid of the chair, but some curves are missing when oriented.

I attached the file below. the components grouped in yellow are the basis for orientation.


FLOORPLAN.3dm (824.5 KB)
FLOORPLAN.gh (20.4 KB)

Hi @Aidea ,

Maybe this is a solution for you.
FLOORPLAN.gh (27.2 KB)

Hi Thank you for this, it’s a huge help :slight_smile: