Pipe Thickness Variation on Certain Points

Hi!

Im kind of new on Grasshopper and I have some issues. I’m trying to make variations in the thickness of the tube depending on a random point. The problem is that I have not been able to make variations regarding one point. Also, for some reason the tube is not 100% closed. Does anyone know what the problem is?

I would also like to know if there is the possibility of being able to make the connections of size variations in a more organic way.

Greetings and I would be very grateful if you guys can help me!

V1V2_3.gh (24.2 KB)

i am not fully sure where you try to achive this in your script but you could try this


image

be aware that the list of radi has the same length as the list of points
V1V2_3.gh (26.5 KB)

Thanks for the answer Jope! Very grateful. The problem is that I am trying to apply what you did but to my curve that is the x y z coordinates and has 100 points. I tried your concept before, but had overlapping problem.

had a second look the problem with you curve was the random component which messed up the point order try this:
V1V2_3_.gh (15.7 KB)


the curve is seen as domain from 0 - 1 and the number sliders give the position for the different radi f.e. 0.0 begin, 0.5 middle 1.0 end
and below you have numbersliders for the radis you could also add more radi and positions but be aware that the amount is matching

Thank you very much Jope! Last question! Do you know if there is any possibility if i can add a gradient colors depending on the thickness of the pipe? For example the thicker its closer to red, and the thiner closer to green?

Like this?
V1V2_3_.gh (23.6 KB)

1 Like

Exactly! Thank you Ryan!

1 Like