I am trying to work on a script in Grasshopper which would help me to maximize on the number of cubicles for a given floor plate. There are 4 different types of cubicles and the only constraints are:
- They have to all fall within the fixed floor plate.
- They have to be each separated by a (variable) ‘x’ unit distance from one another.
The idea is I’d let galapagos figure out whichever cubile it would like to use in whatever combination to give the best result in terms of maximum cubile area along with any orientation. (Note: some are larger to accomodate more people, some are smaller but would would require to have the spacing between them).
I am new to grasshopper and this is more like a personal challenge that I have taken up to build my understanding of software. I have spent quite a bit of time figuring out different ways to solve this, but I keep facing one problem or another in whatever approach I take. Either I am not aware of some components that would help me solve this or its just me not able to crack the logic or whether its too coplicated to be worked on Grasshopper I do not know. I would really appreciate if someone could help me with this process. I have attached the best probable solutions that I could come up with if it is of any help. (Note: they might be very basic or even the wrong approch to solve this problem!)