The second part of your question is pretty easy.  Use Cull Nth instead
of Cull Pattern.  What your trying to do is to cull the first and last
items from your list.  So, you know the first item will have index
number of 1.  To find the end of your list, just use the List Length
component.  You may have to Cull your list twice, once for the first
item, and once for the last item, but it should be pretty straight
forward.  This should give you what you need.  I can try to put
together a simple example if it isn't clear enough.
-Andy

On Nov 12, 3:49 pm, carter <[EMAIL PROTECTED]> wrote:
> hi all,
>
> another two part question.
>
> first, say i create a series of boxes, and then i want to align them
> along a curve. i took the staircase tutorial and i modified it to do
> just such a thing. but what if i want to array them with just one edge
> aligning with the curve? rather than the center of the box.
>
> second part. i set up a slider to have it array a variable number of
> boxes along the curve. what if i want to eliminate the first and last
> box? all the cull operators seem to work off of a set number of a
> list. as in 4 boxes, and no problem, false, true, true, false. but
> what if i change the slider to 5 boxes? how can i get the cull
> operator to change to false, true,  true, true, false? without
> changing it manually?
> i know these are super noob questions, but i think answers will be
> helpful to lots of people having difficulty with just getting started
> with grasshopper...
>
> thanks,
>
> carter

Reply via email to