X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Fdefining_hypotheses_ex14.py;fp=doc%2Fsalome%2Fexamples%2Fdefining_hypotheses_ex14.py;h=3f55844cff79e68af6171aa669e98dcff52a7b0b;hb=54182913fbb9df65a3f4cc96f55db3618835ecd8;hp=6c93e3d270f0f322d705f42b484da1c7ff66e49b;hpb=1cd84a9d45de44f8fd0af83dbe52d83b47131e04;p=modules%2Fsmesh.git diff --git a/doc/salome/examples/defining_hypotheses_ex14.py b/doc/salome/examples/defining_hypotheses_ex14.py index 6c93e3d27..3f55844cf 100644 --- a/doc/salome/examples/defining_hypotheses_ex14.py +++ b/doc/salome/examples/defining_hypotheses_ex14.py @@ -1,7 +1,14 @@ # Quadrangle Parameters example 1 (meshing a face with 3 edges) -from smesh import * -SetCurrentStudy(salome.myStudy) +import salome +salome.salome_init() +import GEOM +from salome.geom import geomBuilder +geompy = geomBuilder.New(salome.myStudy) + +import SMESH, SALOMEDS +from salome.smesh import smeshBuilder +smesh = smeshBuilder.New(salome.myStudy) # Get 1/4 part from the disk face. Box_1 = geompy.MakeBoxDXDYDZ(100, 100, 100)