Avoiding intersections

Hii there,

Since i’m quite new to grasshopper and couldn’t find a solution to this problem myself i’m giving this forum a try.

I’m giving my first try at setting up a script for a generative floor plan. My idea is to generate it using galapagos. Now my goal for now is making sure that the rectangles don’t intersect with eachother within the given boundary. In this case the outer square.

The two rectangles in the middle are given a specific area which they need to maintain, but can vary in size within that specific area. This script together with the outer boundaries are already set up.

The problem i’m running into is that i can’t seem to figure out how i can avoid the rectangles getting intersected without the use of galapagos. I already want to use galapagos for a different output. (the optimal usage of space of these rectangles within a given boundary).

What i’m trying to achieve is that the 2 rectangles within the square can’t intersect with eachother within the boundaries of the big square without the use of galapagos.

Anyone have any experience or any tips which i can apply. Thx in advance! :smiley: ,


I have a picture included as well as my grasshopper save file.

Avoiding intersections within boundaries.gh (18.1 KB)

This doesn’t answer your question, but I remember seeing a similar topic here: Magical Tools for Architects (WIP) - Grasshopper

1 Like

Thx, i’ll check out the post :smiley:

1 Like