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
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
ex31_dimGroup.py
diff --git
a/src/SMESH_SWIG/ex31_dimGroup.py
b/src/SMESH_SWIG/ex31_dimGroup.py
index 3b1a480f7dd60b82d050ce67e1718a7ca860843e..65830faac3d04784194793d096437caca757fa49 100755
(executable)
--- a/
src/SMESH_SWIG/ex31_dimGroup.py
+++ b/
src/SMESH_SWIG/ex31_dimGroup.py
@@
-34,7
+34,7
@@
Box_1 = geompy.MakeBoxDXDYDZ(200, 200, 200)
geompy.addToStudy( Box_1, "Box_1" )
smesh.SetCurrentStudy(salome.myStudy)
-import StdMeshers
+from salome.StdMeshers import StdMeshersBuilder
Mesh_1 = smesh.Mesh(Box_1)
Regular_1D = Mesh_1.Segment()
Nb_Segments_1 = Regular_1D.NumberOfSegments(10)