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
Merge branch 'master' into gni/evolution
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_box_tetra.py
diff --git
a/src/SMESH_SWIG/SMESH_box_tetra.py
b/src/SMESH_SWIG/SMESH_box_tetra.py
index 9e5612e6e9350635bc3f6d2867c7320d9dfeb35f..27565e680d6dc55e35951954d544c9bf74fb663c 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_box_tetra.py
+++ b/
src/SMESH_SWIG/SMESH_box_tetra.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-20
20
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-34,7
+34,7
@@
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
smesh = smeshBuilder.New()
from salome.smesh import smeshBuilder
smesh = smeshBuilder.New()
-# ---- define a box
e
+# ---- define a box
box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
@@
-52,7
+52,7
@@
print("number of Edges in box : ", len(subEdgeList))
### ---------------------------- SMESH --------------------------------------
### ---------------------------- SMESH --------------------------------------
-# ---- init a Mesh with the box
e
+# ---- init a Mesh with the box
mesh = smesh.Mesh(box, "MeshBox")
mesh = smesh.Mesh(box, "MeshBox")
@@
-90,7
+90,7
@@
print(hypVolume.GetId())
print(hypVolume.GetMaxElementVolume())
smesh.SetName(hypVolume, "MaxElementVolume_" + str(maxElementVolume))
print(hypVolume.GetMaxElementVolume())
smesh.SetName(hypVolume, "MaxElementVolume_" + str(maxElementVolume))
-print("-------------------------- compute the mesh of the box
e
")
+print("-------------------------- compute the mesh of the box")
ret = mesh.Compute()
print(ret)
if ret != 0:
ret = mesh.Compute()
print(ret)
if ret != 0: