Pipe Vary Radius

Hi, I am trying to adjust the radius of the pipe the nodes closer to coordinate 0 in the ‘z’ axis are smaller than those further away from 0 on the z axis.

I have attached an image so you can see what I mean. The red circular nodes are what I am trying to make smaller, and the blue larger. I have also piped them so that the center of the pipe has a smaller radius than the nodes. I would still like to keep this logic but whilst adding in the ‘z’ axis rule just spoken about above.

Hopefully this makes sense. Thanks

Pipe_01.3dm (3.1 MB) Pipe_01.gh (6.5 KB)

1 Like

Try this. Linear interpolation of max and min diameter values between the max and min z values. Then there is a pinching factor to control the size of the diameter in the middle relative to the end diameters. Finally brep join will not join those breps into one shape as they do not share edges. You need solid union, though that will take a hell of a long time to compute.

Pipe_01 vary Z.gh (10.9 KB)

1 Like

Update - tried the solid union and it does’t work for me on that many pieces.

Thank you so much Dom. That’s exactly what I was after

1 Like