Grasshopper

algorithmic modeling for Rhino

Hi GH community,

As stated in the title, I want to remove duplicate branches (sharing the same pair of numbers) and leaving on one. Please see image for reference: Thanks in advance. 

BR,

Homar

Views: 2202

Attachments:

Replies to This Discussion

Hi Homar,

Please look this definition..

Attachments:

Hi Remy,

Thank you for your def., however probably i should have explain further. Actually, each of these branches represents a pair of panels. I only want to remove one of the duplicate pairs.

BR

Homar

Hi,

try this C# component...

Best,

Raul

Attachments:

Thanks Raul but right now i'm just home and has a old GH in Rhino 4 and the C# component returned a red balloon warning.

I'll have to wait to see the result when I'm in the office.

-Homar

yep,

let me know if it works. Here is a screen shot:

just put Run on true. With "inv" you can turn (invert) the order of the values inside the branch.

Best,

Raul

Base on your screenshot, This is exactly the result I need.

many, many thanks.

BR,

Homar

Hi Raul,

your def works fine in my latest Rhino 5 + GH.

Thanks again.

Hi Homar,

this is another approach using standard components. Just for the fun of it.

Best,

P

Attachments:

Same result...Just split

Hi Remy,

I revisited your definition and yup it's the same.

Thank again.

Br

Homar

Hi philipp,

it's good to also have the standard components since my GH skills is still in the caveman level.

Deeply appreciate spending your time for this.

Br

Homar

Hi Phillip,

I was wondering if you could explain how this works ? I have a hard time figuring it out by analyzing it.

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