Hi all,
I’m currently developing a parametric model in Grasshopper for modular CLT starter homes, and I’ve run into a challenge regarding spatial constraints within a site.
The Goal is:
I want to define a construction site boundary (imported as a free-form closed curve from Rhino) and use this boundary as a strict limit for placing and growing housing modules (boxes).
Within this boundary, I am generating modular housing units that can vary in size and position based on parameters (e.g. width, depth, spacing). The idea is that these modules should never exceed the site boundary. When the modules grow (for example when increasing width or shifting position), they can cross the boundary. What I want instead is:
If a module reaches the boundary, it should stop growing in that direction
Or alternatively: adapt its growth in the opposite direction where space is still available
If anyone could help that would be great!