X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FGEOM%2Finput%2Fgeompy_migration.doc;h=fcac5fb05cc212d218b00be660a7d0f9f1ce48e7;hb=97d9c2c6b1eb1b8c37b74e9409ebdb89c42c8c27;hp=b15985ef87e3d1818b22101f7ee6ad70570c009a;hpb=4b66576d3923981060b2c6d6e87718f088422167;p=modules%2Fgeom.git
diff --git a/doc/salome/gui/GEOM/input/geompy_migration.doc b/doc/salome/gui/GEOM/input/geompy_migration.doc
index b15985ef8..fcac5fb05 100644
--- a/doc/salome/gui/GEOM/input/geompy_migration.doc
+++ b/doc/salome/gui/GEOM/input/geompy_migration.doc
@@ -2,15 +2,15 @@
\page geompy_migration_page Modifying Geometry Python scripts from SALOME 6 and before
-\n With SALOME 7.2, the Python interface for Geometry has been slightly modified to offer new functionality:
+\n In SALOME 7.2, the Python interface for Geometry has been slightly modified to offer new functionality:
- \subpage tui_execution_distribution_page
- \subpage tui_auto_completion_documentation_page
-\n Scripts generated for SALOME 6 and older versions must be adapted to work in SALOME 7.2 with all functionality.
-\n A compatibility mode allows old scripts to work in almost all cases, but with a warning.
+\n Scripts generated for SALOME 6 and older versions must be adapted to work in SALOME 7.2 with full functionality.
+\n The compatibility mode allows old scripts to work in almost all cases, but with a warning.
Salome initialisation must always be done as shown below
\n (salome_init() can be invoked safely several times):
@@ -20,12 +20,12 @@ salome.salome_init()
\endcode
Geometry initialisation is modified.
-\n old mode:
+\n the old mode:
\code
import geompy
geompy.init_geom(theStudy)
\endcode
-new mode:
+\n the new mode:
\code
import GEOM
from salome.geom import geomBuilder
@@ -36,8 +36,8 @@ geompy = geomBuilder.New(salome.myStudy)
Of course, from geompy import * is no more possible.
\n You have to explicitely write geompy.some_method().
-\n Some variables are no longer in namespace geompy.GEOM but in namespace GEOM.
-\n All the occurences of geompy.GEOM. can be replaced by GEOM..
+\n Some variables have been transferred from the namespace geompy.GEOM to the namespace GEOM.
+\n All occurrences of geompy.GEOM. can be replaced by GEOM..
\n For instance:
\code
param_polyline = geompy.MakeCurveParametric("t", "sin(t)", "cos(t)", 0., 100., 100, geompy.GEOM.Polyline, theNewMethod=True)