Catenary with math function

Hi, how to make a catenary curve between two points using math function? not the component… Thanks!

Welcome to the forum!

This may be helpful if you’re looking for the formulat of a catenary.

Rather easy:

Mathl function or math function?

sorry man, these commands translated into components?

Why don’t you use the catenary component?

The Methods captured above are C# code. I have no idea how (not to mention why) these can been “translated” to native components. Other than that I work using solely code.

Hello
I think you are not clear, you want

As the process is itterative if you choose @PeterFotiadis path, it is far more simple with coding. @menno way with mathematics seems limited to points at same height.

The only other alternative seems to use Kangaroo.

Sorry, I mean using the component ‘Function’ where using the catenary mathematical equation y=acosh(x/a) and not the ‘Catenary’ component. I don’t know if it’s clearer now.

I want to use the catenary mathematical equation y=acosh(x/a)

Yes it is clear but where is the problem writing Cosh(x) in the expression component ? Wikipedia function seems simple to implement. But if you want more complex and itterative function I don’t think expression will be useful.

1 Like

Please provide a script with the input you have and someone will surely help you understanding how to use the expression components. In order to guide you you have to understand expression component just work for a point or a number, not a curve. So it means you have to discretize the problem to coordinates between the 2 points, find the “Z” with Expression then move the points and then use an Interpolate curve component.