Salome HOME
0023541: [CEA 2229] The test GEOM_Nut.py crashes
[modules/geom.git] / src / GEOM_SWIG / GEOM_Nut.py
old mode 100755 (executable)
new mode 100644 (file)
index 2f425a4..e3560e1
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -75,10 +75,10 @@ Fillet_1 = geompy.MakeFillet(Common_1, 10, geompy.ShapeType["EDGE"], [5])
 geompy.addToStudy(Fillet_1, "Fillet_1")
 
 #Chamfer applying
-Chamfer_1 = geompy.MakeChamferEdge(Fillet_1, 10, 10, 16, 50 )
+Chamfer_1 = geompy.MakeChamferEdge(Fillet_1, 10, 10, 44, 114 )
 geompy.addToStudy(Chamfer_1, "Chamfer_1")
 
-Chamfer_2 = geompy.MakeChamferEdge(Chamfer_1, 10, 10, 21, 31 )
+Chamfer_2 = geompy.MakeChamferEdge(Chamfer_1, 10, 10, 20, 30 )
 geompy.addToStudy(Chamfer_2, "Chamfer_2")
 
 #Import of the shape from "slots.brep"
@@ -91,5 +91,5 @@ geompy.addToStudy(theShapeForCut, "slot.brep_1")
 Cut_1 = geompy.MakeBoolean(Chamfer_2, theShapeForCut, 2)
 geompy.addToStudy(Cut_1, "Cut_1")
 
-salome.sg.updateObjBrowser(1)
+salome.sg.updateObjBrowser(True)