This issue also exists in SHAPE_ARC::ConvertToPolyline( double aAccuracy )
I also tested in DRAWSEGMENT::TransformShapeWithClearanceToPolygon a slightly different formula to calculate segments counts using an absolute error.
Using 0.05 mm for absolute max errors gives good results, without changing the file format.
I can commit this minor change.
This issue also exists in SHAPE_ARC: :ConvertToPolyl ine( double aAccuracy )
I also tested in DRAWSEGMENT: :TransformShape WithClearanceTo Polygon a slightly different formula to calculate segments counts using an absolute error.
Using 0.05 mm for absolute max errors gives good results, without changing the file format.
I can commit this minor change.