summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeepa-chaudhari2015-06-09 13:17:56 +0530
committerdeepa-chaudhari2015-06-09 13:17:56 +0530
commit2d492db8cde02a6dce403d9ad2af9cb6dfa9c287 (patch)
treef1945ec096e2ba1e163ba80b3df794bc295b57bb
parent4d9df2cc747de8af9234bf105cc052d3fd5681d7 (diff)
downloadOsdagLive-2d492db8cde02a6dce403d9ad2af9cb6dfa9c287.tar.gz
OsdagLive-2d492db8cde02a6dce403d9ad2af9cb6dfa9c287.tar.bz2
OsdagLive-2d492db8cde02a6dce403d9ad2af9cb6dfa9c287.zip
displaymessage
-rw-r--r--Connections/Shear/Finplate/finPlateMain.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/Connections/Shear/Finplate/finPlateMain.py b/Connections/Shear/Finplate/finPlateMain.py
index a615acb..c9cdf33 100644
--- a/Connections/Shear/Finplate/finPlateMain.py
+++ b/Connections/Shear/Finplate/finPlateMain.py
@@ -672,7 +672,7 @@ class MainController(QtGui.QMainWindow):
resultObj = finConn(uiObj)
if len(resultObj) == 0:
- self.display.DisplayMessage(gp_Pnt(0,0,0),'Sorry can not create 3D model',color = 'None')
+ self.display.DisplayMessage(gp_Pnt(0,0,0),"Sorry can not create 3D model")
else:
dictbeamdata = self.fetchBeamPara()
##### BEAM PARAMETERS #####
@@ -781,8 +781,6 @@ class MainController(QtGui.QMainWindow):
my_sphere = BRepPrimAPI_MakeSphere(gpPntplateOrigin,2).Shape()
self.display.DisplayShape(my_sphere,update=True)
-
-
def call_3DBeam(self):
'''
@@ -814,10 +812,8 @@ class MainController(QtGui.QMainWindow):
self.ui.mytabWidget.setCurrentIndex(0)
self.display3Dmodel(self.memberlist, "Finplate")
-
-
def design_btnclicked(self):
'''
'''
@@ -870,8 +866,6 @@ class MainController(QtGui.QMainWindow):
self.display.DisplayShape(final_model, update = True)
self.display.SetModeHLR()
-
-
if (viewName == "Front"):
self.display.View_Front()
elif (viewName == "Top"):