No I figured it out. Rather then using merge I just connected all four
points into the next component by using holding down shift and
connecting all four. This included all the points for all four faces.


Eric

On Apr 30, 10:31 am, taz <[email protected]> wrote:
> http://groups.google.com/group/grasshopper3d/browse_thread/thread/a29...
>
> On Apr 30, 1:27 pm, taz <[email protected]> wrote:
>
> > Eric,
>
> > There is a known bug with the merge component.  After the first path
> > it will throw a null value for the first item in each subsequent path.
>
> > I can't recall what people figured out as a temporary workaround, but
> > try searching for discussions about "merge" or "merge bug."
>
> > -taz
>
> > On Apr 29, 5:32 pm, aireq303 <[email protected]> wrote:
>
> > > I'm trying to take a box and turn it into a mesh with 4 equally spaced
> > > faces per side of the box. So a mesh with 24 total faces. Then I want
> > > to take the four points from each face and create a poly line that I
> > > will later extrude.
>
> > > I think I've figured out how to do this with data trees. Here's what
> > > I've done.
>
> > > Start with a box.
> > > Turn it into a mesh with Mesh Box
> > > Split up the Mesh with Mesh Components
> > > Used Graft to create a data tree based on  the Faces of the mesh.
> > > Get the corners of the face with Face Components
> > > Merge All four points back together into a list.
>
> > > After the merge I have a Structure with 24 paths (for 24 faces), and
> > > each path has N=4 for four point indexes per face.
>
> > > But If I actually look at these values the first face has four
> > > indexes, yet every other face only has three indexes with the fourth
> > > value being null. Cleaning the tree gives me a structure like this
>
> > > Structure (Paths =24)
> > > path {0;0;0} (N = 4)
> > > path {0;0;1} (N = 3)
> > > path {0;0;2} (N = 3)
> > > path {0;0;3} (N = 3)
> > > etc...
>
> > > What's going on here? How come all my faces don't have four points? If
> > > I pull out any face manually with List Item I do indeed get four
> > > points.
>
> > > Eric

Reply via email to