Okay so; I'm pretty sure this question hasn't been answered here, but I might be wrong and just not know how to formulate my problem. If it is the case, I am extremely sorry.
I am rather new to geometry nodes, and am trying myself at procedural modeling after learning procedural shading. Here, I am trying to create a group of neatly arranged cables (just like what you could find in a server room). My approach was to use a curve and create a profile for it using this node group:
Here is the result of that group:
Now, my goal is to add zip ties (that I will model independently and place along points, which shouldn't be a problem in theory). But before that, I want to slightly reduce the radius of the curve around the points where the zip ties will be, in order for it to look slightly more organic, and that is where my problem is. This is my current setup:
So far, I have tried plugging both capture attribute nodes into a vector math node set to "distance", but it only gave the distance of the curve to the averaged positions of the points. I want to compute the distance of each point of the curve to the nearest instanced point, but I do not know how to do this... My goal is then to plug this in a math node set to "less than", and then a switch node with both values of my radius and plug it into the radius of the Set curve radius node. Any idea on how to proceed?
EDIT: I have tried to add a blend file containing the relevant mesh and nodes, if this is the wrong way to do it, I'll edit again! link for the download