Salome HOME
Merge Python 3 porting.
[modules/smesh.git] / doc / salome / gui / SMESH / input / smesh_migration.doc
index e14640e8ba40f2bfe651cdde716a341daa5a5786..cf01817583d8da14181e3068a1af450b89b27d91 100644 (file)
@@ -4,15 +4,10 @@
 
 \n In SALOME 7.2, the Python interface for %Mesh has been slightly modified to offer new functionality:
 
-<ul>
-  <li>\subpage tui_execution_distribution_page</li>
-  <li>\subpage tui_auto_completion_documentation_page</li>
-</ul>
-
 \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.
 
-See also <li>\subpage geompy_migration_page</li>
+See also \subpage geompy_migration_page
 
 <b>Salome initialisation must always be done as shown below</b>
 \n (<em>salome_init()</em> can be invoked safely several times):
@@ -25,13 +20,13 @@ salome.salome_init()
 \n the old mode (from dump):
 \code
 import smesh, SMESH, SALOMEDS
-smesh.SetCurrentStudy(theStudy)
+smesh.UpdateStudy()
 \endcode
 \n the new mode:
 \code
 import SMESH, SALOMEDS
 from salome.smesh import smeshBuilder
-smesh =  smeshBuilder.New(salome.myStudy)
+smesh =  smeshBuilder.New()
 \endcode
 
 
@@ -47,7 +42,7 @@ is replaced by:
 \code
 MEFISTO_2D_1 = Mesh_1.Triangle(algo=smeshBuilder.MEFISTO,geom=Face_1)
 \endcode
-\n StdMeshers algoritms concerned are <em>REGULAR, PYTHON, COMPOSITE, MEFISTO, Hexa, QUADRANGLE, RADIAL_QUAD</em>.
+\n StdMeshers algorithms concerned are <em>REGULAR, PYTHON, COMPOSITE, MEFISTO, Hexa, QUADRANGLE, RADIAL_QUAD</em>.
 \n SMESH Plugins provide such algorithms as: <em> NETGEN, NETGEN_FULL, FULL_NETGEN, NETGEN_1D2D3D, NETGEN_1D2D, NETGEN_2D, NETGEN_3D</em>.
 \n If you use DISTENE plugins, you also have <em>BLSURF, GHS3D, GHS3DPRL, Hexotic</em>.
 
@@ -98,7 +93,7 @@ is replaced by:
 from salome.StdMeshers import StdMeshersBuilder
 from salome.NETGENPlugin import NETGENPluginBuilder
 from salome.BLSURFPlugin import BLSURFPluginBuilder
-from salomeGHS3DPlugin .import GHS3DPluginBuilder
+from salome.GHS3DPlugin import GHS3DPluginBuilder
 from salome.HexoticPLUGIN import HexoticPLUGINBuilder
 \endcode