-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlaunch_fdm.py
More file actions
43 lines (37 loc) · 1.17 KB
/
launch_fdm.py
File metadata and controls
43 lines (37 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# launch_FDM
import sys
from PyQt5.QtWidgets import QApplication
from fdm_install_helper import no_confirm_installer
from fdm_matlab_interface import SPM
from fdm_watcher import FDMWatcher
# TODO :
# ->->-> export plots to csv -> & plot from csv. Evt : export SVG directement..
# ->-> Reprendre analyse
# -> Ajouter des valeurs par défaut à la version OpenNFT du plugin (pour éviter un crash)
# Mieux tester l'input de l'utilisateur (batchs et GUI)
# Ajouter d'autre formats que .dcm
# More Batch formats
# Use OpenNFT functs
#
#
#
if __name__ == "__main__":
# try:
# app = QApplication(sys.argv)
# no_confirm_installer()
# with SPM() as spm:
# with FDMWatcher(spm) as watch:
# #watch._main_loop_call_timer.start(1000)
# app.exec_()
# except KeyboardInterrupt:
# print('Interrupted')
# sys.exit(0)
# except:
# sys.exit(sys.exc_info())
# noexcept
app = QApplication(sys.argv)
no_confirm_installer()
with SPM() as spm:
with FDMWatcher(spm) as watch:
#watch._main_loop_call_timer.start(1000)
app.exec_()