I am trying to write a python program to convert a Fritzing XML Netlist to a net list that I can use in Kicad. I managed to create a netlist that I can allocate components and the messages when creating the cmp file look good. But when I try and bring the netlist and cmp file into PcbNew I just get one component the capacitor so there is obviously something wrong. Any ideas
My netlist looks
EESchema NetList Version 1.0
(
( 0 $noname R1 220_Resistor
)
( 0 $noname C1 Ceramic_Capacitor
)
)
*
{ Pin List by Nets
Net 1 “”
R1 1
C1 0
Net 2 “”
C1 1
R1 0
}
#end
My cmp looks like
Cmp-Mod V01 Created by Cvpcb (2014-jul-16 BZR unknown)-product date = Sun 15 Mar 2015 11:35:58 GMT
BeginCmp
TimeStamp = 0;
Reference = C1;
ValeurCmp = Ceramic_Capacitor;
IdModule = Capacitors_SMD:C_0805_HandSoldering;
EndCmp
BeginCmp
TimeStamp = 0;
Reference = R1;
ValeurCmp = 220_Resistor;
IdModule = Resistors_ThroughHole:Resistor_Horizontal_RM10mm;
EndCmp
EndListe
And the messages I got creating the cmp file
Reading netlist file “/home/family/KiCAD/Test3/Test.net”.
Using component footprint link file “/home/family/KiCAD/Test3/Test.cmp”.
Checking netlist component footprint “C1:0:Capacitors_SMD:C_0805_HandSoldering”.
Adding new component “C1:0” footprint “Capacitors_SMD:C_0805_HandSoldering”.
Checking netlist component footprint “R1:0:Resistors_ThroughHole:Resistor_Horizontal_RM10mm”.
Adding new component “R1:0” footprint “Resistors_ThroughHole:Resistor_Horizontal_RM10mm”.