mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-24 10:20:32 +05:00
Switch to SSL mode for tests : naive approach
This commit is contained in:
parent
ce0f1ae8e9
commit
b3a36b5d8e
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
2
doc/salome/examples/blocFissure_01_without_session.py
Executable file → Normal file
2
doc/salome/examples/blocFissure_01_without_session.py
Executable file → Normal file
@ -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"])
|
||||
|
2
doc/salome/examples/blocFissure_02_without_session.py
Executable file → Normal file
2
doc/salome/examples/blocFissure_02_without_session.py
Executable file → Normal file
@ -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"])
|
||||
|
2
doc/salome/examples/blocFissure_03_without_session.py
Executable file → Normal file
2
doc/salome/examples/blocFissure_03_without_session.py
Executable file → Normal file
@ -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"])
|
||||
|
2
doc/salome/examples/blocFissure_04_without_session.py
Executable file → Normal file
2
doc/salome/examples/blocFissure_04_without_session.py
Executable file → Normal file
@ -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"])
|
||||
|
2
doc/salome/examples/blocFissure_05_without_session.py
Executable file → Normal file
2
doc/salome/examples/blocFissure_05_without_session.py
Executable file → Normal file
@ -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"])
|
||||
|
2
doc/salome/examples/blocFissure_06_without_session.py
Executable file → Normal file
2
doc/salome/examples/blocFissure_06_without_session.py
Executable file → Normal file
@ -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"])
|
||||
|
2
doc/salome/examples/blocFissure_07_without_session.py
Executable file → Normal file
2
doc/salome/examples/blocFissure_07_without_session.py
Executable file → Normal file
@ -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"])
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -3,7 +3,7 @@
|
||||
import sys
|
||||
import salome
|
||||
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
import SMESH, SALOMEDS
|
||||
from salome.smesh import smeshBuilder
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -3,7 +3,7 @@
|
||||
import sys
|
||||
import salome
|
||||
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
from salome.smesh import smeshBuilder
|
||||
smesh = smeshBuilder.New()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Add Node
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
from salome.smesh import smeshBuilder
|
||||
smesh = smeshBuilder.New()
|
||||
|
@ -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()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Add Polygon
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
import SMESH, SALOMEDS
|
||||
from salome.smesh import smeshBuilder
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
from salome.smesh import smeshBuilder
|
||||
smesh = smeshBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -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()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -3,7 +3,7 @@
|
||||
import sys
|
||||
import salome
|
||||
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
###
|
||||
### GEOM component
|
||||
|
2
doc/salome/examples/test_smeshplugin_mg_tetra_parallele.py
Executable file → Normal file
2
doc/salome/examples/test_smeshplugin_mg_tetra_parallele.py
Executable file → Normal file
@ -13,7 +13,7 @@ ComputeMeshes = True
|
||||
|
||||
import salome
|
||||
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
theStudy = salome.myStudy
|
||||
#
|
||||
import iparameters
|
||||
|
2
doc/salome/examples/test_smeshplugins.py
Executable file → Normal file
2
doc/salome/examples/test_smeshplugins.py
Executable file → Normal file
@ -18,7 +18,7 @@ ComputeMeshes = True
|
||||
|
||||
import salome
|
||||
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
theStudy = salome.myStudy
|
||||
#
|
||||
import iparameters
|
||||
|
@ -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()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -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()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
import salome
|
||||
salome.salome_init()
|
||||
salome.salome_init_without_session()
|
||||
import GEOM
|
||||
from salome.geom import geomBuilder
|
||||
geompy = geomBuilder.New()
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user