Grasshopper

algorithmic modeling for Rhino

Hi  everybody!!!...

I have a problem... I have an example of urban form...

Like you can see in the picture, I have an attractor point in the center, the extrude distance is the same distance of the points to the attractor point...

But!, I looking for someting that when it is colse to the attractor point the extrude distance is high...

I wanna do something like the second picture, It is a Kartal pendik master plan by Zaha Hadid...

Somebody can help me please... :)

Views: 5029

Attachments:

Replies to This Discussion

Hi Danny,

you need to insert an algorithm (technically a subroutine) between your Attractor-distance measurement and your extrusion length. You can use an expression to modify these numbers, for example:

E = 1000/d

Where E is the extrusion height and d is the distance from the attractor (if you put this into a F(x) component you only have to write 1000/d btw., the E = is implied). Do note that division like this may result in very high buildings, you might also want to add some protection against that.

Another approach entirely would be to use a Graph Mapper. Along the X axis you have your Attractor-distances, along the Y axis you'll have your Extrusion-heights. Then pick any graph you want to map between these scales.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David!!!...

It works!!!... you are a genius!!!...

Thank you very much for always be aware of all discussions in the forum... you are really helpful!!!...

Thanks again!!!...

Greetings from Colombia.

Danny.

you could also use remap component and remap the values for 1 to 0  to  0 to 1. inverting the distances proportionally.

David,

From your comment i understand that it's possible to extract x and y parameters from the graph mapper. Can you explain how i would need to go about it?

I am hoping to use an attractor point that will do two things for me:

        1. Based on its distance to a set of curves it will deform them in x and z directions away from the point. I want both of those deformations to be in a form of a gaussian curve thus graph mapper seems to be appropriate. How do i extract x and y so that they drive vector z and x?

thank you,

konrad

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service