colidescope

/live/ dividing-spaces

Welcome! You are not currently logged in. You can Log in or Sign up for an account.

Dividing Spaces

A recursive approach can be used to model the process of iteratively dividing a space to derive a set of connected spaces (a floorplan)

In this demo, we will apply the recursive logic covered in this tutorial to create a basic subdivision process that takes a starting closed boundary curve and progressively divides it into pieces to generate a set of smaller spaces. This creates the starting point for our floor plan generator which will be developed over a series of sessions.

The core of the subdivision logic is a process that starts with a single space represented by a closed curve and divides it into two spaces based on parameters that dictate the direction and location of the split. In the demo, we first model this process in Grasshopper using only Grasshopper components. We then convert the process step by step to Python code developed withing a single Python component. 


+Splitting spaces in Grasshopper (part 1)

In the next tutorial, we will wrap this process into a custom function, which will allow us to apply it recursively to split a space continuously into a set of smaller spaces based on a set of parameters.

⚠️ You need a premium account to access this content.

+Downloads:

⚠️
⚠️
You need a premium account to access this content.
04-02-02.3dm
Starting file
⚠️
⚠️
You need a premium account to access this content.
04-02-02-end.gh

+Splitting spaces in Grasshopper (part 2)

⚠️ You need a premium account to access this content.

+Downloads:

⚠️
⚠️
You need a premium account to access this content.
04-02-03-end.gh

+Splitting spaces in Python (part 1)

⚠️ You need a premium account to access this content.

+Downloads:

⚠️
⚠️
You need a premium account to access this content.
04-02-04-end.gh

+Splitting spaces in Python (part 2)

⚠️ You need a premium account to access this content.

+Downloads:

⚠️
⚠️
You need a premium account to access this content.
04-02-05-end.gh