Grasshopper

algorithmic modeling for Rhino

I have this grasshopper definition which I'm happy with the result, but I need it to work using a similar rule base to L systems. I need to be able to control certain variables such as when the branching begins and the angle at which it branches out. 

I will be having several of these branching patterns and so I also need to get them to interact/connect with each other.

Can anyone help me out? I'm fairly new to grasshopper. 

Views: 2234

Attachments:

Replies to This Discussion

Your best option is to use Rabbit, which has some parametrized variables.

"interact/connect with each other."

Can you elaborate on it a bit more? It is ambiguous and I am afraid xD. okno.

If you want more advanced solutions, you can create your own grammar generator in gh together with a translator from that grammar to geometry. But to be honest this is inefficient in gh, it's task for code. Or contact me if you are looking for something very specific/complex.

I'm trying to achieve something like the images attached. Rather than a bundling approach, I will be plotting several points along a line and want this branching system to grow out from these points if that makes sense. 

Attachments:

Ok, nothing to do with L-Systems.
If you just want to look like growth, why not make it easy?
To make several branches end at the same point, the lines entering in the [Shortest Walk] must match at their end.

Attachments:

Sorry I should have explained a bit better what I'm trying to achieve. I'm marking out points of geothermal energy and the idea is that I'm simulating drawing the hot water from the ground at these points and the water then flowing outwards.

What you have produced is more or less what I want the end result to look like but I need to achieve this by some sort of flowing/branching system. So rather than creating proximity links based on closest points, I need to establish a set of rules which determine the lines to branch out. 

Ideally I would just use your method to produce the end result, but I have to include the grasshopper definition when explaining the logic behind it.

Does this make sense or am I confusing myself haha!

There are many non-geometric algorithms for reproducing branches. But I do not think they are for a beginner in gh. The forum could help you, but I am not the one who does the work for others for free, especially if has not even passed the research phase.

What you want to do makes sense, but the rules are missing. There must be research work on it (not gh I mean), which can give you clues. That is, to simulate some geothermal principle (if you allow me to say so) in geometric or process rules. For example, if you have a map of elevations, water falls by gravity, then the rule would be that the water will be displaced by minimizing the gradient. Something like that, I suppose.

Ah thanks, yeah sorry I see what you mean. I think that is a bit too advanced for me haha. 

Could you explain what you mean in your previous comment about how to make the ends of some branches meet?


I would also like to create an option like Image 4 attached, however have the ends of some of the branches merge/connect to the branch next to it, rather than 4 individual branching patterns.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service