Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0022373: EDF 2691 GEOM: Publish the shapes with error in Check Shape
[modules/geom.git]
/
src
/
GEOM_SWIG
/
GEOM_TestMeasures.py
diff --git
a/src/GEOM_SWIG/GEOM_TestMeasures.py
b/src/GEOM_SWIG/GEOM_TestMeasures.py
index 817a73082603e2dfdb693aee3d83751e91895e4f..2aed6d6a5a2c3c4bb7c1454883956a1998f7c126 100644
(file)
--- a/
src/GEOM_SWIG/GEOM_TestMeasures.py
+++ b/
src/GEOM_SWIG/GEOM_TestMeasures.py
@@
-41,8
+41,9
@@
def TestMeasureOperations (geompy, math):
####### CheckShape #######
-
IsValid = geompy.CheckShape(box
)
+
(IsValid, err) = geompy.CheckShape(box, 0, 2
)
if IsValid == 0:
+ geompy.PrintShapeError(box, err)
raise RuntimeError, "Invalid box created"
else:
print "\nBox is valid"