Rotate Catenary Orientation in GRASSHOPPER

I am using the “CATENARY” component to draw a series of curves between a series of points. By default, the curve bows downward. I can change the orientation of gravity by using the “Unit X” component which is partly what i want. I need a gradual rotation of gravity between the default and the x axis.

I have 26 curves. I need the first one to curve downward (by default), but I need the last one to curve along the X axis. All the curves in between should rotate gradually. How can I do this?

Two ways:

rot-vector.gh (17.1 KB)

Thank you so much. I will try this right now

I’m so sorry to bother you again. I’m new to Grasshopper. How can I input the script you created into the CATENARY component? I tried un-plugging the RANGE from the information panel and plugging it into the “gravity” input of my catenary component. Everything turned red. Again, I’m so sorry if this sounds like a ridiculous question.

catenary-rot-vector.gh (10.1 KB)

I think for this to work, the point on the right needs to be higher than the starting point of the catenary.

Ok thank you. This looks simpler. Thank you so much.

1 Like

The first definition shows two ways to create the vectors, nothing more.

1 Like

I understand now. Thank you. Your last definition worked perfectly. I realize I have another dilemma with this model. Can I show you the project? Perhaps you could advise a better strategy.

1 Like

SOLAR PAVILION 1.3dm (1.6 MB)
SOLAR PAVILION 1.gh (6.2 KB)

This looks like a small Kangaroo project. Not sure why you need catenaries for this surface.

I think I’d use a mesh with even distribution and then drag some anchor points.

Here’s something to start with:

SOLAR PAVILION 1 kangaroo.gh (23.1 KB)

1 Like