algorithmic modeling for Rhino

Not sure how the logic of list insert works. I have 3 sine curves of 76 points. I need to add points at the beginning, crest, and end of the curves. In the picture the wavelength is 21 points long, 19 internal points. Whenever I have the insert indices at 0, 20, 40, 60, 80, the curve doesn't form correctly... What should the indices be? 

Views: 36


Reply to This

Replies to This Discussion


For some ungodly reason, it's at indices 0, 19, 38, 57, 80. Or the (number above in white) - (its position in the list read from left to right):

{0,20,40,60,80} - {0,1,2,3,4} = {0,19,38,57,80}

Not at all sure if this is the correct syntax but hopefully y'all get the idea



Search Grasshopper


  • Add Photos
  • View All

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service