algorithmic modeling for Rhino
Hello world :)
I am doing my best to understand grasshopper and it's capabilities, so I am trying to use it for a project to help me in doing so.
How easy is it to add variables (obtained from site analysis) into a grasshopper script that will effect the way objects are placed, or formed? I have been all over the internet trying to find answers and had little luck so I decided to think of an example and post it to the forum. I have looked into functions, path mappers, data trees and many other components.
Say my site had 2 buildings, one that was built in 1918 (B1) and one that was built in 1920 (B2). But B2 was demolished in 2009 and B1 still exists (2011). Can a simple script be created to model this? I have had a go but my most successful attemt still fails, I can get a true statement when the the number 1920 and above is reached but I cannot get it to also show a false reading for when the number 2009 is reached.
If someone could help me out on this and show (tell) me how this could be used as a variable to create design/the placement of objects, it would be MUCH appreciated.
Cheers
Matt
Tags:
Thanks to you both! I have look at both of your ideas and done this. I want to connect them up somehow so that the larger box is always on, and when the gate and component returns a false value the smaller box dissapears.
Would coding make this easier with conditional statments?
Ideas?
Thanks Danny, this can get me started. I'm sure I'll have more questions to ask.
Do you think that it's possible to create a design or form by using data like this? Or other variables?
I can help you with the grasshopper side of things, but what you do with your creative juices is up to you. Anything is possible.
Here is a demonstration of using a csv type file contents to bring variables into GH.
data: length, breadth, height, built, demolished.
(You could include location data)
Either paste your data directly into a Panel or use the Read File component to get the source data.
I have been working on this file now, and I have come to a problem. What I want to do is essentially create stairs. But I cannot get the lines to radiate from the points at a tangent.
This is my development from the discussion above.
Matthew
P.S. If you turn on the extrusion and pipe you can see the other idea I had to represent this data.
I figured out the stairs part, well kind of. I cannot get the stairs to be perfectly straight, they are on an angle for some reason.
What I want to do now is make it slightly less random. So when you move the years slider into the future stairs dissappear, changing the way people would use them. Is it possible to have these stairs dissappear based on a formula or something? So that the position of the stair step that is dissappearing is influenced by the ones that are still there?
Hope that made sense. Thanks
Matthew
I'm basically trying to so the same thing as in this link, so if either or could be answered or if someone could shed some light that would be great!
Thanks
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by