Salome HOME
Merge branch 'occ/26452_face_ori'
[modules/smesh.git] / doc / salome / examples / transforming_meshes_ex03.py
index 8184e24508ec36a7b17c80457c64e5d5bdc4ce58..edd4cb438aea3e310dfaaebc39fd9868505d9d7d 100644 (file)
@@ -1,7 +1,7 @@
 # Scale
 
 import salome
-salome.salome_init()
+salome.salome_init_without_session()
 import GEOM
 from salome.geom import geomBuilder
 geompy = geomBuilder.New()
@@ -20,14 +20,14 @@ Nb_Segments_1.SetDistrType( 0 )
 Quadrangle_2D = Mesh1.Quadrangle()
 isDone = Mesh1.Compute()
 
-#Perform scale opration for the whole mesh and creation of a new mesh
+#Perform scale operation for the whole mesh and creation of a new mesh
 newMesh = Mesh1.ScaleMakeMesh(Mesh1,SMESH.PointStruct(100,100,200),[0.5,0.3,0.7],True,"ScaledMesh")
 
 #Perform scale operation for the whole mesh and copy elements
 Mesh1.Scale(Mesh1,SMESH.PointStruct(200,100,100),[0.5,0.5,0.5],True,True)
 
-#Perform scale opration for two edges and move elements
+#Perform scale operation for two edges and move elements
 Mesh1.Scale([1,2],SMESH.PointStruct(-100,100,100),[0.8,1.0,0.7],False)
 
-#Perform scale opration for one face and move elements
+#Perform scale operation for one face and move elements
 Mesh1.Scale([21],SMESH.PointStruct(0,200,200),[0.7,0.7,0.7],False)