Hi Rajaa, Thanks a lot for replying.
Yes I'd love to see and example script. I don't mind manually entering the numbers in the code. Many thanks in advance Evert Amador On Jan 27, 3:47 pm, Rajaa <[email protected]> wrote: > Hi, > > I think what you need is to have a VB node where you input the surface > (not points), divide the surface inside the node and output rows of > points that you can do whatever you need with them. > The one limitation is that you'll have to have a fixed number of rows > for the output (or change the code whenever you need different > number). If this sounds like what you need, I'll be happy to write > you a sample script. > > On Jan 27, 3:54 am, rompompom <[email protected]> > wrote: > > > hey evert > > > as far as i understand your wish, that's not possible right now. if > > you want to do what you describe, you have to script the nurbs and > > loft thing too. the reason for this is grasshopper isn't capable of > > handling subsets right now (0.5.0099). david rutten of mcneel is > > working on that, and i think it's coming soon, it's top on the > > wishlist of grasshopper users since a while. but until then.... > > > i wonder if rajaa has a solution? would be great, but as i said, i > > can't imagine solving this without scripting the nurbs and lofts too. > > > sip matthais > > > On 26 Jan., 17:51, 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 -- Hide quoted text - > > > - Show quoted text -
