From 23b4dbfb80032b085ee368000844148eec7e215b Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9rald=20NICOLAS?= Date: Thu, 17 Jun 2021 09:04:13 +0200 Subject: [PATCH] Fichiers de tests --- .../macros/piping/2par2_tuyau.txt | 39 +++++++++++++++++++ .../macros/piping/ligne_tuyau.txt | 34 ++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 src/PythonAddons/macros/piping/2par2_tuyau.txt create mode 100644 src/PythonAddons/macros/piping/ligne_tuyau.txt diff --git a/src/PythonAddons/macros/piping/2par2_tuyau.txt b/src/PythonAddons/macros/piping/2par2_tuyau.txt new file mode 100644 index 000000000..ff9a3602d --- /dev/null +++ b/src/PythonAddons/macros/piping/2par2_tuyau.txt @@ -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 index 000000000..405309386 --- /dev/null +++ b/src/PythonAddons/macros/piping/ligne_tuyau.txt @@ -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 +.............. -- 2.39.2