

The problem is points need to be of type DXFVertex (docs state Vertex, but it is absent), and that type is private for ezdxf. The current approach is to make polyline by add_polyline2d(points), making each point to be with DXF flag field equal 8 (spline vertex created by spline-fitting). The problem is there turned out to be no conversion from spline to polyline (although I think I saw it in the docs, but cannot find it anymore).

My first approach was to create a spline from fit points utilizing add_spline_control_frame, then convert it to polyline. I decided to use Python/ezdxf to generate such polyline, as I don't have Autocad. The spline import is already implemented, the next step is polyline with spline fit points or control points added. The program itself is in C++/Qt, but to test it I need some sample DXF input. I am developing a program, and one of the requirements is to take DXF as input.
