summaryrefslogtreecommitdiff
path: root/src/projManagement
diff options
context:
space:
mode:
Diffstat (limited to 'src/projManagement')
-rw-r--r--src/projManagement/Kicad.py8
-rw-r--r--src/projManagement/Kicad.pycbin3853 -> 4113 bytes
2 files changed, 8 insertions, 0 deletions
diff --git a/src/projManagement/Kicad.py b/src/projManagement/Kicad.py
index ec2932a0..47a65c73 100644
--- a/src/projManagement/Kicad.py
+++ b/src/projManagement/Kicad.py
@@ -101,6 +101,14 @@ class Kicad:
#Cheking if project has .cir file or not
if self.obj_validation.validateCir(self.projDir):
print "CIR file present"
+ self.projName = os.path.basename(self.projDir)
+ self.project = os.path.join(self.projDir,self.projName)
+
+ #Creating a command to run
+ self.cmd = "python /home/fahim/Workspace/eSim/src/kicadtoNgspice/KicadtoNgspice.py "+self.project+".cir "
+ self.obj_workThread = Worker.WorkerThread(self.cmd)
+ self.obj_workThread.start()
+
else:
self.msg = QtGui.QErrorMessage(None)
self.msg.showMessage('Your project do not contain any Kicad netlist file for conversion')
diff --git a/src/projManagement/Kicad.pyc b/src/projManagement/Kicad.pyc
index 5b498b30..64f17fea 100644
--- a/src/projManagement/Kicad.pyc
+++ b/src/projManagement/Kicad.pyc
Binary files differ