Grasshopper

generative modeling for Rhino

Is there a way to split a list of data ( x number of points ) into  n branches(sets) of x/n points

so for instance I have a list of 28 points and I need to break it up in 4 parts of 7

I have number sliders that control the total amount ( U&V) and the branches are formed by picking i.e the U and the points will then be the number on the V slider...

 

I realize that this question may have been asked before, but I cannot solve it with the path mapper and it seems so easy

 

M

Views: 84

Reply to This

Replies to This Discussion

What have you tried with the pathmapper?

{A;B} (i) -> {i%4}

 

Best regards

 

DeDackel

something along those lines seem to work, but is there a way that the number 4 can be dynamically inserted in there, through a slider or so , so that it can change to whatever ? that is what I am looking for.. if I make myself clear

RSS

Translate

Search Grasshopper

Members

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service