How to find the points on the curve with curvature equal to 0?

Hello forum, I have made some efforts, but (10.5 KB)

seems that I can’t find out these points accurately.

If you’ve access to Rhino 7 WIP, you can use Curve.InflectionPoints and Curve.MaxCurvaturePoints like this:

private void RunScript(Curve c, ref object Inflections, ref object MaxCurvature)
  Inflections = c.InflectionPoints();
  MaxCurvature = c.MaxCurvaturePoints();
} (6.9 KB)


I think it depends your sampling point density… (15.5 KB)


If you’re using R6…

Thank you for your answers, every reply has taught me a lot!