One thing to watch out for when doing this sort of thing with inkscape and svg2mod is that you have to convert everything to separate enclosed paths. Because of this there is an extra step when doing a shape like the zero. The attached files were done by:
-
Creating a square, converting that to a path.
-
Making a text object with “0”, converting that to a path, then un-grouping the result.
-
Subtracting the paths from each other. You are then left with one path that includes the hole of the zero, svg2mod won’t be able to cope with that and will leave out the hole.

-
You have to break the that path apart which will give you this:

-
You then have to subtract the outer two paths from each other to which will leave you with two distinct paths

I then converted this with svg2mod.py -i zero.svg -o zero.kicad_mod --format pretty -p 0.1
zero.svg
zero.kicad_mod (55.8 KB)

