]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
add more error messages
authoreap <eap@opencascade.com>
Tue, 16 Sep 2008 10:04:38 +0000 (10:04 +0000)
committereap <eap@opencascade.com>
Tue, 16 Sep 2008 10:04:38 +0000 (10:04 +0000)
src/SMESH_SWIG/smeshDC.py

index 511de93de83b3b339d8753bd50585ee968f55702..d5e8661d6315a5724f0389693a04eb8556634e0a 100644 (file)
@@ -3347,6 +3347,8 @@ class Mesh_Triangle(Mesh_Algorithm):
             self.params = self.Hypothesis("BLSURF_Parameters", [],
                                           "libBLSURFEngine.so", UseExisting=0)
             return self.params
+        else:
+            print "Mesh_Triangle with algo type %s does not have such a parameter, check algo type"%self.algoType
         return None
 
     ## Sets MaxSize
@@ -3527,7 +3529,7 @@ class Mesh_Tetrahedron(Mesh_Algorithm):
                                           "libGHS3DEngine.so", UseExisting=0)
             return self.params
         
-        print "Algo support no multi-parameter hypothesis"
+        print "Algo supports no multi-parameter hypothesis"
         return None
 
     ## Sets MaxSize