Grasshopper

algorithmic modeling for Rhino

Hello guys, i think i am having a very basic problem but i can't solve it.

I have 2 list of points that i connect together with a line together and then loft. I am able to do that in one direction but i am having trouble to do it in the other one even using the flip matrix component.

Basically as we see on the screenshot the point are organising in a tree what i would need to do is lofting the lines in that order 0,1,2,3,4 ...

An other issue could  be that  the end of the last 2 elements of the list have the same index

thanks a lot

Views: 516

Attachments:

Replies to This Discussion

Hi Thomas,
I'm sorry: I don't have my computer with me, thus I can just answer through my phone for now. My guess is that flipping the matrix is not enough, as this would lead to connecting points with the same number, so 0 with the other 0s, 1 with the other 1s and so on. You need first to appropriately shift the elements in your list. I hope the attached drawing explains what I mean:
Attachments:

Thanks for the answer, that's exactly what i thought thanks for explaining right. My question is then what the expression to get this sequence but i a definitely give a try on the shif list

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service