mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
add more error messages
This commit is contained in:
parent
9b15ba1413
commit
aaefbed54e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user