checkProjection(gr_back, front_translated)
checkProjection(gr_top, bottom_translated)
-salome.sg.updateObjBrowser(0)
+salome.sg.updateObjBrowser(True)
assert("%.2f, %.2f, %.2f"%(x, y, z) == "%.2f, %.2f, %.2f"%(dist_coin, 0, dist_coin))
-salome.sg.updateObjBrowser(0)
+salome.sg.updateObjBrowser(True)
assert("%.2f, %.2f, %.2f"%(x, y, z) == "%.2f, %.2f, %.2f"%(dist_coin, 0, dist_coin))
-salome.sg.updateObjBrowser(0)
+salome.sg.updateObjBrowser(True)
checkProjection(gr_top, bottom_translated)
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)
checkProjection(gr_back, front_translated)
checkProjection(gr_top, bottom_translated)
-salome.sg.updateObjBrowser(0)
+salome.sg.updateObjBrowser(True)
#salome.myStudyManager.SaveAs("test.hdf", salome.myStudy, 0)
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)
checkProjection(gr_front, left_rotated)
-salome.sg.updateObjBrowser(0)
+salome.sg.updateObjBrowser(True)
checkProjection(gr_top, bottom_translated)
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)
assert nodesGroup.Size() == 1, nodesGroup.GetIDs()
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)
assert len(nodes) == 3, "We should have 3 nodes. We got %i. => The preprocessing has done something, but we did not ask him to."%len(nodes)
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)
raise Exception("Wrong minimal area on box. Proximity has not worked.")
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)
raise Exception("Number of faces of Mesh_2 incorrect")
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)
raise Exception("Small edge has not been removed")
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)
raise Exception("Error when computing volume mesh")
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)