From 67dee429563497505d422a44b5429f814afb7600 Mon Sep 17 00:00:00 2001 From: Fahim Date: Tue, 20 Oct 2015 12:34:14 +0530 Subject: Subject: Modification for new pspice to kicad converter Description: Modification for new pspice to kicad converter --- src/pspicetoKicad/ImportPspice.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/pspicetoKicad') diff --git a/src/pspicetoKicad/ImportPspice.py b/src/pspicetoKicad/ImportPspice.py index c92f7582..fc07083d 100644 --- a/src/pspicetoKicad/ImportPspice.py +++ b/src/pspicetoKicad/ImportPspice.py @@ -129,13 +129,19 @@ class ConvertPspiceKicad(QtGui.QWidget): print "Create Project File is called" print "Schematic File Location---------->",pspiceSchFileLoc print "Output Directory-------------->",outputDir + + self.arg1 = pspiceSchFileLoc + self.arg2 = os.path.join(outputDir,os.path.basename(str(pspiceSchFileLoc))) + + #print "Arg1----------->",self.arg1 + #print "Arg2----------->",self.arg2 #Create command to be run if platform.system() == 'Linux': #Check for 32 or 64 bit if platform.architecture()[0] == '64bit': - self.cmd = "../pspicetoKicad/schConverter64 "+pspiceSchFileLoc+" "+outputDir + self.cmd = "../pspicetoKicad/schConverter64 "+self.arg1+" "+self.arg2 else: - self.cmd = "../pspicetoKicad/schConverter32 "+pspiceSchFileLoc+" "+outputDir + self.cmd = "../pspicetoKicad/schConverter32 "+self.arg1+" "+self.arg2 elif platform.system() == 'Windows': print "Needs to include for Windows" -- cgit