Grasshopper

algorithmic modeling for Rhino

Hi I am new at grasshopper and I'm having trouble figuring out how data is sorted in grasshopper.

 

Objective:

I have 3 lines meeting at one point, with 10 points on each line. I want to make vectors along each line going from the end point to each point on that same line all the way to where the 3 lines meet. Any ideas? I have attached some pictures to help explain...The blue arrows are what I want it to do. 

 

How I tried to do it:

I took the curves and used the divide command to divide it and give me points. Then I used the Vect2d command using the meeting point as one point and the output of the divide command. 

 

Thanks in advance!

Views: 8973

Attachments:

Replies to This Discussion

cull out the meeting point in whichever method you choose. Then use the vector 2 point components. for the first input plug the single meeting point in. For the second input plug in a merged or joined list of all the other points. This should result in a list of vectors going from each point to that meeting point. I hope. I don't have GH in front of me.

You are doing this right, use the divided points as input A for Vec2Pt, and the meeting for Vec2pt input B, You don't need to do anything with U, assuming that you want the magnitude of the vectors to match the distance to the center. Keep in mind that vectors are not drawn visually in rhino, they are only passed as data, if you want to see the vectors, use the component with all the different arrows in the upper right hand corner of the vector menu, I don't remember what it is called, put your start points into A and the vectors from Vec2Pt into the V

 

hth 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service