Grasshopper

algorithmic modeling for Rhino

New to grasshopper please help

I have a small script which gives each building on a site a specific height based on the ratio between the footprint and the total site area. I want to create a setback on the north face of each building. Following a specific angle at a specific height, the first angle is 40o starting at a high of 5m and then changes to 60o at 15m up to roof height.

The way I have it working is to split this along a line but we need this to work for multiple buildings and would be better if this dose it automatically rather than drawing a line to manually work it out is there a way this can be done?

please see files and screen shots below. there is a sketch of what I am trying to get to work as well.

Thank you


Views: 1413

Attachments:

Replies to This Discussion

Hi there,

the sketch you did is a little bit different from the massing you proposed in the rhino-file. Anyway, you could of course change the hight, 5m and 15m in the script I have attached, also the angles. Hope that helps, tried to be as straight forward and tidy as possible. Also the Rhino-file is in mm.

cheers, Phil

Attachments:

hi 

Thanks for that it works really well.

Can you advise me on where the cut is referred to, I.e. how can this be changed to cut from north, south, east, west sides of the site? 

I want to be able to change the direction of the step back (cut) in the floor plates for so that I can cut from different directions. please see attached as example of direction. 

thank again for the help its been a life saver 

So the script I sent in my last post is for the x-direction of cuts, just change the sign of the vector to -1. (Also marked in the picture attached)
Attached is a second script with a couple of changes for a potential y-direction-cut. Same rule applies, if you want it in -y, change the sign to -1 of the vector marked in the screenshot. Hope that helps.

cheers, Phil

Attachments:

Thanks you for all the help so far :)

when i am changing this to -1 the trim component stops working and it seem to trim it on both sides is there something i have forgotten to change?

sorry hope i am not asking to much as i am new to this taking a bit of time to sort out. 

there is an addition i added for multiple buildings but it doesn't seem to be fitting in correctly is there a simple step i have missed? please see attached file for reference

Thanks again.

Attachments:

Got it. Now it is independend of the xy-direction, it is just flipping through the 4 sides of the rectangulare base geometry. Hope this helps.

Use the slider to change the side.

cheers, Phil

Attachments:

amazing thank you so much it seems to be fully working.

is there a way to do this over multiple building plots at once?

Thanks again 

Potentially, but you might have to reorganize a couple of things. Try grafting the input and reference multiple solids.

cheers, Phil

I have set a multiple buildings script it works well on its own but it is multiplying the floor plates meaning that when selecting two build site areas and two buildings it is resulting in four floor plates being produced. when this is done on more then 2 building area its is multiplying it again. please see screen shot of it not working and not. can you please help find the problem 

please see grasshopper file attached 

thank you. 

Attachments:

Okay no problem, there you go. Just replace the curve-input.

Attached .3dm and .gh.

cheers, Phil

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service