Salome HOME
[bos #33060] EDF 26527 - remove extra-edges doesn't work
[modules/geom.git] / src / GEOM_SWIG / GEOM_Partition5.py
old mode 100755 (executable)
new mode 100644 (file)
index 48dfc44..9642c6a
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -21,7 +21,7 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-#  GEOM GEOM_SWIG : binding of C++ omplementaion with Python
+#  GEOM GEOM_SWIG : binding of C++ implementation with Python
 #  File   : GEOM_Partition5.py
 #  Module : GEOM
 # import gallery_01_GEOM
@@ -32,15 +32,15 @@ import salome
 salome.salome_init()
 import GEOM
 from salome.geom import geomBuilder
-geompy = geomBuilder.New(salome.myStudy)
+geompy = geomBuilder.New()
 
-# -- Dimensions de la boite enti\88re
+# -- Dimensions de la boite entire
 
 LX, LY, LZ = 300.0, 150.0, 150.0
 p0 = geompy.MakeVertex(0.,0.,0.)
 vy = geompy.MakeVectorDXDYDZ(0.,1.,0.)
 
-# -- D\89finition du plan de sym\89trie (O,Ox,Oz)
+# -- D�finition du plan de sym�trie (O,Ox,Oz)
 
 symPlane = geompy.MakePlane(p0, vy, 10.0)
 
@@ -60,7 +60,7 @@ gal = geompy.MakeTranslation(gal, gal_x, -gal_lony/2, 0.0)
 
 # -- Galerie perpendiculaire
 # -- Dimensions de la galerie perpendiculaire
-# -- La longueur est compt\89\80 partir du centre
+# -- La longueur est compt�e � partir du centre
 # -- de la galerie principale
 
 gpe_long, gpe_diam = 200.0, 60.0 
@@ -72,14 +72,14 @@ gpe = geompy.MakeCylinder(
 gpe = geompy.MakeTranslation(gpe, gpe_x, 0, 0)
 
 # -- Dimensions d'une alveole
-# -- Construction d'une alv\89ole
+# -- Construction d'une alvole
 
 alv_long, alv_diam = 60.0, 18.0
 alv01 = geompy.MakeCylinder(p0, vy, alv_diam/2, alv_long)
 alv02 = geompy.MakeMirrorByPlane(alv01, symPlane)
 alv0 = geompy.MakeCompound([alv01, alv02])
 
-# -- Construction des alv\89oles
+# -- Construction des alvoles
 
 alv_del, alv_sep = 40.0, 35.0
 alv1 = geompy.MakeTranslation(alv0, gal_x-gal_diam/2-alv_sep, 0.0, 0.0)