diff options
author | Fahim | 2014-09-02 12:32:51 +0530 |
---|---|---|
committer | Fahim | 2014-09-02 12:32:51 +0530 |
commit | 235129377240890a15ffbf89849a119752d91103 (patch) | |
tree | 65a47129122c73f70aaa4eeeb60839cc340d0a43 /OSCAD/forntEnd/newProject.py | |
parent | 0190fa1cbad29ba0dbdbc879448cc72dfbe334a6 (diff) | |
download | FreeEDA-235129377240890a15ffbf89849a119752d91103.tar.gz FreeEDA-235129377240890a15ffbf89849a119752d91103.tar.bz2 FreeEDA-235129377240890a15ffbf89849a119752d91103.zip |
Subject: Python Plotting Changesv1.1
Description: Below changes were made for python plotting.
1. Changes in newProject.py
2.Changes in KicadtoNgspice.py
3.Added new file pythonPlotting.py
4.Added matplot package in the installation script
Diffstat (limited to 'OSCAD/forntEnd/newProject.py')
-rwxr-xr-x[-rw-r--r--] | OSCAD/forntEnd/newProject.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OSCAD/forntEnd/newProject.py b/OSCAD/forntEnd/newProject.py index 38018bb..f4987f1 100644..100755 --- a/OSCAD/forntEnd/newProject.py +++ b/OSCAD/forntEnd/newProject.py @@ -21,8 +21,6 @@ import selectOption from string import maketrans from PIL import Image, ImageTk - - class ProjectInfo(template.MyTemplate): """ Class for accept model information from user """ def body(self, master): @@ -318,6 +316,16 @@ class ProjectParam(template.MyTemplate): self.text.insert(END, "Select a tool from tool menu\n") self.text.yview(END) + # opening pythonplotting: + command ="python " + self.OSCAD_HOME+"/forntEnd/pythonPlotting.py "+os.getcwd()+" "+self.projectName + + try: + thread.start_new_thread(self.call_system,(command,)) + except Exception,err: + print err + + + def openSMCSim(self,e=None): self.text.insert(END, " Running scilab based circuit simulator .........\n") self.text.yview(END) |