In the first instance I can't work out how inkscape is calculating the internal units, and in the second I'm not handy enough with python to sort it out. I see you calculating a scaling factor in init, but the scale for the stroke width is hard coded.
It's easy enough to vi the svg or the footprint I guess. I'm just bringing this to your attention in case you care. I'll plug away for a while and see if I get anywhere. I'll let you know if I do.
Howdy,
Awesome tool. This functionality should really be built into kicad.
Anyway, I'm having issues with the stroke-width calculation on inkscape output.
I'm sure you've read it, but there's a bunch of information here: http://wiki.inkscape.org/wiki/index.php/Units_In_Inkscape
In the first instance I can't work out how inkscape is calculating the internal units, and in the second I'm not handy enough with python to sort it out. I see you calculating a scaling factor in init, but the scale for the stroke width is hard coded.
It's easy enough to vi the svg or the footprint I guess. I'm just bringing this to your attention in case you care. I'll plug away for a while and see if I get anywhere. I'll let you know if I do.