Grasshopper

algorithmic modeling for Rhino

Hello, I have a fairly simple problem with the Path Mapper component:

I have a set of data arranged in this structure: (121 branches)

{0,0}

{0,1}

...

{0,9}

{1,0}

{1,1}

...

{10,10}

For some reason, whenever I plug it into any other component (addition for example), the tree restructures itself as: (121 branches)

{0,0}

{0,1}

{0,2}

...

{0,120}

This is not a problem if I want to do any computation on the whole data. However, to retrieve a specific branch parametrically (based on its {a,b} position in the tree), my definition does not work because of the self-assigned structure. I'd like to be able to sort this using the Path Mapper but I can't work out the logic to do it or is there a simpler way?

I attached part of my definition with Param Viewer for the relevant part as well as the whole WIP GH definition.

Note: The definition uses Geco and Mesh Explode (2 different plugins) using GH 0.9.0014

Thanks to anyone in advance for any help.

Cheers.

Views: 170

Attachments:

Replies to This Discussion

There are a few things you can do to rectify this.

Firstly Flatten the input C to your Series component.

Secondly Use the Replace Branches component

Thirdly (In the latest version only) use the Principal feature on the Input you wish to have the Tree Structure as.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service