I am trying to model handlebar tape on Grasshopper like this picture :
What I want is to have a grasshopper program that can generate tape on any kind of tubular shape input.
I managed to create a spinning curve on the outside of the tube :
And I have a tape profile that I want to extrude along this curve :
I tried different solutions to get the right tape shape (sweep 1 rail, extrude along, project curves) but I only managed to get it work by using sweep 2 rails but with a second curve (controlled with a slider but the correct value is kind of “random” to find) :
(I don’t really know how the sweep 2 rails function works because here the two curves are really close)
I was wondering is there is a way to extrude the tape profile to be normal to the surface of the pipe and at the same time following the curvature of the curve.
test_grip.gh (21.0 KB)