Yesterday I started to investigate why the SVG import didn’t work for me in 0.12 on Windows.
1. Opening and importing does not work from the GUI. There are instructions shown on the python console, but either command fails with an Exception ([Errno 9] Bad file descriptor)
Issuing the same command from the python console, works.
My first idea was a problem with backslashes in the path, but I have no clue how to test that.
2. If I import a closed path without any filling, I just get to see points of the shape but no edges. A "ViewFit" zooms to these points but not to the (much bigger) Bounding box of the shape. After downgrade to a wire, I get to see all the edges and even “ViewFit” works as I expect.
3. The docstring in the importSVG file is a bit misleading, as there is some support for qubic Bezier curves. I think I would be desirable to have full support for the path element, which would include quadratic curves and shorthand/smoothed instructions (s,S,t,T) for Bezier curves .I don’t know which programs do use these commands.
4. I have recognized a function to detect straight segments in Bezier curve and to replace them with line segments. I would like to know why this has been implemented. And if anyone sees a need for this functionality also for quadratic Bezier curves.
Personally, I don’t like the idea of having the precision of four decimal places hardcoded there. Even, as it is applied before any matrix operation (scaling). I think the resolution and precision of an SVG bound to screen coordinates and can be quite arbitrary in a CAD context.
As far as I understood the Part documentation a quadratic Bezier curve could be created by simply passing one pole.
The shorthand or smoothed command could be implemented by keeping the last used pole. Mirroring the pole with respect to the start point should be easy.