Grasshopper

algorithmic modeling for Rhino

Hi,

first of all I would like to say how I appreciate this forum for helping me getting started with GH. I have found answers for many of my questions just by reading through questions other members have made but this time ,though I thought lots of people would have tried to do similar things, I haven't found the answer to my doubts, yet!

I have got a plan with polylines for sites to which i would like to randomly create buildings (2d) with a set of parameters like max/min site coverage ratio and setbacks which I wanted to control individually through sliders and create building volumes(3d) on a terrain surface within certain building height range. Currently I have been able to scale the sites curves down to buildings curves within a site coverage ratio range and create volumes on the terrain surface within a max/min height range but I can't place theses volumes randomly within the setbacks nor make sure they align with one of the sites sides (e.g. the front or the sides of the sites making certain typologies). I hope this wasn't too confusing!

Any help will be greatly appreciated!

Antonio

Views: 1552

Attachments:

Replies to This Discussion

forgot to attach these

Attachments:

LIKE THIS?  ALMOST  

I CHOSE THE CLOSEST EDGE TO THE OUTER EDGE 

THEN I LOOKED FOR THE TWEENED CURVE 

AND THEN DRAW A LOFT ..HALF THE PLOT

.. NOT   A PRACTICAL SOLUTION NEITHER REALISTIC ... AS BUILDINGS ARE NOT DISTORTED WITH PLOT SHAPE BUT A GOOD START 

FEW PLOTS HAVE MORE THAN 4 EDGES ..TO BE FIXED 

FILES ATTACHED 

Attachments:

another one .... even closer

Attachments:

Thanks Mohamed, this is definitely closer to where I want to get!

I couldn't quite get my head around why some buildings turned out to be triangular... Is it because the middle of one of their sides was closer to the "closest point" of the curb curve than the front?

I am now attempting to do the flowing operations:

1. explode the site polyline, offset each curve individually and create a new geometry from this

2. scale down the resulting geometry to that it's area matches my desired site coverage

3. align the final geometry to the front of the site

I was able to do the first two steps and used the definition you sent me to do step 3. The only problem are that I am not being able to apply it to multiple sites at once, I know it is a sets problem but I haven't been able to fix it yet. What do you think?

files

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service