Salome HOME
bos #26615 Disable MGAdaptTests_without_session.py on Windows (Adaptation is not...
[modules/smesh.git] / doc / salome / examples / defining_hypotheses_ex10.py
index 9fea80b144c82531ea5b1b7cff2e98cfa8b3bfe3..0801c2cfc6add725360171eee220408b1dacb09c 100644 (file)
@@ -3,7 +3,7 @@
 # Project prisms from one meshed box to another mesh on the same box
 
 import salome
-salome.salome_init()
+salome.salome_init_without_session()
 import GEOM
 from salome.geom import geomBuilder
 geompy = geomBuilder.New()
@@ -80,5 +80,5 @@ proj3D = tgt_mesh.Projection3D()
 proj3D.SourceShape3D( box, src_mesh, v1F1, v1F2, v2F1, v2F2 )
 tgt_mesh.Compute()
 
-# Move the source mesh to visualy compare the two meshes
+# Move the source mesh to visually compare the two meshes
 src_mesh.TranslateObject( src_mesh, smesh.MakeDirStruct( 210, 0, 0 ), Copy=False)