Grasshopper

algorithmic modeling for Rhino

Hi all,

It's two days that I'm trying to solve this issue and I cannot do it. I give up!

That's the issue:

I have different random object, Blue, Violet and Red and I want to select only the Blue objects intersecting the Red ones.

I created a simple "Collision One/Many" to do it, but what I can't do is collect together one line with the crossing line, putting in the same branch.

Find attached the sample.

Some help, please?

Thank you!

Views: 3588

Attachments:

Replies to This Discussion

Is this what you are after?

edit: I just realized that I collected all the blue with the intersecting red instead of all the red with the intersecting blue, but hey... tomatos tomatoes...

Attachments:

Thank you very much.

Now it looks simple :D

I completed the definition maintaining only the branches with 2 elements. In this way I can work in the same time in all the groups. 

Attachments:

Actually it works well only if you know which component has more entities inside.

Just to make it easy:

If I have CRV A, CRV B and CURVE C

How I can have a tree with only the intersection of the curves, like for the following exemple?

(0)
0 crv a

1 crv b

2 crv c

(1)
0 crv a

1 crv b

2 crv c

(n)
0 crv a

1 crv b

2 crv c

"Actually it works well only if you know which component has more entities inside."

That's not true. try switching the red with the blue in the above definition, you'll see it still works.

About the second part, I am sorry but I don't understand what it is you are asking. what does each branch of this tree contain? The intersections(points) or the curves that intersect? I guess it is curves but then why does each branch have 3 curves in it and not 2?

Please explain more,

nikos

Hi Nikos,

my second part is not strictly connected with the Rhino file.
I was just asking what if I have thousands of curves of 3 different typology (imagein a truss structure) and I want collect in a tree those curves, for example:

Branch 0: A0,B0,C0 (all of the same truss bay);
Branch 1: A1,B1,C1;
Branch n: An,Bn,Cn.

Sorry for my poor explanation  

So you are trying to rebuild the structure's triangles after -for example- exploding them? Is it something similar to this you are asking?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service