PySpice-org / PySpice

Simulate electronic circuit using Python and the Ngspice / Xyce simulators
https://pyspice.fabrice-salvaire.fr
GNU General Public License v3.0
640 stars 170 forks source link

Enhanced KiCad integration #46

Open FabriceSalvaire opened 6 years ago

FabriceSalvaire commented 6 years ago

Why ?

Question on Launchpad

ref. https://answers.launchpad.net/kicad/+question/658090

Wayne Stambaugh answer:

Ngspice has already been directly integrated into KiCad and will be available in the upcoming stable 5 release. I am not sure PySpice buys us anything we don't already have with Ngspice. We still do not have the schematic editor swigged out to python yet so using python in the schematic editor for simulation would have to be run externally which tends to be less than ideal for users.

ferdymercury commented 3 years ago

Since a couple of weeks, KiCad's eeschema file format has changed, and a Python API is coming soon

ferdymercury commented 3 years ago

See also: https://gitlab.com/kicad/code/kicad/-/issues/2333

FabriceSalvaire commented 3 years ago

PySpice can now read a .kicad_sch file and compute the netlist