Select specific points of mesh

Hey guys,
I would like to select specific points of the mesh (picture 2), can anymore help me to do that?

I have that:

And I would like to have that:

Select points of mesh.gh (27.9 KB)

  • I would like to get these points on all three sides of the mesh

Hey again !

I didn’t know if you need to go through mesh or not… So I assumed you don’t :slight_smile:
Here is a much ligther and faster way to extract data from a datatree !
I also assumed you missed two points in your image, am I correct? (second row from bottom, second point from left and right)

SelectPoints_ama.gh (30.9 KB)

1 Like

Thanks! So easy! Could you explain what the panel means? I don’t exactly understand the splitting mask

Yes, I can try :slight_smile:

I just wrote some selection rules based on the datastructure that was previously generated (in the blue goup).
If we look at the branches, we have 3 level of branching {A;B;C}.
A represent in this case the row where the object (in this case the point) is.
B represent the face of the dome on which the point stands.
C represent the “column” where the point stands.

If you look in the panel again, you can see that each line has the format {A;B;C}
When you replace A (for example) by (0, 3, …) , split tree will keep the first branch (indice 0) then he will skip the second and third, then keep the fourth one (indice 3), and continue (because of the "…’.
Then we also do the same things to the sub branches.

Damn this is difficult to explain…

For more info and more tricks, there is this page by David Rutten where he wrote almost all of the rules ! :slight_smile:

What do you mean by “column where the points stands”? I think the rest is clear to me now

Here is some serious art piece I hope you will hang somewhere (ha!) :upside_down_face:

But have a look at this definition ! I tend to use this Tree Branch when datastructure starts to be complicated. Move the 3 slider to see how the sphere moves.
Last time I put a two component combo that allows to display the datastructure onto the geometries , you can also see that the numbers in the {C} part of the nomenclature {A;B;C} follows the wonderful pink lines. :slight_smile:

edit : Nomenclature on the 2 last pictures might be slightly different, but I hope you can get the way it works…

SelectPoints_ama.gh (35.4 KB)


Ooohh cool this is great! Thanks for your effort!

Hey, sorry for annoying you again with all my questions… I understood the procedure you did before. But now I would like to try the same with another kind of Geometry and I am a little bit lost again. Maybe you (or someone else) could help me?


Geometry_3.gh (28.7 KB)

Hey !

I went a little backward in your definition to the moment when the tiles are generated. I expose a way to build up a good datastructure from that creation. (not useful in your problem, but useful to understand :slight_smile: )
I’ve also done this for the points, removing duplicates, creating set of points with the same Y coords (since tunnel goes in Y direction).

Is this what you need?

PointSelection_ama.gh (32.7 KB)

So in this geometry, the structure is only {A;B} (because there is no faces like in your previous dome).
{A} represents the position along Y axis
{B} represents the position along the arc

Amazing!! Thank you so much!