From: Anthony Geay Date: Thu, 12 Aug 2021 09:38:10 +0000 (+0200) Subject: Switch to SSL mode for tests : naive approach X-Git-Tag: V9_8_0a1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3a36b5d8e2a74b5e9511e5b4b4b42d78672ca0f;p=modules%2Fsmesh.git Switch to SSL mode for tests : naive approach --- diff --git a/doc/salome/examples/3dmesh.py b/doc/salome/examples/3dmesh.py index 04d6073bd..0fdfcb68d 100644 --- a/doc/salome/examples/3dmesh.py +++ b/doc/salome/examples/3dmesh.py @@ -1,7 +1,7 @@ # 3d mesh generation and mesh exploration import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/CTestTestfileInstall.cmake b/doc/salome/examples/CTestTestfileInstall.cmake index daf0e0004..cf70be839 100644 --- a/doc/salome/examples/CTestTestfileInstall.cmake +++ b/doc/salome/examples/CTestTestfileInstall.cmake @@ -19,14 +19,14 @@ INCLUDE(tests.set) -SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py") +SET(PYTHON_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/python_test_driver.py") SET(COMPONENT_NAME SMESH) SET(TIMEOUT 300) FOREACH(tfile ${GOOD_TESTS} ${BAD_TESTS}) GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE) SET(TEST_NAME SMESH_${BASE_NAME}) - ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}) + ADD_TEST(${TEST_NAME} python ${PYTHON_TEST_DRIVER} ${TIMEOUT} ${tfile}) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}") ENDFOREACH() diff --git a/doc/salome/examples/MGAdaptTests_without_session.py b/doc/salome/examples/MGAdaptTests_without_session.py index 4855345c1..aa3f087a2 100644 --- a/doc/salome/examples/MGAdaptTests_without_session.py +++ b/doc/salome/examples/MGAdaptTests_without_session.py @@ -16,7 +16,7 @@ import os import salome salome.standalone() -salome.salome_init() +salome.salome_init_without_session() import SMESH from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/a3DmeshOnModified2Dmesh.py b/doc/salome/examples/a3DmeshOnModified2Dmesh.py index ae03906c8..fb49f873c 100644 --- a/doc/salome/examples/a3DmeshOnModified2Dmesh.py +++ b/doc/salome/examples/a3DmeshOnModified2Dmesh.py @@ -1,5 +1,5 @@ import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/blocFissure_01_without_session.py b/doc/salome/examples/blocFissure_01_without_session.py old mode 100755 new mode 100644 index fcdda3284..14c186f72 --- a/doc/salome/examples/blocFissure_01_without_session.py +++ b/doc/salome/examples/blocFissure_01_without_session.py @@ -19,7 +19,7 @@ import sys # Lancement des cas-tests import salome salome.standalone() -salome.salome_init() +salome.salome_init_without_session() from blocFissure.CasTests.blocFissureTest import blocFissureTest BLOCFISSURE_TEST = blocFissureTest(["cubeAngle", "cubeAngle_2","cubeCoin", "cubeMilieu", "cubeTransverse"]) diff --git a/doc/salome/examples/blocFissure_02_without_session.py b/doc/salome/examples/blocFissure_02_without_session.py old mode 100755 new mode 100644 index 72700e3e9..49e0e8398 --- a/doc/salome/examples/blocFissure_02_without_session.py +++ b/doc/salome/examples/blocFissure_02_without_session.py @@ -22,7 +22,7 @@ import sys # Lancement des cas-tests import salome salome.standalone() -salome.salome_init() +salome.salome_init_without_session() from blocFissure.CasTests.blocFissureTest import blocFissureTest BLOCFISSURE_TEST = blocFissureTest(["cylindre", "cylindre_2", "disquePerce", "faceGauche","ellipse_1", "ellipse_2"]) diff --git a/doc/salome/examples/blocFissure_03_without_session.py b/doc/salome/examples/blocFissure_03_without_session.py old mode 100755 new mode 100644 index a6f730c21..2b2f8ad46 --- a/doc/salome/examples/blocFissure_03_without_session.py +++ b/doc/salome/examples/blocFissure_03_without_session.py @@ -19,7 +19,7 @@ import sys # Lancement des cas-tests import salome salome.standalone() -salome.salome_init() +salome.salome_init_without_session() from blocFissure.CasTests.blocFissureTest import blocFissureTest BLOCFISSURE_TEST = blocFissureTest(["eprouvetteCourbe", "eprouvetteDroite", "eprouvetteDroite_2"]) diff --git a/doc/salome/examples/blocFissure_04_without_session.py b/doc/salome/examples/blocFissure_04_without_session.py old mode 100755 new mode 100644 index e535f7632..0474743e7 --- a/doc/salome/examples/blocFissure_04_without_session.py +++ b/doc/salome/examples/blocFissure_04_without_session.py @@ -17,7 +17,7 @@ import sys # Lancement des cas-tests import salome salome.standalone() -salome.salome_init() +salome.salome_init_without_session() from blocFissure.CasTests.blocFissureTest import blocFissureTest BLOCFISSURE_TEST = blocFissureTest(["fissureCoude_1", "fissureCoude_2", "fissureCoude_3", "fissureCoude_4", "fissureCoude_5"]) diff --git a/doc/salome/examples/blocFissure_05_without_session.py b/doc/salome/examples/blocFissure_05_without_session.py old mode 100755 new mode 100644 index 16e4bb331..b86a2ee02 --- a/doc/salome/examples/blocFissure_05_without_session.py +++ b/doc/salome/examples/blocFissure_05_without_session.py @@ -17,7 +17,7 @@ import sys # Lancement des cas-tests import salome salome.standalone() -salome.salome_init() +salome.salome_init_without_session() from blocFissure.CasTests.blocFissureTest import blocFissureTest BLOCFISSURE_TEST = blocFissureTest(["fissureCoude_6", "fissureCoude_7", "fissureCoude_8", "fissureCoude_9", "fissureCoude_10"]) diff --git a/doc/salome/examples/blocFissure_06_without_session.py b/doc/salome/examples/blocFissure_06_without_session.py old mode 100755 new mode 100644 index 185f5d74f..fd2ef82fc --- a/doc/salome/examples/blocFissure_06_without_session.py +++ b/doc/salome/examples/blocFissure_06_without_session.py @@ -17,7 +17,7 @@ import sys # Lancement des cas-tests import salome salome.standalone() -salome.salome_init() +salome.salome_init_without_session() from blocFissure.CasTests.blocFissureTest import blocFissureTest BLOCFISSURE_TEST = blocFissureTest(["fissure_Coude", "fissure_Coude_4"]) diff --git a/doc/salome/examples/blocFissure_07_without_session.py b/doc/salome/examples/blocFissure_07_without_session.py old mode 100755 new mode 100644 index 87ff9823b..d4d383656 --- a/doc/salome/examples/blocFissure_07_without_session.py +++ b/doc/salome/examples/blocFissure_07_without_session.py @@ -19,7 +19,7 @@ import sys # Lancement des cas-tests import salome salome.standalone() -salome.salome_init() +salome.salome_init_without_session() from blocFissure.CasTests.blocFissureTest import blocFissureTest BLOCFISSURE_TEST = blocFissureTest(["vis_1"]) diff --git a/doc/salome/examples/cartesian_algo.py b/doc/salome/examples/cartesian_algo.py index d7d64b8b7..da86cf423 100644 --- a/doc/salome/examples/cartesian_algo.py +++ b/doc/salome/examples/cartesian_algo.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/create_penta_biquad.py b/doc/salome/examples/create_penta_biquad.py index 9e7ec271a..c13f25c38 100644 --- a/doc/salome/examples/create_penta_biquad.py +++ b/doc/salome/examples/create_penta_biquad.py @@ -3,7 +3,7 @@ import sys import salome -salome.salome_init() +salome.salome_init_without_session() import SMESH, SALOMEDS from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/creating_meshes_ex01.py b/doc/salome/examples/creating_meshes_ex01.py index 110f6269a..ba8563d6d 100644 --- a/doc/salome/examples/creating_meshes_ex01.py +++ b/doc/salome/examples/creating_meshes_ex01.py @@ -1,7 +1,7 @@ # Construction of a Mesh import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/creating_meshes_ex02.py b/doc/salome/examples/creating_meshes_ex02.py index 522f72bf4..8a8966a3f 100644 --- a/doc/salome/examples/creating_meshes_ex02.py +++ b/doc/salome/examples/creating_meshes_ex02.py @@ -1,7 +1,7 @@ # Construction of a Sub-mesh import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/creating_meshes_ex03.py b/doc/salome/examples/creating_meshes_ex03.py index 42bf8c91a..fc20d3660 100644 --- a/doc/salome/examples/creating_meshes_ex03.py +++ b/doc/salome/examples/creating_meshes_ex03.py @@ -1,7 +1,7 @@ # Change priority of sub-meshes in Mesh import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/creating_meshes_ex04.py b/doc/salome/examples/creating_meshes_ex04.py index 0a3cc9faf..7101a0226 100644 --- a/doc/salome/examples/creating_meshes_ex04.py +++ b/doc/salome/examples/creating_meshes_ex04.py @@ -1,7 +1,7 @@ # Editing of a mesh import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/creating_meshes_ex05.py b/doc/salome/examples/creating_meshes_ex05.py index 08e8d135f..725c7e953 100644 --- a/doc/salome/examples/creating_meshes_ex05.py +++ b/doc/salome/examples/creating_meshes_ex05.py @@ -1,7 +1,7 @@ # Export of a Mesh import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/creating_meshes_ex06.py b/doc/salome/examples/creating_meshes_ex06.py index 20b8a0434..60360e14b 100644 --- a/doc/salome/examples/creating_meshes_ex06.py +++ b/doc/salome/examples/creating_meshes_ex06.py @@ -5,7 +5,7 @@ # command creating a blocked cylinder: geompy.MakeDividedCylinder() import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/creating_meshes_ex07.py b/doc/salome/examples/creating_meshes_ex07.py index 669c9b088..f18109cda 100644 --- a/doc/salome/examples/creating_meshes_ex07.py +++ b/doc/salome/examples/creating_meshes_ex07.py @@ -1,7 +1,7 @@ # Building a compound of meshes import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/creating_meshes_ex08.py b/doc/salome/examples/creating_meshes_ex08.py index ff41f09c6..2f506fa2b 100644 --- a/doc/salome/examples/creating_meshes_ex08.py +++ b/doc/salome/examples/creating_meshes_ex08.py @@ -1,7 +1,7 @@ # Mesh Copying import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_adaptive1d.py b/doc/salome/examples/defining_hypotheses_adaptive1d.py index 579d14de5..48d927daa 100644 --- a/doc/salome/examples/defining_hypotheses_adaptive1d.py +++ b/doc/salome/examples/defining_hypotheses_adaptive1d.py @@ -1,5 +1,5 @@ import salome, math -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/defining_hypotheses_ex01.py b/doc/salome/examples/defining_hypotheses_ex01.py index a4083ba49..0a2401d52 100644 --- a/doc/salome/examples/defining_hypotheses_ex01.py +++ b/doc/salome/examples/defining_hypotheses_ex01.py @@ -1,7 +1,7 @@ # Arithmetic Progression and Geometric Progression import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex02.py b/doc/salome/examples/defining_hypotheses_ex02.py index 9473354b3..c5a5ce205 100644 --- a/doc/salome/examples/defining_hypotheses_ex02.py +++ b/doc/salome/examples/defining_hypotheses_ex02.py @@ -1,7 +1,7 @@ # Deflection and Number of Segments import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex03.py b/doc/salome/examples/defining_hypotheses_ex03.py index 3e0a5a7de..14af89e19 100644 --- a/doc/salome/examples/defining_hypotheses_ex03.py +++ b/doc/salome/examples/defining_hypotheses_ex03.py @@ -1,7 +1,7 @@ # Start and End Length import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex04.py b/doc/salome/examples/defining_hypotheses_ex04.py index c15e4421b..bb38eeb9d 100644 --- a/doc/salome/examples/defining_hypotheses_ex04.py +++ b/doc/salome/examples/defining_hypotheses_ex04.py @@ -1,7 +1,7 @@ # Local Length import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex05.py b/doc/salome/examples/defining_hypotheses_ex05.py index d99844718..25fe5429f 100644 --- a/doc/salome/examples/defining_hypotheses_ex05.py +++ b/doc/salome/examples/defining_hypotheses_ex05.py @@ -1,7 +1,7 @@ # Maximum Element Area import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex06.py b/doc/salome/examples/defining_hypotheses_ex06.py index f0a02aee4..687de13f7 100644 --- a/doc/salome/examples/defining_hypotheses_ex06.py +++ b/doc/salome/examples/defining_hypotheses_ex06.py @@ -1,7 +1,7 @@ # Maximum Element Volume import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex07.py b/doc/salome/examples/defining_hypotheses_ex07.py index a8a8e9fd2..2beb838d2 100644 --- a/doc/salome/examples/defining_hypotheses_ex07.py +++ b/doc/salome/examples/defining_hypotheses_ex07.py @@ -1,7 +1,7 @@ # Length from Edges import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex08.py b/doc/salome/examples/defining_hypotheses_ex08.py index 285eae2ad..ee0af3912 100644 --- a/doc/salome/examples/defining_hypotheses_ex08.py +++ b/doc/salome/examples/defining_hypotheses_ex08.py @@ -1,7 +1,7 @@ # Propagation import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex09.py b/doc/salome/examples/defining_hypotheses_ex09.py index 6e86cc95e..7ac2a0fb4 100644 --- a/doc/salome/examples/defining_hypotheses_ex09.py +++ b/doc/salome/examples/defining_hypotheses_ex09.py @@ -1,7 +1,7 @@ # Defining Meshing Algorithms import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex10.py b/doc/salome/examples/defining_hypotheses_ex10.py index c55af79df..0801c2cfc 100644 --- a/doc/salome/examples/defining_hypotheses_ex10.py +++ b/doc/salome/examples/defining_hypotheses_ex10.py @@ -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() diff --git a/doc/salome/examples/defining_hypotheses_ex11.py b/doc/salome/examples/defining_hypotheses_ex11.py index a57d0781d..5e85222ad 100644 --- a/doc/salome/examples/defining_hypotheses_ex11.py +++ b/doc/salome/examples/defining_hypotheses_ex11.py @@ -3,7 +3,7 @@ # Project triangles from one meshed face 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() diff --git a/doc/salome/examples/defining_hypotheses_ex12.py b/doc/salome/examples/defining_hypotheses_ex12.py index 7ead18cbf..9db644836 100644 --- a/doc/salome/examples/defining_hypotheses_ex12.py +++ b/doc/salome/examples/defining_hypotheses_ex12.py @@ -1,7 +1,7 @@ # 1D Mesh with Fixed Points example import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex13.py b/doc/salome/examples/defining_hypotheses_ex13.py index e95246001..c7c736cff 100644 --- a/doc/salome/examples/defining_hypotheses_ex13.py +++ b/doc/salome/examples/defining_hypotheses_ex13.py @@ -1,7 +1,7 @@ # Radial Quadrangle 1D-2D example import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex14.py b/doc/salome/examples/defining_hypotheses_ex14.py index d33e1e155..f1e7e39f3 100644 --- a/doc/salome/examples/defining_hypotheses_ex14.py +++ b/doc/salome/examples/defining_hypotheses_ex14.py @@ -1,7 +1,7 @@ # Quadrangle Parameters example 1 (meshing a face with 3 edges) import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex15.py b/doc/salome/examples/defining_hypotheses_ex15.py index 5a32a1da5..7b0cfbaa4 100644 --- a/doc/salome/examples/defining_hypotheses_ex15.py +++ b/doc/salome/examples/defining_hypotheses_ex15.py @@ -1,7 +1,7 @@ # Quadrangle Parameters example 2 (using different types) import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/defining_hypotheses_ex16.py b/doc/salome/examples/defining_hypotheses_ex16.py index 575601f1e..2826aa15e 100644 --- a/doc/salome/examples/defining_hypotheses_ex16.py +++ b/doc/salome/examples/defining_hypotheses_ex16.py @@ -1,7 +1,7 @@ # "Import 2D Elements from Another Mesh" example import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_ex17.py b/doc/salome/examples/defining_hypotheses_ex17.py index cadd71e24..da76f2210 100644 --- a/doc/salome/examples/defining_hypotheses_ex17.py +++ b/doc/salome/examples/defining_hypotheses_ex17.py @@ -1,7 +1,7 @@ # Viscous layers construction import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/defining_hypotheses_len_near_vertex.py b/doc/salome/examples/defining_hypotheses_len_near_vertex.py index 6d8ab44b2..62379eb8e 100644 --- a/doc/salome/examples/defining_hypotheses_len_near_vertex.py +++ b/doc/salome/examples/defining_hypotheses_len_near_vertex.py @@ -3,7 +3,7 @@ # for meshing a box with quadrangles with refinement near vertices import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/extrusion_penta_biquad.py b/doc/salome/examples/extrusion_penta_biquad.py index b98f8cd4b..fb50008a9 100644 --- a/doc/salome/examples/extrusion_penta_biquad.py +++ b/doc/salome/examples/extrusion_penta_biquad.py @@ -3,7 +3,7 @@ import sys import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder diff --git a/doc/salome/examples/filters_ex09.py b/doc/salome/examples/filters_ex09.py index 21c1d6c94..8e2ebfd3d 100644 --- a/doc/salome/examples/filters_ex09.py +++ b/doc/salome/examples/filters_ex09.py @@ -2,7 +2,7 @@ # initialize SALOME and modules import salome, SMESH -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/filters_ex10.py b/doc/salome/examples/filters_ex10.py index d1f5023eb..b90e5188f 100644 --- a/doc/salome/examples/filters_ex10.py +++ b/doc/salome/examples/filters_ex10.py @@ -2,7 +2,7 @@ # initialize SALOME and modules import salome, SMESH -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/filters_ex16.py b/doc/salome/examples/filters_ex16.py index e417ca2fa..4e3d27be4 100644 --- a/doc/salome/examples/filters_ex16.py +++ b/doc/salome/examples/filters_ex16.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/filters_ex17.py b/doc/salome/examples/filters_ex17.py index a05fbaa21..83eda322c 100644 --- a/doc/salome/examples/filters_ex17.py +++ b/doc/salome/examples/filters_ex17.py @@ -1,7 +1,7 @@ # Double nodes import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() import SMESH diff --git a/doc/salome/examples/filters_ex18.py b/doc/salome/examples/filters_ex18.py index 6fcba2650..c4ec48107 100644 --- a/doc/salome/examples/filters_ex18.py +++ b/doc/salome/examples/filters_ex18.py @@ -1,7 +1,7 @@ # Borders at multi-connection import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() import SMESH diff --git a/doc/salome/examples/filters_ex39.py b/doc/salome/examples/filters_ex39.py index 6a2ddd507..52de1c3d7 100644 --- a/doc/salome/examples/filters_ex39.py +++ b/doc/salome/examples/filters_ex39.py @@ -1,7 +1,7 @@ # "Elements of a domain" filter and "Renumber" hypothesis import salome, SMESH -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/generate_flat_elements.py b/doc/salome/examples/generate_flat_elements.py index 5dda5bb7a..d14cb0495 100644 --- a/doc/salome/examples/generate_flat_elements.py +++ b/doc/salome/examples/generate_flat_elements.py @@ -5,7 +5,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/grouping_elements_ex02.py b/doc/salome/examples/grouping_elements_ex02.py index 4e2a4957f..16feda41f 100644 --- a/doc/salome/examples/grouping_elements_ex02.py +++ b/doc/salome/examples/grouping_elements_ex02.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/grouping_elements_ex03.py b/doc/salome/examples/grouping_elements_ex03.py index 97e1de945..d6d6e83d9 100644 --- a/doc/salome/examples/grouping_elements_ex03.py +++ b/doc/salome/examples/grouping_elements_ex03.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/grouping_elements_ex09.py b/doc/salome/examples/grouping_elements_ex09.py index e066dbd1e..988dad3cf 100644 --- a/doc/salome/examples/grouping_elements_ex09.py +++ b/doc/salome/examples/grouping_elements_ex09.py @@ -1,7 +1,7 @@ # Creating groups of faces separated by sharp edges import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder from salome.smesh import smeshBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/measurements_ex01.py b/doc/salome/examples/measurements_ex01.py index b94f59cbb..b8ccae02a 100644 --- a/doc/salome/examples/measurements_ex01.py +++ b/doc/salome/examples/measurements_ex01.py @@ -1,7 +1,7 @@ # Minimum Distance import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/measurements_ex02.py b/doc/salome/examples/measurements_ex02.py index a11a47dfb..20c04bcc8 100644 --- a/doc/salome/examples/measurements_ex02.py +++ b/doc/salome/examples/measurements_ex02.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/measurements_ex03.py b/doc/salome/examples/measurements_ex03.py index d93687883..217d9cb23 100644 --- a/doc/salome/examples/measurements_ex03.py +++ b/doc/salome/examples/measurements_ex03.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/measurements_ex04.py b/doc/salome/examples/measurements_ex04.py index 6524ac97a..b143267ba 100644 --- a/doc/salome/examples/measurements_ex04.py +++ b/doc/salome/examples/measurements_ex04.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() from salome.smesh import smeshBuilder smesh = smeshBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex01.py b/doc/salome/examples/modifying_meshes_ex01.py index 5950a00cf..2214610cb 100644 --- a/doc/salome/examples/modifying_meshes_ex01.py +++ b/doc/salome/examples/modifying_meshes_ex01.py @@ -1,7 +1,7 @@ # Add Node import salome -salome.salome_init() +salome.salome_init_without_session() from salome.smesh import smeshBuilder smesh = smeshBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex02.py b/doc/salome/examples/modifying_meshes_ex02.py index 78aff713c..7b0b9f348 100644 --- a/doc/salome/examples/modifying_meshes_ex02.py +++ b/doc/salome/examples/modifying_meshes_ex02.py @@ -1,7 +1,7 @@ # Add 0D Element import salome -salome.salome_init() +salome.salome_init_without_session() from salome.smesh import smeshBuilder smesh = smeshBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex03.py b/doc/salome/examples/modifying_meshes_ex03.py index 46df84e8f..59198ccd6 100644 --- a/doc/salome/examples/modifying_meshes_ex03.py +++ b/doc/salome/examples/modifying_meshes_ex03.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex09.py b/doc/salome/examples/modifying_meshes_ex09.py index 057a5d6a2..914e91b5b 100644 --- a/doc/salome/examples/modifying_meshes_ex09.py +++ b/doc/salome/examples/modifying_meshes_ex09.py @@ -1,7 +1,7 @@ # Add Polygon import salome -salome.salome_init() +salome.salome_init_without_session() import SMESH, SALOMEDS from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/modifying_meshes_ex10.py b/doc/salome/examples/modifying_meshes_ex10.py index fe8ec68c6..ed49c4fa6 100644 --- a/doc/salome/examples/modifying_meshes_ex10.py +++ b/doc/salome/examples/modifying_meshes_ex10.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() from salome.smesh import smeshBuilder smesh = smeshBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex15.py b/doc/salome/examples/modifying_meshes_ex15.py index 2656ea300..7d62245e8 100644 --- a/doc/salome/examples/modifying_meshes_ex15.py +++ b/doc/salome/examples/modifying_meshes_ex15.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex16.py b/doc/salome/examples/modifying_meshes_ex16.py index 2ecc4ed07..82bd0e0cf 100644 --- a/doc/salome/examples/modifying_meshes_ex16.py +++ b/doc/salome/examples/modifying_meshes_ex16.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex17.py b/doc/salome/examples/modifying_meshes_ex17.py index 1fe0c466b..833c5027f 100644 --- a/doc/salome/examples/modifying_meshes_ex17.py +++ b/doc/salome/examples/modifying_meshes_ex17.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex18.py b/doc/salome/examples/modifying_meshes_ex18.py index fd21b376e..738e8d213 100644 --- a/doc/salome/examples/modifying_meshes_ex18.py +++ b/doc/salome/examples/modifying_meshes_ex18.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex19.py b/doc/salome/examples/modifying_meshes_ex19.py index 7e3c723c5..386a3cb56 100644 --- a/doc/salome/examples/modifying_meshes_ex19.py +++ b/doc/salome/examples/modifying_meshes_ex19.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex21.py b/doc/salome/examples/modifying_meshes_ex21.py index a2b92a9f9..6aa3f230d 100644 --- a/doc/salome/examples/modifying_meshes_ex21.py +++ b/doc/salome/examples/modifying_meshes_ex21.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex22.py b/doc/salome/examples/modifying_meshes_ex22.py index fe99d13e3..94ce7561d 100644 --- a/doc/salome/examples/modifying_meshes_ex22.py +++ b/doc/salome/examples/modifying_meshes_ex22.py @@ -4,7 +4,7 @@ # a fully functional method is ExtrusionSweepObjects() import salome, math -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex23.py b/doc/salome/examples/modifying_meshes_ex23.py index d7f413440..d2f52b229 100644 --- a/doc/salome/examples/modifying_meshes_ex23.py +++ b/doc/salome/examples/modifying_meshes_ex23.py @@ -3,7 +3,7 @@ import math import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex25.py b/doc/salome/examples/modifying_meshes_ex25.py index 82af9b187..7a6804b06 100644 --- a/doc/salome/examples/modifying_meshes_ex25.py +++ b/doc/salome/examples/modifying_meshes_ex25.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_ex26.py b/doc/salome/examples/modifying_meshes_ex26.py index 53059ff96..defd6ba1d 100644 --- a/doc/salome/examples/modifying_meshes_ex26.py +++ b/doc/salome/examples/modifying_meshes_ex26.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/modifying_meshes_split_vol.py b/doc/salome/examples/modifying_meshes_split_vol.py index 38e8601b3..35eea6aab 100644 --- a/doc/salome/examples/modifying_meshes_split_vol.py +++ b/doc/salome/examples/modifying_meshes_split_vol.py @@ -1,7 +1,7 @@ # Split volumic elements into tetrahedrons import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/notebook_smesh.py b/doc/salome/examples/notebook_smesh.py index 376e51163..959cc20bd 100644 --- a/doc/salome/examples/notebook_smesh.py +++ b/doc/salome/examples/notebook_smesh.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/prism_3d_algo.py b/doc/salome/examples/prism_3d_algo.py index 6c2a9d6d4..06a2c5cc2 100644 --- a/doc/salome/examples/prism_3d_algo.py +++ b/doc/salome/examples/prism_3d_algo.py @@ -1,7 +1,7 @@ # Usage of Extrusion 3D meshing algorithm import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quad_medial_axis_algo.py b/doc/salome/examples/quad_medial_axis_algo.py index 42aea882e..5937d03ac 100644 --- a/doc/salome/examples/quad_medial_axis_algo.py +++ b/doc/salome/examples/quad_medial_axis_algo.py @@ -3,7 +3,7 @@ # for meshing a ring face with quadrangles import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() from salome.smesh import smeshBuilder diff --git a/doc/salome/examples/quality_controls_defl.py b/doc/salome/examples/quality_controls_defl.py index 9c018e8de..97553e02f 100644 --- a/doc/salome/examples/quality_controls_defl.py +++ b/doc/salome/examples/quality_controls_defl.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex01.py b/doc/salome/examples/quality_controls_ex01.py index 30648a3ce..2cb3c97fc 100644 --- a/doc/salome/examples/quality_controls_ex01.py +++ b/doc/salome/examples/quality_controls_ex01.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex02.py b/doc/salome/examples/quality_controls_ex02.py index 62a312ca7..c03942010 100644 --- a/doc/salome/examples/quality_controls_ex02.py +++ b/doc/salome/examples/quality_controls_ex02.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex03.py b/doc/salome/examples/quality_controls_ex03.py index fca52fddf..65db46bbf 100644 --- a/doc/salome/examples/quality_controls_ex03.py +++ b/doc/salome/examples/quality_controls_ex03.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex05.py b/doc/salome/examples/quality_controls_ex05.py index 1ec552f75..b01e35cae 100644 --- a/doc/salome/examples/quality_controls_ex05.py +++ b/doc/salome/examples/quality_controls_ex05.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex06.py b/doc/salome/examples/quality_controls_ex06.py index 8dd8e9cf6..c0cecd4b0 100644 --- a/doc/salome/examples/quality_controls_ex06.py +++ b/doc/salome/examples/quality_controls_ex06.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex07.py b/doc/salome/examples/quality_controls_ex07.py index e85b27d73..d7f296546 100644 --- a/doc/salome/examples/quality_controls_ex07.py +++ b/doc/salome/examples/quality_controls_ex07.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex08.py b/doc/salome/examples/quality_controls_ex08.py index 157bf5f8c..8fc367ea0 100644 --- a/doc/salome/examples/quality_controls_ex08.py +++ b/doc/salome/examples/quality_controls_ex08.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex09.py b/doc/salome/examples/quality_controls_ex09.py index 82050cbc0..9f4f7dbad 100644 --- a/doc/salome/examples/quality_controls_ex09.py +++ b/doc/salome/examples/quality_controls_ex09.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex10.py b/doc/salome/examples/quality_controls_ex10.py index 1a4287fc7..22e93c9b5 100644 --- a/doc/salome/examples/quality_controls_ex10.py +++ b/doc/salome/examples/quality_controls_ex10.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex11.py b/doc/salome/examples/quality_controls_ex11.py index 7c00278dc..fbc2b7c5f 100644 --- a/doc/salome/examples/quality_controls_ex11.py +++ b/doc/salome/examples/quality_controls_ex11.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/quality_controls_ex12.py b/doc/salome/examples/quality_controls_ex12.py index adedda57d..f6227793c 100644 --- a/doc/salome/examples/quality_controls_ex12.py +++ b/doc/salome/examples/quality_controls_ex12.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/radial_prism_3d_algo.py b/doc/salome/examples/radial_prism_3d_algo.py index 6e8c7adba..fe29e52dc 100644 --- a/doc/salome/examples/radial_prism_3d_algo.py +++ b/doc/salome/examples/radial_prism_3d_algo.py @@ -1,7 +1,7 @@ # Usage of Radial Prism 3D meshing algorithm import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() import SMESH diff --git a/doc/salome/examples/split_biquad.py b/doc/salome/examples/split_biquad.py index 235d49157..f9d97b31a 100644 --- a/doc/salome/examples/split_biquad.py +++ b/doc/salome/examples/split_biquad.py @@ -1,7 +1,7 @@ # Split bi-quadratic to linear import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/test_polyhedron_per_solid.py b/doc/salome/examples/test_polyhedron_per_solid.py index 52fb17c7b..f26bfd718 100644 --- a/doc/salome/examples/test_polyhedron_per_solid.py +++ b/doc/salome/examples/test_polyhedron_per_solid.py @@ -3,7 +3,7 @@ import sys import salome -salome.salome_init() +salome.salome_init_without_session() ### ### GEOM component diff --git a/doc/salome/examples/test_smeshplugin_mg_tetra_parallele.py b/doc/salome/examples/test_smeshplugin_mg_tetra_parallele.py old mode 100755 new mode 100644 index a918da29b..37f5dec38 --- a/doc/salome/examples/test_smeshplugin_mg_tetra_parallele.py +++ b/doc/salome/examples/test_smeshplugin_mg_tetra_parallele.py @@ -13,7 +13,7 @@ ComputeMeshes = True import salome -salome.salome_init() +salome.salome_init_without_session() theStudy = salome.myStudy # import iparameters diff --git a/doc/salome/examples/test_smeshplugins.py b/doc/salome/examples/test_smeshplugins.py old mode 100755 new mode 100644 index 0484092e2..48f12085c --- a/doc/salome/examples/test_smeshplugins.py +++ b/doc/salome/examples/test_smeshplugins.py @@ -18,7 +18,7 @@ ComputeMeshes = True import salome -salome.salome_init() +salome.salome_init_without_session() theStudy = salome.myStudy # import iparameters diff --git a/doc/salome/examples/transforming_meshes_ex03.py b/doc/salome/examples/transforming_meshes_ex03.py index cf0999c5b..edd4cb438 100644 --- a/doc/salome/examples/transforming_meshes_ex03.py +++ b/doc/salome/examples/transforming_meshes_ex03.py @@ -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() diff --git a/doc/salome/examples/transforming_meshes_ex06.py b/doc/salome/examples/transforming_meshes_ex06.py index 433ae1928..964449fe3 100644 --- a/doc/salome/examples/transforming_meshes_ex06.py +++ b/doc/salome/examples/transforming_meshes_ex06.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/transforming_meshes_ex07.py b/doc/salome/examples/transforming_meshes_ex07.py index f14c2ca62..65865aca5 100644 --- a/doc/salome/examples/transforming_meshes_ex07.py +++ b/doc/salome/examples/transforming_meshes_ex07.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/transforming_meshes_ex08.py b/doc/salome/examples/transforming_meshes_ex08.py index b593e0ef1..542bb5f54 100644 --- a/doc/salome/examples/transforming_meshes_ex08.py +++ b/doc/salome/examples/transforming_meshes_ex08.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/transforming_meshes_ex09.py b/doc/salome/examples/transforming_meshes_ex09.py index 59403f7db..bbc76691c 100644 --- a/doc/salome/examples/transforming_meshes_ex09.py +++ b/doc/salome/examples/transforming_meshes_ex09.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/transforming_meshes_ex10.py b/doc/salome/examples/transforming_meshes_ex10.py index af3d9ff8e..f3de43d21 100644 --- a/doc/salome/examples/transforming_meshes_ex10.py +++ b/doc/salome/examples/transforming_meshes_ex10.py @@ -1,7 +1,7 @@ # Sew Side Elements import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/transforming_meshes_ex11.py b/doc/salome/examples/transforming_meshes_ex11.py index 2e6a8c6d5..d4137e41d 100644 --- a/doc/salome/examples/transforming_meshes_ex11.py +++ b/doc/salome/examples/transforming_meshes_ex11.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder diff --git a/doc/salome/examples/transforming_meshes_ex12.py b/doc/salome/examples/transforming_meshes_ex12.py index 072fc3ca1..65b05d7d5 100644 --- a/doc/salome/examples/transforming_meshes_ex12.py +++ b/doc/salome/examples/transforming_meshes_ex12.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/transforming_meshes_ex13.py b/doc/salome/examples/transforming_meshes_ex13.py index 12d03892f..94b6f7f22 100644 --- a/doc/salome/examples/transforming_meshes_ex13.py +++ b/doc/salome/examples/transforming_meshes_ex13.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/use_existing_faces.py b/doc/salome/examples/use_existing_faces.py index 0ef132b66..0d4139255 100644 --- a/doc/salome/examples/use_existing_faces.py +++ b/doc/salome/examples/use_existing_faces.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/viewing_meshes_ex01.py b/doc/salome/examples/viewing_meshes_ex01.py index d90d24a3a..0e8899eeb 100644 --- a/doc/salome/examples/viewing_meshes_ex01.py +++ b/doc/salome/examples/viewing_meshes_ex01.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/doc/salome/examples/viewing_meshes_ex02.py b/doc/salome/examples/viewing_meshes_ex02.py index 0dfa09a85..402e89b97 100644 --- a/doc/salome/examples/viewing_meshes_ex02.py +++ b/doc/salome/examples/viewing_meshes_ex02.py @@ -2,7 +2,7 @@ import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/src/SMESH_SWIG/SMESH_mechanic.py b/src/SMESH_SWIG/SMESH_mechanic.py index d79d2c285..0b2974282 100644 --- a/src/SMESH_SWIG/SMESH_mechanic.py +++ b/src/SMESH_SWIG/SMESH_mechanic.py @@ -28,7 +28,7 @@ #------------------------------------------------------------------------- # import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New() diff --git a/src/SMESH_SWIG/SMESH_mechanic_tetra.py b/src/SMESH_SWIG/SMESH_mechanic_tetra.py index 4cd1d70c8..1e424cbdd 100644 --- a/src/SMESH_SWIG/SMESH_mechanic_tetra.py +++ b/src/SMESH_SWIG/SMESH_mechanic_tetra.py @@ -27,7 +27,7 @@ # $Header$ # import salome -salome.salome_init() +salome.salome_init_without_session() import GEOM from salome.geom import geomBuilder geompy = geomBuilder.New()