diff options
author | Fahim | 2015-10-21 13:07:57 +0530 |
---|---|---|
committer | Fahim | 2015-10-21 13:07:57 +0530 |
commit | 506936250356ec10422933e04257c00facd77159 (patch) | |
tree | 265e9572d420da29be8355a6be1fb524f531fb7f | |
parent | 67dee429563497505d422a44b5429f814afb7600 (diff) | |
download | eSim-506936250356ec10422933e04257c00facd77159.tar.gz eSim-506936250356ec10422933e04257c00facd77159.tar.bz2 eSim-506936250356ec10422933e04257c00facd77159.zip |
Subject: Added pspice converter for windows
Description: Added pspice converter for windows
-rw-r--r-- | src/pspicetoKicad/ImportPspice.py | 5 | ||||
-rw-r--r-- | src/pspicetoKicad/converter.exe | bin | 0 -> 587797 bytes | |||
-rw-r--r-- | src/pspicetoKicad/libConverter.exe | bin | 0 -> 533533 bytes |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/pspicetoKicad/ImportPspice.py b/src/pspicetoKicad/ImportPspice.py index fc07083d..807726ee 100644 --- a/src/pspicetoKicad/ImportPspice.py +++ b/src/pspicetoKicad/ImportPspice.py @@ -12,7 +12,7 @@ class ImportPspiceLibrary(QtGui.QWidget): def __init__(self): super(ImportPspiceLibrary, self).__init__() self.obj_Appconfig = Appconfig() - + def imortLib(self): self.home = os.path.expanduser("~") self.worspace_loc = self.obj_Appconfig.default_workspace['workspace'] @@ -34,7 +34,7 @@ class ImportPspiceLibrary(QtGui.QWidget): else: self.cmd = "../pspicetoKicad/libConverter32 "+self.arg elif platform.system() == 'Windows': - print "Needs to include for Windows" + self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'libConverter.exe') self.status = os.system(str(self.cmd)) @@ -144,6 +144,7 @@ class ConvertPspiceKicad(QtGui.QWidget): self.cmd = "../pspicetoKicad/schConverter32 "+self.arg1+" "+self.arg2 elif platform.system() == 'Windows': print "Needs to include for Windows" + self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'converter.exe')+" "+self.arg1+" "+self.arg2 #Running command self.status = os.system(str(self.cmd)) diff --git a/src/pspicetoKicad/converter.exe b/src/pspicetoKicad/converter.exe Binary files differnew file mode 100644 index 00000000..e7718811 --- /dev/null +++ b/src/pspicetoKicad/converter.exe diff --git a/src/pspicetoKicad/libConverter.exe b/src/pspicetoKicad/libConverter.exe Binary files differnew file mode 100644 index 00000000..062cdc22 --- /dev/null +++ b/src/pspicetoKicad/libConverter.exe |