Hi Martin, I am sorry it has taken me so long to respond. Your patch looks reasonable, so I have just pushed it. Thank you for your contribution.
Regards, Orson On 02/22/2017 03:24 AM, Martin Stoilov wrote: > Hello all, > > Ngspice requires four nodes for a MOSFET component - nd ng ns nb, but > most of ordirnary > KiCad MOSFET components have only 3 pins. I hoped to be able to provide > the extra node using > the alternative list, something like: "1 2 3 3" i.e. mapping pin 3 to > both ns and nb for example. > Unfortunately that doesn't work, because the netlist exporter only > iterates over the KiCad > component pins, so any extra nodes provided in the alternative list are > ignored. > I modified the netlist exporter for pspice to provide this extra > flexibility. > Posting the patch here in case somebody else is looking for similar > functionality. > > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp