From: GERALD NICOLAS Date: Thu, 17 Jun 2021 14:17:55 +0000 (+0200) Subject: fichiers de tests X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=96ade6d0d4dd85cb48054670223b58c28540bc31;p=modules%2Fshaper.git fichiers de tests --- diff --git a/src/PythonAddons/macros/pipeNetwork/pipeNetwork.txt b/src/PythonAddons/macros/pipeNetwork/pipeNetwork.txt index b569485a2..ff9a3602d 100644 --- a/src/PythonAddons/macros/pipeNetwork/pipeNetwork.txt +++ b/src/PythonAddons/macros/pipeNetwork/pipeNetwork.txt @@ -1,10 +1,39 @@ -21 16 224.00000000000003 1 -33 21 224.00000000000003 1 -35 0 224.00000000000003 1.1 -40 43 224.00000000000003 1 -53 43 224.00000000000003 1.2 -69 29 224.00000000000003 1 -97 58 224.00000000000003 1 -64 100 224.00000000000003 1.2 -100 127 224.00000000000003 1 -88 115 224.00000000000003 1.2 +# 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/pipeNetwork/pipeNetwork_a.txt b/src/PythonAddons/macros/pipeNetwork/pipeNetwork_a.txt new file mode 100644 index 000000000..c953b4b1a --- /dev/null +++ b/src/PythonAddons/macros/pipeNetwork/pipeNetwork_a.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 +..............