Help locating separate branches

I have this big tree creating structure, I want to divide this whole tree into elements defined by Unit A and Unit B, where each of these have this tetrapodal shape (joining the two curves in each unit still yields two separate items for some reason)

the point is to return control over tetrapods items, instead of random curves that are far away from each other, and maybe then group each tetrapod according to the height layer that it sits in

messy tree.gh (31.9 KB)

please :disappointed_face: i’m trying so hard to make a gradient multipipe by Z-height remapping on this one.
so that it folllows riccardo majewski solution:

but applied on a tetrapodal lattice this time (which is difficult to array, control, or find out branches)
i’m scrambling and watching video tutorials but nothing is working.

Hey @felistigris93, check if this helps.


Note:
I’m not 100% sure what your “data tree goals” are, so I’ve just minimally helped you with keeping things organized rather than suggesting other ways to get to your lattice structure—at the very least, while respecting your own coding, it should assist in visualizing the tiers you’re already developing.

My guess is that you won’t think your tree is so messy after all :crossed_fingers:.
messy tree.gh (39.9 KB)

Main thing is to include {visual} checks to correlate your inputs and outputs:


p.s.: I left your last layer as “5” but I think you meant “4”?

Anyway, good luck!

1 Like

.

thank you for your response :grinning_face: :grinning_face:

firstly, I think this fixed my tetrapod units (A+B) and now each of them is now a single polyline instead of broken two ones.

Second, now looking at your script, I realized that entwine preserves the branches, my tree was messy because i was using “merge” instead.

but right now, I am still trying to have control separate tetrapods (A+B units).

here is what I mean, first we have Unit A and Unit B, and we can see here that unit A is surrounded by a bounding box for clarification

then we made transformations:

we made some arrays and move transformations, and we lost control over unit A, now we only have control at the level of a larger bounding box, and then some more array, leaving us with a a bounding box surrounding an entire layer/floor.

my ultimate goal is to make a lattice out of units A and B, which we successfully have (4 layers), but then I want to have a separate bounding box for each unit in the entire structure afterwards (like the control we had before making our arrays and transformations, but for each unit in the lattice), because i want make a multipipe for each one, the lattice is made from separate multipipe pieces, but to do that i need to have bounding box for each tetrapod (units A and B), because this lattice is supposed to be built from identical modular pieces.

maybe my earlier post can clarify what i am exactly seeking, in this thread, Riccardo helped me make the multipipe work, but I couldn’t apply his solution to a tetrapodal lattice like the one in this main thread, because I couldnt figure out how to box array a tetrapodal lattice (due to geometrical reasons).

if you could provide more help i would really appreciate it, thank you

1 Like

I see, then the data has to change a bit if I’m understanding correctly that what you want to retrieve is the arrayed clusters, not an entire layer of arrayed clusters.

I wouldn’t say it like that—the ‘base’ unit mimicked your single-line structure without joining anything, so there are no polylines, only a 4-line group representing the base unit.

Bottom line:
It’s quite normal for your end goal to get lost in translation via pure text description(s). For more effective help, I’d encourage you to provide another annotated screenshot or sketch showing (color-coded) what you want before I/others spend more time on it.

1 Like

thank you, i will add more details here soon. :folded_hands:

1 Like

what i am trying to do is to apply a multipipe to this diamond/tetrapod lattice in particular, where each layer has a decreasing strut/pipe thickness as you go up in height (z direction).

the lattice is made up of identical modular units called “tetrapod” as shown above

i tried to do multipipe to this lattice and ended up with this one below

but the problem with this attempt, is that the pipes dont have matching radius where they meet at each layer, what i need is to have a continuous smooth decrease in pipe radius as you go up, sort of like a remapped Z-distance factor for the multipipie from the ground upwards. as you can see in the picture above, pipes that are lower have a wider radius than the one they articulate with above, so they appear loose and choppy.

also I need to have each tetrapod unit capable of being selecting separately, so that when I bake the whole structure, I can control which tetrapod units to keep/delete.

i will upload the rhino file of the structure if it helps in imagining the structure in 3D.

Diamond lattice multipipe.3dm (713.6 KB)

I hope clarifies what I am currently trying to do, if not, could you kindly ask me which part to clarify? thank you so much

1 Like

So,

I understand this BUT that was not the question in this topic, nor what I tried to help with.

You were talking about locating specific branches in a ‘messy’ tree, then I prompted you to share a sketch of what you meant by that or what defines a branch according to your needs.

Have you moved past that and now you just need to make the multipipe work?

I don’t see the problem applying a radius depending on the Z !

You can do the same on each group if you choose to apply same function that convert Z to a radius


node multipipe.gh (98.1 KB)

I use here Nautilus Line Topology here from Nautilus


For sure it is messy !!!
messy tree LD.gh (37.6 KB)
No Nautilus plugin there
messy tree LD.gh (37.0 KB)

All tetrapod selectable by item if tree is flattened or by branch

3 Likes

actually I need help with both (multipipe problem + selecting tetrapod unit branch problem)

for the latter, i will try to convey my message, but if it’s still vague, forgive me for not being able to explain clearly, I’m still new to data trees, I don’t want to trouble you too much.

i will try to explain what i need

above, you helped me select through the branches representing layers, in the picture above i am selecting the 3rd layer, which is great, but i still need to be able to select singular tetrapods/units as well

in other words i want to be able to separately select each one of these dots (with number slider index from 0 to 400), since they are 400 tetrapods/dots total. each dot represents a single tetrapod layer, the reason i want this is so that when i bake the structure later on, i want to control which tetrapod units to delete/keep/change color etc. (i assume in the picture above N refers to the number of curves, which is not to be confused with 400 tetrapod).

branch classifications.gh (42.4 KB) this file not be necessary, but in it i put param viewers in orange groups, just to outline the data present in the script.

See my post above

You can do the same on each group if you choose to apply same function that convert Z to a radius

this one is great, thank you :star_struck:

these solutions are also great, but i noticed that the radii still mismatch slightly, it is more apparent when you flip the lattice upside down. meanwhile “node multipie.gh” makes smoother transitions, it is the best solution here (and simplest).

indeed, when you set up list item after multipipe, it enabled me to choose singular tetrapods, i don’t know why it didn’t work for me when I tried it before posting here, maybe there was something wrong along my messy tree. not to mention that I’m still very clueless about data trees, that’s something I will have to keep trying to learn down the road.

Thanks Laurent and René . :folded_hands:

1 Like

Sorry but I think Multipipe can’t output something that is exactly the same because neighbors have some effects.
The more accurate will be to make Multipipe on the whole geometry of lines then splits the Subd. I tried some strategies but without luck.

Not really wrong, complex yes. You notice I have to use tricks to simplify the datatree

Here a version that make a whole Multipipe, explode it then reconstruct it. It is not perfect because like multipipe recosntruction Subd without neighbors is not the same !
Also I had to heal the lines of the tetra pods that where not well done.
There is now contact (I hope !)

But slightly different than whole SubD
You need Nautilus plugin


messy tree LD4.gh (45.2 KB)

2 Likes

for now this is perfectly good enough for me, maybe if I make a nice design out of this, then I will investigate more to making something that is both smooth and capable of having units selected separately, which makes me think, what if we first make a smooth nautilus lattice, then use a grid and intersection trim to cut it up into pieces
:thinking: