Catenary curve through three points

Hangs a catenary curve from two points with the thrid directing its fall.

Files for Grasshopper 0.7 - 0.8.x:

download20101018_catenary_arch_2.ghx

Parameters:

  • Point: Start of curve
  • Point: A point on the curve
  • Point: End of curve

Outputs:

  • Curve: The Catenary curve

Notes:

Curves are drawn in the xz-plane. If you want the curve in another plane, the points need to be rotated into the xz-plane and then the curve needs to be rotated out into the desired plane.

Uses a hill-climbing algorithm to pass curve through the third point. Hill climbing stops when the tolerance is reached or the max iterations are reached.

Based on Giulio Piacentino's Catenary C# code originally posted here: http://www.grasshopper3d.com/xn/detail/2985220:Comment:25775


Component History:

Viewed 2440 times

Created by: Giulio Piacentino, 30-Oct-2010 09:44 am

Last edited by: @nzarchitecture, 10-Aug-2011 01:38 am

View page history

Edit this page