Grasshopper

algorithmic modeling for Rhino

Shifting the Tree Branches from excel & DAM ANNOYING

Hi Everyone,

This should be a quick fix for some.

I am reading an excel document which contains GPS points. Everything is fine, except I can't to work with chunks of branches.

I have shown how things work manually, but I can't think of a way to filter through the branches with a step of 2.

What I would like to do is go through the branches like photo and example below. This is important because the amount of points varies in some branches. The image shows the logic.

{0}

{1}

Create points, etc etc

{2}

{3}

Create points, etc etc

{3}

{4}

Create points, etc etc

Hope that is clear.

Under the pump,

Liam

Views: 286

Attachments:

Replies to This Discussion

Hi Liam,

sorry, it's not clear to me. What's the logic here:

{0} and {1}

{2} and {3}

{3} and {4}

Why is 3 repeated?

--

David Rutten

david@mcneel.com

Assuming you made a mistake with the repeating 3, here's how I'd solve it:

--

David Rutten

david@mcneel.com

Attachments:

Thanks David,

This is exactly what I was trying to do.

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