Close

Convert Inkscape SVG drawings to KiCad footprints

oshparkoshpark wrote 01/09/2017 at 21:15 • 1 min read • Like

Thanks to facelesstech for tweeting this design tip:

screenshot-from-2016-12-31-01-15-13

svg2mod by mtl is a small program to convert Inkscape SVG drawings to KiCad footprint module files:svg2mod-dt

SVG graphics in KiCad (svg2mod)

There didn’t seem to be a good way to get vector graphics into Pcbnew, so I wrote a small utility that uses an existing SVG library to read files, and then writes them out as KiCad modules.

The project is hosted on GitHub:

mtl/svg2mod

It uses cjlano’s python SVG parser and drawing module to interpret drawings and approximate curves using straight line segments. Module files can be output in KiCad’s legacy or s-expression (i.e., pretty) formats. Horizontally mirrored modules are automatically generated for use on the back of a 2-layer PCB.
Like

Discussions