Ok, here is a super simple sorter.  I found if I use a List data type
in the code.  I noticed David using those to inclrease the number of
outputs on a component. I can load up the output with multiple objects
on each loop.

It is much cleaner now:

http://groups.google.com/group/grasshopper3d/web/Alternate%20Sort%20clean.zip

On Oct 27, 11:17 am, visose <[EMAIL PROTECTED]> wrote:
> Sorry when i say "...with another list that has 0.1 as the step
> size..." i mean with another series component. I really miss the edit
> button in this forum. I guess it's not possible with newsgroups.
>
> On Oct 27, 7:07 pm, visose <[EMAIL PROTECTED]> wrote:
>
>
>
> > heh, actually i had it with the merge streams component, but i removed
> > them just to make it look smaller. but you are right, better use the
> > merge component so you don't have to know which list you linked
> > first.
> > About multiple lists, you could substitute the number parameter that
> > has 0 and 0.1 with another list that has 0.1 as the step size and the
> > number of lists you want as the number of values to output (or 0.001
> > if you have more than 10 lists). If all the lists are the same size
> > you only need one length component.
>
> > On Oct 27, 6:46 pm, taz <[EMAIL PROTECTED]> wrote:
>
> > > viscose,
>
> > > I like your stiching solution.
>
> > > It might be a good idea to combine the lists with a Merge component
> > > before sorting (for clarity), otherwise the first value of the stiched
> > > list will correspond with whichever list was first attached to Sort.
>
> > > But I still like the minimalist approach for only 2 lists...
>
> > > taz
>
> > > On Oct 27, 12:50 pm, Splash <[EMAIL PROTECTED]> wrote:
>
> > > > That is very creative.  I like the way your tagged the second series
> > > > as 0.1.
>
> > > > This method could be used to sort as many different lists as you need.
>
> > > > Thanks.- Hide quoted text -
>
> - Show quoted text -

Reply via email to