Grasshopper

algorithmic modeling for Rhino

Hello everyone,

I have a list of lines (connection between points A,B,C,D)

And now i want to get a tree where everybranch has the two lines with same start/end Point (AB;BA) ->

0;0;0

line (AB)

line (BA)

0;0;1

line ( ... and so on. 

I don't care in which order, it's just important for me that the 2 lines which belong to each other are in the same branch.

I hope somebody can help me!

best regards,

Tim

Views: 565

Replies to This Discussion

Your thread title alone is a fail.

Read this first! How to get help on this forum.

1. Choose a descriptive title for your post
Don't call your question "Help!" or "I have a problem" or "Deadline tonight!", but actually describe the problem you are having.

Sorry, don't know why I picked the title.

See #3:

3. Attach minimal versions of all the relevant files
If you have a GH/GHX file you have a question about, attach it to the post. Don't expect that people will recreate a file based on a screen-shot because that's a lot of pointless work. It's also a good idea to remove everything non-essential from a GH file. You can use the 'Internalise Data' menu option to cut everything to the left of a parameter:

Excuse me,

this is the gh-file with the just the curves. 

best regards,

Tim

Attachments:

Could solve it. If somebody is interested: I made numbers out of the coordinates of the end points and multiplied them. So I could sort them. File attached. 

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