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 multi-study removal branch.
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_Partition1_tetra.py
diff --git
a/src/SMESH_SWIG/SMESH_Partition1_tetra.py
b/src/SMESH_SWIG/SMESH_Partition1_tetra.py
index f6d4d1b7ea4aba747606b1a6e9fb86a35cb8422a..0b6667fe4b2c80dd61559f959b68c88daacf3ca5 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_Partition1_tetra.py
+++ b/
src/SMESH_SWIG/SMESH_Partition1_tetra.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
6
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
@@
-29,11
+29,11
@@
import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
-geompy = geomBuilder.New(
salome.myStudy
)
+geompy = geomBuilder.New()
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
-smesh = smeshBuilder.New(
salome.myStudy
)
+smesh = smeshBuilder.New()
from math import sqrt
from math import sqrt
@@
-43,7
+43,7
@@
from math import sqrt
barier_height = 7.0
barier_radius = 5.6 / 2 # Rayon de la bariere
colis_radius = 1.0 / 2 # Rayon du colis
barier_height = 7.0
barier_radius = 5.6 / 2 # Rayon de la bariere
colis_radius = 1.0 / 2 # Rayon du colis
-colis_step = 2.0 # Distance s
\89
parant deux colis
+colis_step = 2.0 # Distance s
�
parant deux colis
cc_width = 0.11 # Epaisseur du complement de colisage
# --
cc_width = 0.11 # Epaisseur du complement de colisage
# --
@@
-184,4
+184,4
@@
if ret != 0:
else:
print "problem when computing the mesh"
else:
print "problem when computing the mesh"
-salome.sg.updateObjBrowser(
1
)
+salome.sg.updateObjBrowser()