I just uploaded a definition that allows you to extract individual U and V rows from a surface point grid. You don't need scripting for this as its achievable with a few components (surprisingly few actually). I'm not sure if its what you're looking for, but its worth taking a look.
http://grasshopper3d.googlegroups.com/web/extractU_V_screencap.jpg?hl=en&gsc=W5eDCyEAAABH7LxnJGsHgHj2g0vsUYQdkDKCXVaZu1Bm5asWb2MF80zfKN-m9S9niuHrq-IEXAE http://grasshopper3d.googlegroups.com/web/extractU_V.ghx?hl=en&gsc=W5eDCyEAAABH7LxnJGsHgHj2g0vsUYQdkDKCXVaZu1Bm5asWb2MF80zfKN-m9S9niuHrq-IEXAE -Damien On Jan 26, 11:51 am, Evert <[email protected]> wrote: > Hi, Thanks for replying! > > My input list are UV points divisions on a surface and the subsets I > need at this moments are rows of point in the 2 directions. > > I'm sure it's possible with GH components but I spent loads of time > yesterday and I needed to build each subset separate changing the > range for every rows. So I though it could be possible to script in > VB.net to produce UV subset for each row where sliders would give you > the UV in the division points for the surface and also the subset list > to be produce by the vb.net component. > > I will then would like to have odd and even points subset for every > row so I can move them to become the control points for nurbs curves > and then to be able to loft them. > > Thanks again > > Evert Amador > > On Jan 26, 4:09 pm, Rajaa <[email protected]> wrote: > > > Hi, > > Can you give specific example? > > That is what is your input to the sorting script component, what > > output you expect and what sorting function you need. > > > On Jan 26, 9:51 am, rompompom <[email protected]> > > wrote: > > > > i would try to create a multidimensional array or list. since it's not > > > possible to define classes in the scripting node, that's probably the > > > only possible solution. if you pass that array to a predefined gh-node > > > this, of course, isn't of any use. you can just do that, if the node > > > to handle that array is a scripted node too, and in that case you can > > > write all the code in a single node... > > > > other possible solution: multiple outputs ordered in the way you need > > > them. but that only works, if you have the same number of points for > > > each surface. and it can be very annoying if the point count for each > > > surface is 137 ;-) > > > > sip matthias > > > > On Jan 26, 4:34 pm, Evert <[email protected]> wrote: > > > > > Hi All, > > > > > Has anyone seen any examples of creating and managing subset list with > > > > the vb.net component? > > > > > Let's say I've cerated an array of point in a surface and I want to > > > > created different subsets of points to be able to manipulate them > > > > independently. any ideas? > > > > > You help will be very much appreciated. > > > > > Cheers! > > > > > Evert Amador- Hide quoted text - > > > > - Show quoted text -
