Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I have to create a bisecting line between each branches; i have used "average" to find the average direction which is the direction of the bisector, but grasshopper finds the average direction between the directions of all the vectors (as you can see in the image attached), instead i want the average direction between each pair of branches. How could i do?

Thanks in advance!

Views: 498

Attachments:

Replies to This Discussion

i am not sure, try graft then weave ....

Depends on what sort of data structure you have developed there to be honest.

You're right, it was not correct what I tried to do...unfortunately I'm using grasshopper recently and my professor gave me a task not easy to solve.

However you can see attached the gh file, i hope it is not messy.

I have tried as you say and i have already studied L-System, in fact i have implemented it in gh through rabbit, but i need to rotate each pair of branches in such a way that their axis converge towards the point located on the vertical line (in the gh file i called it attraction point).

Then I should create tolerance circles around each member's tips; if these circle are intersecting then the tips of the branches must unite.

In another file, I tried to solve this other task and managed to cross the branches if the distance between the tipss is less than the diameter of the tolerance circles;but the branches of successive iterations no longer have to start from the initial nodes, but rather from new points of intersection.

Have you have any suggestions to solve this?

Thanks in advance!

Attachments:

Thank you very much for your help!! I managed to get a single module using Rabbit and I used the last part of your files to intersect the branches. It helped me a lot! You can see attached the module that i got, but i have to fix the final part.

Thanks again!

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