I forgot to mention that you'll probably have to remove the last path
from the original list of points.
To do that, take the output of the Param Viewer, feed it into a List
Length component. Now you know how many paths you have so feed that
number into the Cull Nth 'N' input (we'll remove the nth which is the
last in the number of paths) and attach the Param Viewer output to the
Cull Nth 'L' input. Attach that to the Branch 'P' input and the
original points to the Branch 'T'. I think that will correct the
problem.
On Apr 22, 2009, at 3:02 PM, BrentWatanabe wrote:
works near perfectly. For whatever reason, I have a few invalid lines
at the end of the list. Any reason you think that might happen?
On Apr 22, 4:53 pm, Scott Crawford <[email protected]> wrote:
Brent,
Take the output from your Param Viewer, feed it into a shift
component. You've now removed the first path. Attach the output
from
the Shift component to a Branch 'P' input and your points into the
'T'
input. Feed the original points and your Branch output into a line
component and that should do it.
Scott
On Apr 22, 2009, at 2:45 PM, BrentWatanabe wrote:
So I'm getting a handle on how trees work, or at least how to access
the branches...but I'm confused as to how I might start to have this
stuff work for me.
I know it must be simple...but all I want to do is connect all the
points in path 0,0,0,0 with path 0,0,0,1 (basically make line
segments). I could separate all the paths and connect each one
individually but that can't be the best way to do it.
Attached is an image in case I'm not clear.
http://groups.google.com/group/grasshopper3d/web/data%20trees.jpg