Grasshopper

algorithmic modeling for Rhino

Hello guys,

I am attempting to create a spiderweb within a polygon (a triangle for now). Ideally structural lines should connect the polygon center with division points of the polygon curve.

The spiral would then start at the center and go trough points on these structural lines and spiral outwards until it is limited by the polygon edges.

For now I managed to create a Fibonacci spiral from the center of the polygon but I am guessing this is not the way to go since the spiral is not at all connected to or influenced by the lines or the polygon apart from the mutual center point, so this will not help me at all if I want to do any structural analysis afterwards.


If anyone could help me with this I would be very grateful,

Thank you in advance,

Best,

Luka

Views: 5655

Attachments:

Replies to This Discussion

This is a quick sketch of what I am trying to achieve.

Hey not perfect but maybe it helps :-)

Best Regards

DeDackel

Attachments:

hey,

thank you for your answer :)

i thought about this a little bit more and basically came up with an idea that i could create a spiral by dividing those "structural" lines of the web and then connect points so that on line one it would go trough point lets say x, on the second line point x+1 on the third line x+2 and so on, so it would go trough point 1 on first line, 2 on second one and 3 on the third one...

however right now i have to draw each line separately. ideally i would like to be able to increase the number of anchors (points on a polygon). to draw every line seems like nonsense but i cannot find a way to make the definition simpler.

basically simplifying the definition an finding a way to increase the number of lines without copy pasting them is what i am trying to do now...


do you know perhaps how i could do that?

Attachments:
What if you make the spiral as interpolated curve, find intersections with lines and reconstruct the spiral as polyline from the intersections?

Hello Manuel,

thank you for your answer very much.

I tried this, but the list does not seem to be right...

Points are in the correct order, but they do not connect in that order.

Attachments:

Hi, 

How about this.

Regards,

M.

Hello Marios, 

This is perfect, I tried to re-do your definition and it works great. I think this is exactly what I needed. Now I am going to try applying forces to this and see how it goes.

I really appreciate your effort, 

Best

Luka

Hello guys,

Marios, thanks again for your help. I tried to use your definition with Kangaroo and karamba and basically wanted to pull those connecting lines down with gravity, not slider. Basically I want the gravity to influence that mid point which is now moved by a vector. The same thing would happen except that mid points would not move towards the center but down.

I turned your definition around so that I can not rotate the entire web as long as all points are in the same plane.

However, that last interpolated curve always remains red for some reason. Just like in your JPEG (meesage is "insufficient interpolation points")

I tried both Kangaroo and Karamba, but for some reason I do not get the results. I am not sure whether it is because of that last red bracket or not...

If anyone has any idea how I could influence the shape of these lines I would appreciate very much.

All best,

Luka

Attachments:

Hi Luka,

You should definitely try and understand the logic behind the snapshot I am attaching. I have only tried the Kangaroo version. The def is raw as I was just adding components to get what needed to be done so you might narrow it down fairly more. The gradient colouring is not displaying stress or tension but the displacement of the geometry.

ps> the red coloured component indicates that some of the points fail to create a curve probably because they have the same coordinate (the three of them), due to the way we create them.

best,

M.

Hello Marios, 

Thank you very much for your help.

I managed to make it work. I am only not sure what did you put as the value of B in ''larger than'' component that goes into P of ''cull pattern'' component. For some reason it does not work if you leave it on 0 and the spring element remained gray so I put it to 0.1 and it seems to work perfectly.

This is the resulting spider web:

Thank you again for this, you have helped me a lot.

All best,

Luka

Hello guys,

I have been trying to create a web that would resemble a funnel web: (see photo below). Basically I would like to move away from using the web only as a planar structure.

I tried to project the spiral and the curves onto a lofted curved surface that would resemble the funnel shape but the result is not what I wanted.

Is there any way to work with this spiral just like in previous example suggested by Marios but in 3-D? So the curve would follow the intersection points with structural lines in three dimensions as well?

Thanks so much for any potential ideas.

Best,

Luka

Hi Luka,

I am a student in Architecture and just got in touch with grasshopper during my studies. Since I am a very beginner I try to get some information from the internet. 
I have to create a spiderweb and struggled with the same problems you also described (see comment of 5.10.12).
Creating the spiderweb in my case is the first step of the task.
I followed your discussion with Marios Tsiliakos and saw a part of your grasshopper definition, but i would be interested in the beginning of the definition. Would it be possible for you to make a screenshot of the definition?
Thanks for your help!
Stefanie

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service