Grasshopper

algorithmic modeling for Rhino

so i just wrote a node that would split a list into multiple smaller list... and then i discovered a node already exist to do this Sets -> list -> partition list. but feeling proud of what i accomplished i decide to post my version anyway (mine only works on Points though)...

tPts (total Points) are the total number of points to work from

intS (integer Split) is the value to split the list around. so if tPts is 50 and intS is 2 then the final returned value are 2 objects containing list of 25 points.

oh, and the "item sel" node is a utiltiy node i wrote that lets me scrub through and look at individual values in an index.

if you're game feel free to give me feedback about my coding style... im still trying to get hang of this.

M

Views: 1544

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service