kicad export code complete (untested)