Salome HOME
Merge branch 'V8_4_BR'
[modules/smesh.git] / doc / salome / examples / defining_hypotheses_ex02.py
index b0726a1ca0bb5246ef5418c4f17272bd0cc9cae2..572404569d8f53c16feb88a1eb40316e787f574c 100644 (file)
@@ -1,7 +1,14 @@
-# Deflection 1D and Number of Segments
+# Deflection and Number of Segments
 
-import geompy
-import smesh
+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)
 
 # create a face from arc and straight segment
 px = geompy.MakeVertex(100., 0.  , 0.  )