def runImportDrawing(self):
     self.drawing_panel.appendVector()
     run_analyses(settings=self.settings, analysesFile=self.settings['tangible']['analyses']['file'],
                  giface=self.giface, update=self.OnUpdate, eventHandler=self, scanFilter=self.filter,
                  **self.additionalParams4Analyses)
     evt = updateGUIEvt(self.GetId())
     wx.PostEvent(self, evt)
 def runImportDrawing(self):
     self.drawing_panel.appendVector()
     run_analyses(settings=self.settings, analysesFile=self.settings['tangible']['analyses']['file'],
                  giface=self.giface, update=self.OnUpdate, eventHandler=self, scanFilter=self.filter,
                  **self.additionalParams4Analyses)
     evt = updateGUIEvt(self.GetId())
     wx.PostEvent(self, evt)
 def ScanOnce(self, event):
     self.Scan(continuous=False)
     self.status.SetLabel("Importing scan...")
     self.process.wait()
     self.process = None
     run_analyses(scan_params=self.scan, analysesFile=self.settings['tangible']['analyses']['file'])
     self.status.SetLabel("Done.")
     self.OnUpdate(None)
Пример #4
0
 def runImport(self):
     run_analyses(
         settings=self.settings,
         analysesFile=self.settings['tangible']['analyses']['file'],
         giface=self.giface,
         update=self.OnUpdate,
         eventHandler=self)
     evt = updateGUIEvt(self.GetId())
     wx.PostEvent(self, evt)
Пример #5
0
 def ScanOnce(self, event):
     self.Scan(continuous=False)
     self.status.SetLabel("Importing scan...")
     self.process.wait()
     self.process = None
     run_analyses(
         settings=self.settings,
         analysesFile=self.settings['tangible']['analyses']['file'],
         giface=self.giface,
         update=self.OnUpdate,
         eventHandler=self)
     self.status.SetLabel("Done.")
     self.OnUpdate(None)
 def ScanOnce(self, event):
     # if already running, resume scanning one time
     if self.process and self.process.poll() is None:  # still running
         self.resume_once = True
         self.changedInput = True
     else:
         self.Scan(continuous=False)
         self.status.SetLabel("Importing scan...")
         self.process.wait()
         self.process = None
         run_analyses(settings=self.settings, analysesFile=self.settings['tangible']['analyses']['file'],
                      giface=self.giface, update=self.OnUpdate, eventHandler=self, scanFilter=self.filter)
         self.status.SetLabel("Done.")
         self.OnUpdate(None)
 def ScanOnce(self, event):
     # if already running, resume scanning one time
     if self.process and self.process.poll() is None:  # still running
         self.resume_once = True
         self.changedInput = True
     else:
         self.Scan(continuous=False)
         self.status.SetLabel("Importing scan...")
         self.process.wait()
         self.process = None
         run_analyses(settings=self.settings, analysesFile=self.settings['tangible']['analyses']['file'],
                      giface=self.giface, update=self.OnUpdate, eventHandler=self, scanFilter=self.filter)
         self.status.SetLabel("Done.")
         self.OnUpdate(None)
 def runImport(self):
     run_analyses(scan_params=self.scan, analysesFile=self.settings['tangible']['analyses']['file'])
     evt = updateGUIEvt(self.GetId())
     wx.PostEvent(self, evt)