]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fichiers de tests
authorGérald NICOLAS <gerald.nicolas@edf.fr>
Thu, 17 Jun 2021 07:04:13 +0000 (09:04 +0200)
committerGérald NICOLAS <gerald.nicolas@edf.fr>
Mon, 21 Jun 2021 06:40:47 +0000 (08:40 +0200)
src/PythonAddons/macros/piping/2par2_tuyau.txt [new file with mode: 0644]
src/PythonAddons/macros/piping/ligne_tuyau.txt [new file with mode: 0644]

diff --git a/src/PythonAddons/macros/piping/2par2_tuyau.txt b/src/PythonAddons/macros/piping/2par2_tuyau.txt
new file mode 100644 (file)
index 0000000..ff9a360
--- /dev/null
@@ -0,0 +1,39 @@
+# Positions des noeuds :
+nodes section
+id_noeud1 - 0 0 0
+id_noeud2 id_noeud1 5 -5 10
+id_noeud3 id_noeud1 10 -10 0
+id_noeud4 id_noeud1 20 -20 0
+id_noeud5 id_noeud1 21 -21 10
+id_noeud6 id_noeud1 30 -21 10
+id_noeud7 id_noeud1 30 -10 10
+id_noeud8 id_noeud1 30 -10 20
+id_noeud9 id_noeud1 30 0 10
+..........
+
+# Connectivite :
+connectivity section
+# Choix entre 2 methodes=soit 2par2 soit par_ligne
+method=2par2
+id_noeud1 id_noeud3
+id_noeud3 id_noeud4
+id_noeud3 id_noeud2
+id_noeud4 id_noeud5
+id_noeud5 id_noeud6
+id_noeud6 id_noeud7
+id_noeud7 id_noeud9
+id_noeud7 id_noeud8
+............
+
+# Conges de raccordement :
+fillets section
+id_noeud1 angular_connection
+id_noeud2 angular_connection
+id_noeud3 angular_connection
+id_noeud4 radius=1
+id_noeud5 angular_connection
+id_noeud6 radius=2
+id_noeud7 angular_connection
+id_noeud8 angular_connection
+id_noeud9 angular_connection
+..............
diff --git a/src/PythonAddons/macros/piping/ligne_tuyau.txt b/src/PythonAddons/macros/piping/ligne_tuyau.txt
new file mode 100644 (file)
index 0000000..4053093
--- /dev/null
@@ -0,0 +1,34 @@
+ Positions des noeuds :
+nodes section
+id_noeud1 - 0 0 0
+id_noeud2 id_noeud1 5 -5 10
+id_noeud3 id_noeud1 10 -10 0
+id_noeud4 id_noeud1 20 -20 0
+id_noeud5 id_noeud1 21 -21 10
+id_noeud6 id_noeud1 30 -21 10
+id_noeud7 id_noeud1 30 -10 10
+id_noeud8 id_noeud1 30 -10 20
+id_noeud9 id_noeud1 30 0 10
+..........
+
+# Connectivite :
+connectivity section
+# Choix entre 2 methodes=soit 2par2 soit par_ligne
+method=par_ligne
+id_noeud1 id_noeud3 id_noeud4 id_noeud5 id_noeud6 id_noeud7 id_noeud9
+id_noeud3 id_noeud2
+id_noeud7 id_noeud8
+............
+
+# Conges de raccordement :
+fillets section
+id_noeud1 angular_connection
+id_noeud2 angular_connection
+id_noeud3 angular_connection
+id_noeud4 radius=1
+id_noeud5 angular_connection
+id_noeud6 radius=2
+id_noeud7 angular_connection
+id_noeud8 angular_connection
+id_noeud9 angular_connection
+..............