I’m looking for solution to convert any curve to possible smallest amount of arcs. I know there is convert curve to arcs component but there is no enough input options to create smallest amount of arcs with optimal lengths.

I’ve found some threads at old forum:

There is @DavidRutten BiArcFitter.gh but it uses equal lengths of arcs.

Is there a way to optimize this script

crv_to_arcs_1.3dm (53.1 KB)

crv_to_arcs_1.gh (35.9 KB)

to be more automatic that it chooses the best length and radius values itself or at least just with tolerance or number of arcs.

When I make it without gh I’m using circes, tangents and trim.