Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bos #41122][EDF] Quadrangle radial for face which curved edges didn't discretize...
[modules/smesh.git]
/
src
/
SMESH_PY
/
smeshstudytools.py
diff --git
a/src/SMESH_PY/smeshstudytools.py
b/src/SMESH_PY/smeshstudytools.py
index c80998ee94c76d0960779659ab3878558bdf5fe1..53b58b4c2bea3761e514c94275ef98ff67b5ee28 100644
(file)
--- a/
src/SMESH_PY/smeshstudytools.py
+++ b/
src/SMESH_PY/smeshstudytools.py
@@
-1,6
+1,6
@@
# -*- coding: utf-8 -*-
#
# -*- coding: utf-8 -*-
#
-# Copyright (C) 2007-20
16 CEA/DEN, EDF R&D
, OPEN CASCADE
+# Copyright (C) 2007-20
24 CEA, EDF
, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-29,7
+29,7
@@
# \}
"""
# \}
"""
-This module provides a
new
class :class:`SMeshStudyTools` to facilitate the
+This module provides a class :class:`SMeshStudyTools` to facilitate the
use of mesh objects in Salome study.
"""
use of mesh objects in Salome study.
"""
@@
-203,6
+203,8
@@
def TEST_createBoxMesh():
Hexa_3D = smesh.CreateHypothesis('Hexa_3D')
status = boxmesh.AddHypothesis(Hexa_3D)
isDone = boxmesh.Compute()
Hexa_3D = smesh.CreateHypothesis('Hexa_3D')
status = boxmesh.AddHypothesis(Hexa_3D)
isDone = boxmesh.Compute()
+ if not isDone:
+ raise Exception("Error when computing Mesh")
smesh.SetName(boxmesh.GetMesh(), 'boxmesh')
if salome.sg.hasDesktop():
smesh.SetName(boxmesh.GetMesh(), 'boxmesh')
if salome.sg.hasDesktop():