RSF -

It is true that David is thinking about how to do a list of list. It
is one of the limitations of the Grasshopper model.  It is a difficult
problem to solve.

I have used the Sort component in the past to keep multiple sets of
data together when reordering lists.

- Scott

On Dec 5, 6:33 am, visose <[EMAIL PROTECTED]> wrote:
> Hi RSF,
> As far as I know, lists within lists is an upcoming feature. I think
> the developer said something about needing some alone time before
> getting serious with this. Since he is taking a 4 week vacation, I'm
> sure it will be the first think that will be worked on after
> Christmas.
>
> Nevertheless, I thought of a quick fix for your problem. Just add this
> 3 components:http://grasshopper3d.googlegroups.com/web/fencequickfix.jpg
> It just checks to see if the next point of the series happen to be in
> the same place as the current point and filters it from the list. The
> junctions must be formed by the same polyline or must be hand selected
> in the right order so that the points appear consecutive on the list
> (in your example it worked out fine).
>
> On Dec 5, 12:59 pm, RSF <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Miguel.
> > In my case that woudn't work.
> > I'm passing to the "frames" component a list of curves and a list of
> > integers representing the number of parts to divide each curve (the
> > frame component second argument)
> > This numbers vary so I must separate the result single list in severar
> > list with different lengths. Ane segment might be divided by 5, the
> > next by 3 and so on....
> > I'm going to see if I can separate the list taking the integer list
> > but...even if I can it's not a very elegant suluction..
> > Thanks anyway...
>
> > On Dec 5, 6:59 am, Arquitextonica <[EMAIL PROTECTED]> wrote:
>
> > > Perhaps this can help you.
>
> > > I'm working on a panellation project and I had to create sub lists
> > > from a continous list of UV vertex, what we did was to create several
> > > chained series that will give you a Re-ordered list. For example your
> > > listo goes from 0 to 20. You maje a first serie that has five
> > > elements, a 5 step and starts at 0, that would give you 0, 5, 10, 15.
> > > If you make a second serie that has a 2 step, starts from 0 and has 5
> > > elements it will give you 0,2,4,6,8. You plug this result to the start
> > > value of the first serie and it should give you a redorder set of
> > > series like 0,5,10,15,2,7,12,17,4,9,14,19,6,11,16,21,8,13,18,23.
>
> > > Hope it helps!
>
> > > Miguel.
>
> > > On Dec 5, 6:23 am, RSF <[EMAIL PROTECTED]> wrote:
>
> > > > Hello.
> > > > I'm trying to do a grasshopper project to create fences.
> > > > The main objective at this point is to copy (align) vertical elements
> > > > to the path curves.
> > > > These elements should be spaced evently based on a "target distance"
> > > > between them.
> > > > Also "each" path segment should be divided number of segments and not
> > > > by lengh.
> > > > It works fine but theres a little annoyance...the vertical element is
> > > > copied twice in the segment junctions.
> > > > I used the "Explode" component that worked fine for dividing each
> > > > segment but the result of the "frames" component is a single list not
> > > > a list of frames for each segment that would result in a list of
> > > > lists.
> > > > Consequently, solving the doubled elements in the junctions problem
> > > > using "subset" component, after "frames", to eliminate the first
> > > > element (or the last) of each segment doesn't works.
> > > > Any thoughts about this?
> > > > I attached the grasshopper project and a sample 3dm file if anyone is
> > > > willing to take a look.
> > > > Thanks- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Reply via email to