From d27bd97984a400b064c284086119856441cef830 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 1 Nov 2018 11:04:12 +0300 Subject: [PATCH] Correct an example --- doc/salome/examples/repairing_operations_ex01.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 doc/salome/examples/repairing_operations_ex01.py diff --git a/doc/salome/examples/repairing_operations_ex01.py b/doc/salome/examples/repairing_operations_ex01.py old mode 100644 new mode 100755 index 0e7d55aa8..be00007a8 --- a/doc/salome/examples/repairing_operations_ex01.py +++ b/doc/salome/examples/repairing_operations_ex01.py @@ -19,7 +19,7 @@ theShape = geompy.MakePrismVecH(face, edge, 130) # check the shape at the beginning print("Before ProcessShape:") -isValid = geompy.CheckShape(theShape) +isValid = geompy.CheckShape(theShape, True) if isValid == 0: print("The shape is not valid") else: @@ -33,7 +33,7 @@ PS = geompy.ProcessShape(theShape, Operators, Parameters, Values) # check the shape at the end print("After ProcessShape:") -isValid = geompy.CheckShape(PS) +isValid = geompy.CheckShape(PS, True) if isValid == 0: print("The shape is not valid") raise RuntimeError("It seems, that the ProcessShape() has failed") -- 2.39.2