Double curved beam


I have a double curved surface and I need to put parameter beams on the edges. The issue is, Revit can’t have a beam that has more than one curvature. As of now, I tried getting the knots of one edge, dividing the edge curve at its knots and then using those segments to make the edge beams. Although it works but it’s not neat because I end up with a lot of small straight segments.

Is there a way to divide the curve at the points where the curvature changes? That way it gets divided into a smaller number of arched beams instead of a lot of small straight beams. I thought of trying to divide at the inflection points instead but I’m not sure how to find those without the equation of the curve.

Thank you for your help!