Hello everyone, first time posting.
I’ve been using Revit for a while and now I am hoping to learn more about generative design.
Naturally I began exploring Dynamo and I wanted to get some advice on how to proceed.
So here’s what I want to do.
I want to generate random building volumes within a set limit, very similar to the “Building Mass Generator” script shown in the sample workflow of the primer, but with more restrictions.
Let’s say there is a site as shown (attached image). Up is north.
The white represents the site and the dark blueish thing is the road.
Now, in my country there is a height restriction on all buildings depending on the road width, which way the boundary line of the adjacent land is facing, etc.
Looking from the west, the line on the right is restriction by road width, and the left represents restriction by boundary line. (attached image)
Looking from the south, both lines represents restriction by boundary line.(attached image)
These restriction lines vary in slope, height, etc by project, so I need to be able to adjust them accordingly.
And most importantly, the building cannot touch any of these restriction lines.
So basically I want to draw an invisible boundary line that the building cannot touch, based on the intersections of all the restriction lines I drew above. (attached image)
To summarize, I want to
- Set variables for restriction line (origin, slope, height, length, etc)
- Draw the restriction lines
- Define the space that the building cannot step out of (the white shape in attached image)
- Generate random building volumes within the above restriction lines.
Step 4 I can somehow make out from the sample workflow.
Step 1-3, I dont even know where to start, so if someone could point me in a direction, I would highly appreciate it.
Thank you in advance!