ok. so i mostly figured it out on my own. Nth doesn't work, but using a subset of a list that is being fed by an interval that is determined by inputing a single integer (1) and the slider minus 1.
i say mostly works because i am using the frames on a curve operator, so i am getting a little math weirdness. say i want 6 boxes on a curve. if i use the slider to set an integer of 6 then the curve is going to be divided into 6 segments, if i align the boxes onto the frames from the frame on curve command then i end up with 7 boxes, if i cull the first and last with the subset command i end up with 5. no matter what i do, i will always have one more and two less than my slider. i think i just need to get points from divide curve, cull the first and last, draw vectors on these points that are perpindicular to the curve, then align the boxes to these points and vectors. so now i need to figure out how to get a vector that is perpendicular to a curve, and to align a box to this vector.... ugg. carter On Nov 12, 8:27 pm, carter <[EMAIL PROTECTED]> wrote: > hi again andy, > > the cull Nth doesn't seam to work the way i want it to. if i tell it > to cull an index one, it will then cull every one, if i tell it two, > it will cull every second one... > > what am i doing wrong? > > thanks > > carter > > On Nov 12, 7:19 pm, carter <[EMAIL PROTECTED]> wrote: > > > very clear. thanks. > > i am finding grasshopper is like that, most commands require an > > absolute break down of the operations that you are trying to achieve. > > an interesting way to think. > > thanks again. > > > On Nov 12, 7:14 pm, Rchitekt <[EMAIL PROTECTED]> wrote: > > > > 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
