i cant get my head around this one at the moment..
i have (a) number of points, and i want to divide them up into (b) number of groups.
say, 14 points into 7 groups
so i want to automate splitting up the 14 points into 7 groups of 2 points..
bearing in mind the number of points could vary, so the number of points in the groups would vary.
any thoughts?
cheers,
Mark
grouping conundrum
4351 3 1- MWainwright
- Member
- 119 posts
- Joined: 7月 2005
- Offline
- wolfwood
- Member
- 4262 posts
- Joined: 7月 2005
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
I just wanted to futher expand this thread on the partition SOP.As I am struggling to use this SOP !
I have a nurbs curve with 8 ( 0-7 ) points. I have then broken this up into 7 sections using the carve SOP giving me 14 points. 0 - 13. Now I want to create 2 groups of points with the partition SOP but with a difference. I want to put the first point of each segment into the first group and then I want to put the 2nd point of each segment into the second group.
Solved !
used 2 group SOPS !
rob
I have a nurbs curve with 8 ( 0-7 ) points. I have then broken this up into 7 sections using the carve SOP giving me 14 points. 0 - 13. Now I want to create 2 groups of points with the partition SOP but with a difference. I want to put the first point of each segment into the first group and then I want to put the 2nd point of each segment into the second group.
Solved !
used 2 group SOPS !
rob
Gone fishing
- Simon
- Member
- 2199 posts
- Joined: 7月 2005
- Online
-
- Quick Links