add more error messages

This commit is contained in:
eap 2008-09-16 10:04:38 +00:00
parent 9b15ba1413
commit aaefbed54e

View File

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