Hello Grasshopper users,
I want to build a mesh pipe with variable radius. The goal basically is a component like Pipe Mesh from Pufferfish, but with the option of using a variable radius. One workaround is using the Variable Pipe component from Surface --> Freeform and then converting the resulting BREP to a mesh, but as far as I know, BREP operations in general are computationally more expensive than using mesh operations. This operation is getting used quite often by me, so I am looking for a faster alternative to what I am doing right now.
I started experimenting with PerpFrames, Polygon, connecting the polygon outline points and finally using a Loft Operation with the Straight / 3 Type, but the result still is a BREP and leads to several self intersections when the curve is curved too much. So this isn’t a robust or useable way to replace the workaround.
Another idea I had was using the mesh pipe command and then scaling the points according to the radius I want. But then there is the problem of recognizing the points of the mesh that form the different cross sections of the pipe.
Does anyone here have an idea on how to implement it better?
It’s not important how it is solved, Python scripts are also an option.