algorithmic modeling for Rhino
I have experimented a bit, and in a probably confusing grasshopper file I have managed to get some sort of result.
My idea was to take the wall segment as a length of an equilateral triangle and to add a triangle for each wall segment, so that I could use the outer parts of the triangle as the walls. For now, I have managed to create a project where the wall length, the number of segments and the height is controllable. The space is then created from those. Unfortunately only in the form of a long room. I would like it to be a bit more exciting in the form and also variable. Any thoughts?
I would also appreciate some input on my grasshopper file, I am sure I can achieve my results easier than my chaos ?
A better version I think.
This project still is not very variable, so I would appreciate input on how to vary the space - especially in the width, so that the space will become wider than the one segment length.
I'd like to look at what you're doing but how do I get your xml file into Grasshopper? Clicking on the link merely opens the file in IE. How do I download it to my local disk?
Just right-click on the link (to the ghx file), and select 'Save link as..' - select a location on your disk - open Rhino and Grasshopper, and in Grasshopper select File .. Open .. and then you can select the downloaded file.
If anyone has a suggestion for an algorithm that will create a variable width space where the outer walls always return to close the shape, I would greatly appreciate it.
Thanks Eirik. It turns out I have to add .ghx to the file when I save it.
Regarding your project are you trying to create random arrangements of the walls from which to choose one for the space? I'm not understanding what the criteria for a useful arrangement might be.
Sorry Chris, maybe I was a bit unclear on the criteria. I am not sure if it should result in one "correct" result, I would be happy to have more instances to evaluate externally.
But for the criteria, I was thinking maybe I should try to come closer to the maximum area that can be enclosed by the segments. At the moment the resulting space is just a corridor, I would appreciate it if this could be varied.
I was also thinking maybe the maximum space idea could be extended by adding a parameter setting the number of rooms. In this case the segments could enclose a series of spaces where the transition ia a narrow corridor? Like a model of a molecule?
I hope this made it a bit clearer? ..
Here's a definition that I put together as a starting point. I have no skill with scripted components so it's quite 'manual' by comparison to what can be done with scripting. It's easily extensible though by copying and pasting 'modules'. Perhaps it's also helpful to see how in concept someone else looks at the problem.