diff options
author | xoher | 2015-07-28 02:36:59 +0530 |
---|---|---|
committer | xoher | 2015-07-28 02:36:59 +0530 |
commit | 034bc2734d017f3bdc94a309102b3141cb623ce9 (patch) | |
tree | 8d0143881ede180b69775bcfb19f095b2875a9b0 /src/projManagement/Kicad.py | |
parent | 6d0631e034026b958437456ae461f21ba8429813 (diff) | |
download | eSim-034bc2734d017f3bdc94a309102b3141cb623ce9.tar.gz eSim-034bc2734d017f3bdc94a309102b3141cb623ce9.tar.bz2 eSim-034bc2734d017f3bdc94a309102b3141cb623ce9.zip |
Kicad to NgSpice conversion opens in dock area
Diffstat (limited to 'src/projManagement/Kicad.py')
-rw-r--r-- | src/projManagement/Kicad.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/projManagement/Kicad.py b/src/projManagement/Kicad.py index fdaa3187..c2a0c948 100644 --- a/src/projManagement/Kicad.py +++ b/src/projManagement/Kicad.py @@ -26,10 +26,10 @@ class Kicad: """ This class called the Kicad Schematic,KicadtoNgspice Converter,Layout editor and Footprint Editor """ - def __init__(self): + def __init__(self,dockarea): self.obj_validation = Validation.Validation() self.obj_appconfig = Appconfig() - + self.obj_dockarea=dockarea def openSchematic(self): """ @@ -138,9 +138,14 @@ class Kicad: self.project = os.path.join(self.projDir,self.projName) #Creating a command to run + """ self.cmd = "python ../kicadtoNgspice/KicadtoNgspice.py " +self.project+".cir " self.obj_workThread = Worker.WorkerThread(self.cmd) self.obj_workThread.start() + """ + var=self.project+".cir" + self.obj_dockarea.kicadToNgspiceEditor(var) + else: |