Grasshopper

algorithmic modeling for Rhino

Hi, I'm having trouble making surfaces from curves using loft. I attached 2 pictures showing the curves and the order in wich they are arranged. I want to make a loft of each "row" of curves, not the "columns". When I connect this group of curves to the Loft component it gives me the following error:

1. Solution exception:Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

How do I make a loft that goes from each curve following the order "1, 2, 3, 4, 5..." with every row?

Thank you!

Views: 2202

Attachments:

Replies to This Discussion

try verifying that you have the proper number of elements in each list, sounds you should be using list length -1

Thanks for your reply. In this picture you can see the part of the algorithm where I had to manualy choose the number of the curves to make the loft, giving me the following result. Apparently the curves start at index 22 and finish at index 49. Maybe the loft didn't work because there were null values? Anyway, maybe I can work this out if there is a way to get the list of indices automatically so I can use the same algorithm with several groups of curves just like this one. Do you know how I can do this?

Attachments:
Post definition

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service