so basically i have some curves that i instanciated with the node “instance on points” and then i turned them into points and deleted some of that points with a random value to give a more random look and now i would like to join this points with each other but the i want the joints to be only with points of other the other curves, so if a point is from curve 1 it dosent connect with other points of curve 1 but with points of curve 2 instead and i would like this to be done without the node “geometry proximity” cause i also want to animate that curves and this joints should not flicker or disappear.
You don’t need to do this. You can delete points in curves and they will still be curves.
Otherwise, capture or store the spline index and use that as the groupID on the Points to Curve node.
thanks, but what about the connection? how do i do that?
Sorry, I didn’t understand. You want to convert to points and then connect those points to points that are NOT part of its group?
If so, it won’t be easy… the basic strategy is you’ll need to use a Repeat Zone or a For Each Elements to make a copy of everything, delete all points that have the same group as the current point and then make your connection with a Index of Nearest node. That and Sample Nearest is your only option other than Geometry Proximity.
Hope that helps.
ok i see it thanks it could work, anyway how do i asign a group id to some vertices? and how are they stored in a geometry that has multiple instances of a curve? i want to understand better how it works so i can make it by myself, aslo which nodes do i need to use to make this “group id”?
However you want. In my first example I suggested using the spline ID, for instance. Its up to you.
e.g.:
…here making 6 random curves off of 64 random points.
If you’re very new, then I suggest you start with some tutorials on geometry nodes fields. Everything is super hard when you don’t understand fields.
Good luck.
in the end i managed to do that, i changed a bit my aproach to the problem and i created a “full version of the curve” so with trimm = 1, and then mapped the points of that curve on the animated one, anyway thanks a lot, your help was really usefull.
