diff options
author | deepa-chaudhari | 2015-07-16 15:54:59 +0530 |
---|---|---|
committer | deepa-chaudhari | 2015-07-16 15:54:59 +0530 |
commit | 6cc97c660afc67f42158ddc9f9c6b5a3ac27ac97 (patch) | |
tree | 78f11b7f2d97eceb8110f6e1a7687ccc497d35ed | |
parent | d9e8bc0a422e993ddb4419ca454ae01c62c73380 (diff) | |
download | OsdagLive-6cc97c660afc67f42158ddc9f9c6b5a3ac27ac97.tar.gz OsdagLive-6cc97c660afc67f42158ddc9f9c6b5a3ac27ac97.tar.bz2 OsdagLive-6cc97c660afc67f42158ddc9f9c6b5a3ac27ac97.zip |
Error handlingfinPlate_v1.1.0
-rw-r--r-- | Connections/Shear/Finplate/fin.log | 333 | ||||
-rw-r--r-- | Connections/Shear/Finplate/finPlate.ui | 47 | ||||
-rw-r--r-- | Connections/Shear/Finplate/finPlateMain.py | 22 | ||||
-rw-r--r-- | Connections/Shear/Finplate/ui_finPlate.py | 22 | ||||
-rw-r--r-- | saveINPUT.txt | 8 |
5 files changed, 412 insertions, 20 deletions
diff --git a/Connections/Shear/Finplate/fin.log b/Connections/Shear/Finplate/fin.log index 34c6949..90b7ae9 100644 --- a/Connections/Shear/Finplate/fin.log +++ b/Connections/Shear/Finplate/fin.log @@ -7475,3 +7475,336 @@ <span class="LEVEL">DEBUG</span> <span class="MSG"> :=========End Of design===========</span> </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 12:39:25</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 12:39:25</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 12:39:25</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 12:39:25</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 12:40:11</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 12:40:11</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 12:40:12</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 12:40:12</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 14:18:39</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 14:18:39</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 14:18:39</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 14:18:39</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:11:43</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:11:43</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:11:43</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:11:43</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:12:04</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:12:04</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:12:04</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:12:04</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:33:48</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:33:48</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:33:48</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:33:48</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG ERROR"> + <span class="DATE">Thu, 16 Jul 2015 15:48:15</span> + <span class="LEVEL">ERROR</span> + <span class="MSG">: Chosen web plate thickness is not sufficient</span> + </div> + + <div class="LOG WARNING"> + <span class="DATE">Thu, 16 Jul 2015 15:48:15</span> + <span class="LEVEL">WARNING</span> + <span class="MSG"> : Minimum required thickness 8.90 mm</span> + </div> + + <div class="LOG ERROR"> + <span class="DATE">Thu, 16 Jul 2015 15:48:15</span> + <span class="LEVEL">ERROR</span> + <span class="MSG">: Plate height provided is less than the minimum required </span> + </div> + + <div class="LOG WARNING"> + <span class="DATE">Thu, 16 Jul 2015 15:48:15</span> + <span class="LEVEL">WARNING</span> + <span class="MSG">: Plate height required should be more than 320.00 mm </span> + </div> + + <div class="LOG ERROR"> + <span class="DATE">Thu, 16 Jul 2015 15:48:15</span> + <span class="LEVEL">ERROR</span> + <span class="MSG">: Design is not safe + </span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:48:15</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG ERROR"> + <span class="DATE">Thu, 16 Jul 2015 15:48:23</span> + <span class="LEVEL">ERROR</span> + <span class="MSG">: Chosen web plate thickness is not sufficient</span> + </div> + + <div class="LOG WARNING"> + <span class="DATE">Thu, 16 Jul 2015 15:48:23</span> + <span class="LEVEL">WARNING</span> + <span class="MSG"> : Minimum required thickness 8.90 mm</span> + </div> + + <div class="LOG ERROR"> + <span class="DATE">Thu, 16 Jul 2015 15:48:23</span> + <span class="LEVEL">ERROR</span> + <span class="MSG">: Plate height provided is less than the minimum required </span> + </div> + + <div class="LOG WARNING"> + <span class="DATE">Thu, 16 Jul 2015 15:48:23</span> + <span class="LEVEL">WARNING</span> + <span class="MSG">: Plate height required should be more than 320.00 mm </span> + </div> + + <div class="LOG ERROR"> + <span class="DATE">Thu, 16 Jul 2015 15:48:23</span> + <span class="LEVEL">ERROR</span> + <span class="MSG">: Design is not safe + </span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:48:23</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG ERROR"> + <span class="DATE">Thu, 16 Jul 2015 15:48:36</span> + <span class="LEVEL">ERROR</span> + <span class="MSG">: Weld thickness is not sufficient</span> + </div> + + <div class="LOG WARNING"> + <span class="DATE">Thu, 16 Jul 2015 15:48:36</span> + <span class="LEVEL">WARNING</span> + <span class="MSG">: Minimum weld thickness is required is 4.00 mm </span> + </div> + + <div class="LOG ERROR"> + <span class="DATE">Thu, 16 Jul 2015 15:48:36</span> + <span class="LEVEL">ERROR</span> + <span class="MSG">: Design is not safe + </span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:48:36</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:48:39</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:48:39</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:48:39</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:48:39</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:48:47</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:48:47</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:48:47</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:48:47</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:52:37</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:52:37</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> + + <div class="LOG INFO"> + <span class="DATE">Thu, 16 Jul 2015 15:52:37</span> + <span class="LEVEL">INFO</span> + <span class="MSG">: Overall finplate connection design is safe +</span> + </div> + + <div class="LOG DEBUG"> + <span class="DATE">Thu, 16 Jul 2015 15:52:37</span> + <span class="LEVEL">DEBUG</span> + <span class="MSG"> :=========End Of design===========</span> + </div> diff --git a/Connections/Shear/Finplate/finPlate.ui b/Connections/Shear/Finplate/finPlate.ui index f5a6ef2..46075b4 100644 --- a/Connections/Shear/Finplate/finPlate.ui +++ b/Connections/Shear/Finplate/finPlate.ui @@ -3178,11 +3178,56 @@ <string notr="true">QComboBox { combobox-popup: 0; }</string> </property> <property name="currentIndex"> - <number>-1</number> + <number>0</number> </property> <property name="maxVisibleItems"> <number>5</number> </property> + <item> + <property name="text"> + <string>Select weld thickness</string> + </property> + </item> + <item> + <property name="text"> + <string>3</string> + </property> + </item> + <item> + <property name="text"> + <string>4</string> + </property> + </item> + <item> + <property name="text"> + <string>5</string> + </property> + </item> + <item> + <property name="text"> + <string>6</string> + </property> + </item> + <item> + <property name="text"> + <string>8</string> + </property> + </item> + <item> + <property name="text"> + <string>10</string> + </property> + </item> + <item> + <property name="text"> + <string>12</string> + </property> + </item> + <item> + <property name="text"> + <string>16</string> + </property> + </item> </widget> <widget class="QLabel" name="lbl_connectivity"> <property name="geometry"> diff --git a/Connections/Shear/Finplate/finPlateMain.py b/Connections/Shear/Finplate/finPlateMain.py index 68b06fd..1d677b4 100644 --- a/Connections/Shear/Finplate/finPlateMain.py +++ b/Connections/Shear/Finplate/finPlateMain.py @@ -44,6 +44,10 @@ class MainController(QtGui.QMainWindow): QtGui.QMainWindow.__init__(self) self.ui = Ui_MainWindow() self.ui.setupUi(self) + + self.ui.combo_Beam.addItems(get_beamcombolist()) + self.ui.comboColSec.addItems(get_columncombolist()) + self.ui.inputDock.setFixedSize(310,710) self.gradeType ={'Please Select Type':'', @@ -55,9 +59,7 @@ class MainController(QtGui.QMainWindow): self.ui.comboConnLoc.currentIndexChanged[str].connect(self.setimage_connection) - - self.disableViewButtons() - #self.retrieve_prevstate() + self.retrieve_prevstate() self.ui.btnInput.clicked.connect(lambda: self.dockbtn_clicked(self.ui.inputDock)) self.ui.btnOutput.clicked.connect(lambda: self.dockbtn_clicked(self.ui.outputDock)) @@ -105,8 +107,8 @@ class MainController(QtGui.QMainWindow): self.ui.actionView_2D_on_XY.triggered.connect(self.call_Topview) self.ui.actionView_2D_on_YZ.triggered.connect(self.call_Sideview) - self.ui.combo_Beam.addItems(get_beamcombolist()) - self.ui.comboColSec.addItems(get_columncombolist()) + # self.ui.combo_Beam.addItems(get_beamcombolist()) + # self.ui.comboColSec.addItems(get_columncombolist()) self.ui.combo_Beam.currentIndexChanged[str].connect(self.fillPlateThickCombo) self.ui.comboColSec.currentIndexChanged[str].connect(self.populateWeldThickCombo) self.ui.comboConnLoc.currentIndexChanged[str].connect(self.populateWeldThickCombo) @@ -121,7 +123,7 @@ class MainController(QtGui.QMainWindow): #self.ui.btn_Savelog.clicked.connect(self.save_log) # Saving and Restoring the finPlate window state. - self.retrieve_prevstate() + #self.retrieve_prevstate() self.ui.btn_Reset.clicked.connect(self.resetbtn_clicked) @@ -135,7 +137,7 @@ class MainController(QtGui.QMainWindow): self.connectivity = None self.fuse_model = None - + self.disableViewButtons() #self.colWebBeamWeb = self.create3DColWebBeamWeb() # my_box = BRepPrimAPI_MakeBox(gp_Pnt(20,0,0),10., 20., 30.).Shape() # my_cylendar = BRepPrimAPI_MakeCylinder(10,30).Shape() @@ -243,7 +245,6 @@ class MainController(QtGui.QMainWindow): self.ui.comboWldSize.clear() for element in newlist[:]: self.ui.comboWldSize.addItem(str(element)) - #self.ui.comboColSec.currentIndex(0) def retrieve_prevstate(self): @@ -280,9 +281,6 @@ class MainController(QtGui.QMainWindow): self.ui.txtPlateWidth.setText(str(uiObj['Plate']['Width (mm)'])) self.ui.comboWldSize.setCurrentIndex(self.ui.comboWldSize.findText(str(uiObj['Weld']['Size (mm)']))) - #self.ui.comboWldSize.currentText(str(uiObj['Weld']['size(mm)'])) - #else: - # self.btnreset_clicked() def setimage_connection(self): ''' @@ -968,8 +966,6 @@ class MainController(QtGui.QMainWindow): def design_btnclicked(self): ''' ''' - designLogger = logging.getLogger("Designlogger.finPlateCalc") - self.ui.outputDock.setFixedSize(310,710) self.enableViewButtons() diff --git a/Connections/Shear/Finplate/ui_finPlate.py b/Connections/Shear/Finplate/ui_finPlate.py index 1346fc8..4045b35 100644 --- a/Connections/Shear/Finplate/ui_finPlate.py +++ b/Connections/Shear/Finplate/ui_finPlate.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'finPlate.ui' # -# Created: Thu Jul 16 11:52:39 2015 +# Created: Thu Jul 16 15:44:41 2015 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost! @@ -1024,6 +1024,15 @@ class Ui_MainWindow(object): self.comboWldSize.setStyleSheet(_fromUtf8("QComboBox { combobox-popup: 0; }")) self.comboWldSize.setMaxVisibleItems(5) self.comboWldSize.setObjectName(_fromUtf8("comboWldSize")) + self.comboWldSize.addItem(_fromUtf8("")) + self.comboWldSize.addItem(_fromUtf8("")) + self.comboWldSize.addItem(_fromUtf8("")) + self.comboWldSize.addItem(_fromUtf8("")) + self.comboWldSize.addItem(_fromUtf8("")) + self.comboWldSize.addItem(_fromUtf8("")) + self.comboWldSize.addItem(_fromUtf8("")) + self.comboWldSize.addItem(_fromUtf8("")) + self.comboWldSize.addItem(_fromUtf8("")) self.lbl_connectivity = QtGui.QLabel(self.dockWidgetContents) self.lbl_connectivity.setGeometry(QtCore.QRect(180, 210, 60, 50)) self.lbl_connectivity.setScaledContents(True) @@ -1468,7 +1477,7 @@ class Ui_MainWindow(object): self.retranslateUi(MainWindow) self.mytabWidget.setCurrentIndex(-1) self.comboPlateThick_2.setCurrentIndex(0) - self.comboWldSize.setCurrentIndex(-1) + self.comboWldSize.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): @@ -1609,6 +1618,15 @@ class Ui_MainWindow(object): self.btnDesign_4.setText(_translate("MainWindow", "Design", None)) self.btn_Reset.setText(_translate("MainWindow", "Reset", None)) self.btn_Design.setText(_translate("MainWindow", "Design", None)) + self.comboWldSize.setItemText(0, _translate("MainWindow", "Select weld thickness", None)) + self.comboWldSize.setItemText(1, _translate("MainWindow", "3", None)) + self.comboWldSize.setItemText(2, _translate("MainWindow", "4", None)) + self.comboWldSize.setItemText(3, _translate("MainWindow", "5", None)) + self.comboWldSize.setItemText(4, _translate("MainWindow", "6", None)) + self.comboWldSize.setItemText(5, _translate("MainWindow", "8", None)) + self.comboWldSize.setItemText(6, _translate("MainWindow", "10", None)) + self.comboWldSize.setItemText(7, _translate("MainWindow", "12", None)) + self.comboWldSize.setItemText(8, _translate("MainWindow", "16", None)) self.label_9.setText(_translate("MainWindow", "Beam section *", None)) self.outputDock.setWindowTitle(_translate("MainWindow", "Output dock", None)) self.t_7.setText(_translate("MainWindow", "No. of bolts required", None)) diff --git a/saveINPUT.txt b/saveINPUT.txt index aff0d1a..68aa8f6 100644 --- a/saveINPUT.txt +++ b/saveINPUT.txt @@ -4,7 +4,7 @@ p1 (dp2 S'ColumSection' p3 -S'ISSC 200' +S'ISMC 300' p4 sS'fu (MPa)' p5 @@ -18,7 +18,7 @@ p8 I250 sS'Connectivity' p9 -S'Column flange-Beam web' +S'Column web-Beam web' p10 ssS'Plate' p11 @@ -31,7 +31,7 @@ p14 I300 sS'Thickness (mm)' p15 -I10 +I20 ssS'Load' p16 (dp17 @@ -43,7 +43,7 @@ p19 (dp20 S'Size (mm)' p21 -I0 +I6 ssS'Bolt' p22 (dp23 |