From f45b7121e69d6b7800c828f9e1673961b0752707 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9rald=20NICOLAS?= Date: Tue, 15 Jun 2021 11:16:43 +0200 Subject: [PATCH] macro tuyauterie --- src/PythonAddons/CMakeLists.txt | 8 +- src/PythonAddons/PythonAddons_msg_en.ts | 97 +++ src/PythonAddons/PythonAddons_msg_fr.ts | 101 +++ src/PythonAddons/Test/TestRectangle.py | 0 .../Test/TestRectangleCentered.py | 0 src/PythonAddons/Test/TestcompoundVertices.py | 0 src/PythonAddons/Test/TestimportParameters.py | 0 .../Test/TestpipeNetwork_2par2.py | 51 ++ .../Test/TestpipeNetwork_parligne.py | 51 ++ src/PythonAddons/__init__.py | 0 src/PythonAddons/addons_Features.py | 6 +- src/PythonAddons/addons_Features.xml.in | 1 + src/PythonAddons/doc/addons_Features.rst | 3 +- src/PythonAddons/doc/examples/pipeNetwork.py | 39 + .../doc/examples/pipeNetwork_ligne.txt | 1 + .../doc/examples/rectangle/feature.py | 0 src/PythonAddons/doc/images/compound.png | Bin 213 -> 48 bytes .../doc/images/importParameters.png | Bin 191 -> 50 bytes src/PythonAddons/doc/images/pipeNetwork.png | 1 + .../doc/images/pipeNetworkExemple.png | Bin 0 -> 28729 bytes .../doc/images/pipeNetworkPanel.png | Bin 0 -> 6261 bytes .../doc/images/pipeNetworkPanelHexa.png | Bin 0 -> 8020 bytes src/PythonAddons/doc/pipeNetworkFeature.rst | 105 +++ src/PythonAddons/macros/__init__.py | 0 .../macros/compoundVertices/__init__.py | 0 .../macros/compoundVertices/feature.py | 0 .../icons/{import.png => compound.png} | Bin .../macros/compoundVertices/widget.xml | 6 +- .../macros/importParameters/__init__.py | 0 .../macros/importParameters/feature.py | 0 .../macros/importParameters/widget.xml | 4 +- .../macros/pipeNetwork/__init__.py | 19 + .../macros/pipeNetwork/feature.py | 817 ++++++++++++++++++ .../macros/pipeNetwork/icons/pipeNetwork.png | Bin 0 -> 1326 bytes .../macros/pipeNetwork/pipeNetwork_2par2.txt | 43 + .../macros/pipeNetwork/pipeNetwork_ligne.txt | 33 + .../macros/pipeNetwork/widget.xml | 20 + src/PythonAddons/macros/rectangle/__init__.py | 0 src/PythonAddons/macros/rectangle/feature.py | 0 src/PythonAddons/tests.set | 2 + 40 files changed, 1397 insertions(+), 11 deletions(-) create mode 100644 src/PythonAddons/PythonAddons_msg_fr.ts mode change 100644 => 100755 src/PythonAddons/Test/TestRectangle.py mode change 100644 => 100755 src/PythonAddons/Test/TestRectangleCentered.py mode change 100644 => 100755 src/PythonAddons/Test/TestcompoundVertices.py mode change 100644 => 100755 src/PythonAddons/Test/TestimportParameters.py create mode 100755 src/PythonAddons/Test/TestpipeNetwork_2par2.py create mode 100755 src/PythonAddons/Test/TestpipeNetwork_parligne.py mode change 100644 => 100755 src/PythonAddons/__init__.py mode change 100644 => 100755 src/PythonAddons/addons_Features.py create mode 100755 src/PythonAddons/doc/examples/pipeNetwork.py create mode 120000 src/PythonAddons/doc/examples/pipeNetwork_ligne.txt mode change 100644 => 100755 src/PythonAddons/doc/examples/rectangle/feature.py mode change 100644 => 120000 src/PythonAddons/doc/images/compound.png mode change 100644 => 120000 src/PythonAddons/doc/images/importParameters.png create mode 120000 src/PythonAddons/doc/images/pipeNetwork.png create mode 100644 src/PythonAddons/doc/images/pipeNetworkExemple.png create mode 100644 src/PythonAddons/doc/images/pipeNetworkPanel.png create mode 100644 src/PythonAddons/doc/images/pipeNetworkPanelHexa.png create mode 100644 src/PythonAddons/doc/pipeNetworkFeature.rst mode change 100644 => 100755 src/PythonAddons/macros/__init__.py mode change 100644 => 100755 src/PythonAddons/macros/compoundVertices/__init__.py mode change 100644 => 100755 src/PythonAddons/macros/compoundVertices/feature.py rename src/PythonAddons/macros/compoundVertices/icons/{import.png => compound.png} (100%) mode change 100644 => 100755 src/PythonAddons/macros/importParameters/__init__.py mode change 100644 => 100755 src/PythonAddons/macros/importParameters/feature.py create mode 100755 src/PythonAddons/macros/pipeNetwork/__init__.py create mode 100755 src/PythonAddons/macros/pipeNetwork/feature.py create mode 100644 src/PythonAddons/macros/pipeNetwork/icons/pipeNetwork.png create mode 100644 src/PythonAddons/macros/pipeNetwork/pipeNetwork_2par2.txt create mode 100644 src/PythonAddons/macros/pipeNetwork/pipeNetwork_ligne.txt create mode 100644 src/PythonAddons/macros/pipeNetwork/widget.xml mode change 100644 => 100755 src/PythonAddons/macros/rectangle/__init__.py mode change 100644 => 100755 src/PythonAddons/macros/rectangle/feature.py diff --git a/src/PythonAddons/CMakeLists.txt b/src/PythonAddons/CMakeLists.txt index 289f365e7..07d9bbd5e 100644 --- a/src/PythonAddons/CMakeLists.txt +++ b/src/PythonAddons/CMakeLists.txt @@ -19,6 +19,7 @@ SET(TEXT_RESOURCES PythonAddons_msg_en.ts + PythonAddons_msg_fr.ts ) # configuration @@ -42,6 +43,7 @@ INSTALL(DIRECTORY macros DESTINATION ${SHAPER_INSTALL_ADDONS}) INSTALL(DIRECTORY macros/rectangle/icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Addons) INSTALL(DIRECTORY macros/compoundVertices/icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Addons) INSTALL(DIRECTORY macros/importParameters/icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Addons) +INSTALL(DIRECTORY macros/pipeNetwork/icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Addons) INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}) INCLUDE(UnitTest) @@ -53,16 +55,16 @@ ADD_UNIT_TESTS(${TEST_NAMES}) if(${HAVE_SALOME}) enable_testing() set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/PythonAddons") - + install(FILES CTestTestfileInstall.cmake DESTINATION ${TEST_INSTALL_DIRECTORY} RENAME CTestTestfile.cmake) install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY}) - + set(TMP_TESTS_NAMES) foreach(tfile ${TEST_NAMES}) list(APPEND TMP_TESTS_NAMES "Test/${tfile}") endforeach(tfile ${TEST_NAMES}) - + install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY}) endif(${HAVE_SALOME}) diff --git a/src/PythonAddons/PythonAddons_msg_en.ts b/src/PythonAddons/PythonAddons_msg_en.ts index 305ed4131..2c39004e3 100644 --- a/src/PythonAddons/PythonAddons_msg_en.ts +++ b/src/PythonAddons/PythonAddons_msg_en.ts @@ -1,4 +1,101 @@ + + + + compoundVertices + + Points set + Import points + + + Import a set of construction points + Import a set of construction points + + + + compoundVertices:file_path + + Import file + Import txt file (X Y Z) + + + Select file + Select the file of the points, + defined by their coordinates X Y Z + + + + compoundVertices:separator + + Separator (optional): + Separator (optional): + + + "Select separator" + Select a separator; the default value is white spaces. + + + + + + importParameters + + Import Parameters + Import parameters + + + Import a set of parameters + Import a set of parameters + + + + importParameters:file_path + + Import file + Import file + + + Select file + Select the file of the parameters, + defined by couples: name, value + + + + + + pipeNetwork + + Pipe Network + Pipe network + + + Create + Create a network of pipes + + + + pipeNetwork:file_path + + Import file + Text file of the network + + + Select file + Select the text file of the network + + + + pipeNetwork:blocking + + Hexa + Mesh with hexadra + + + Partition + Partition of the CAD to mesh with hexadra + + + diff --git a/src/PythonAddons/PythonAddons_msg_fr.ts b/src/PythonAddons/PythonAddons_msg_fr.ts new file mode 100644 index 000000000..01cebfc99 --- /dev/null +++ b/src/PythonAddons/PythonAddons_msg_fr.ts @@ -0,0 +1,101 @@ + + + + + + + compoundVertices + + Points set + Importer des points + + + Import a set of construction points + Importer un ensemble de points de construction + + + + compoundVertices:file_path + + Import file + Fichier des points à importer (X Y Z) + + + Select file + Choisir le fichier contenant les points à importer, + définis par leurs coordonnées X Y Z + + + + compoundVertices:separator + + Separator (optional): + Séparateur (optionnel) : + + + "Select separator" + Choisir éventuellement un séparateur ; par défaut ce sont des blancs. + + + + + + importParameters + + Import Parameters + Importer des paramètres + + + Import a set of parameters + Importer un ensemble de paramètres + + + + importParameters:file_path + + Import file + Fichier des paramètres à importer + + + Select file + Choisir le fichier contenant les paramètres à importer, + définis par les paires : nom, valeur + + + + + + pipeNetwork + + Pipe Network + Réseau de tuyaux + + + Create + Créer un réseau de tuyaux + + + + pipeNetwork:file_path + + Import file + Fichier texte de la description du réseau + + + Select file + Choisir le fichier texte de la description du réseau + + + + pipeNetwork:blocking + + Hexa + Pour mailler en hexaèdres + + + Partition + Partitionner la CAO pour mailler en hexaèdres + + + + diff --git a/src/PythonAddons/Test/TestRectangle.py b/src/PythonAddons/Test/TestRectangle.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/Test/TestRectangleCentered.py b/src/PythonAddons/Test/TestRectangleCentered.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/Test/TestcompoundVertices.py b/src/PythonAddons/Test/TestcompoundVertices.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/Test/TestimportParameters.py b/src/PythonAddons/Test/TestimportParameters.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/Test/TestpipeNetwork_2par2.py b/src/PythonAddons/Test/TestpipeNetwork_2par2.py new file mode 100755 index 000000000..40fad6c33 --- /dev/null +++ b/src/PythonAddons/Test/TestpipeNetwork_2par2.py @@ -0,0 +1,51 @@ +# Copyright (C) 2014-2021 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# +"""Test de la création du réseau de tuyaux - Description des lignes par paquets de 2 noeuds""" + +__revision__ = "V02.01" + +import os + +from ModelAPI import * + +aSession = ModelAPI_Session.get() + +def getFilePath(fileName): + """Le fichier décrivant le réseau""" + path = os.path.join(os.getenv("SHAPER_ROOT_DIR"), "bin", "salome", "macros", "pipeNetwork") + return os.path.join(path, fileName) + +theFile = getFilePath("pipeNetwork_2par2.txt") + +aSession.startOperation("Create part for pipe network") +aPartFeature = aSession.moduleDocument().addFeature("Part") +aSession.finishOperation() +aPart = aSession.activeDocument() + +aSession.startOperation("Import file") +aFeatureKind = "pipeNetwork" +anImportFeature = aPart.addFeature(aFeatureKind) +aFieldName = "file_path" +aFile = anImportFeature.string(aFieldName) +aFile.setValue(theFile) +aSession.finishOperation() + +assert(aPart.size("Construction") == 42), "Right number of construction: {}".format(aPart.size("Construction")) + +assert(aPart.size("Folders") == 1), "Right number of folders: {}".format(aPart.size("Folders")) diff --git a/src/PythonAddons/Test/TestpipeNetwork_parligne.py b/src/PythonAddons/Test/TestpipeNetwork_parligne.py new file mode 100755 index 000000000..f0f0d46ca --- /dev/null +++ b/src/PythonAddons/Test/TestpipeNetwork_parligne.py @@ -0,0 +1,51 @@ +# Copyright (C) 2014-2021 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# +"""Test de la création du réseau de tuyaux - Description par ligne entière""" + +__revision__ = "V01.04" + +import os + +from ModelAPI import * + +aSession = ModelAPI_Session.get() + +def getFilePath(fileName): + """Le fichier décrivant le réseau""" + path = os.path.join(os.getenv("SHAPER_ROOT_DIR"), "bin", "salome", "macros", "pipeNetwork") + return os.path.join(path, fileName) + +theFile = getFilePath("pipeNetwork_ligne.txt") + +aSession.startOperation("Create part for pipe network") +aPartFeature = aSession.moduleDocument().addFeature("Part") +aSession.finishOperation() +aPart = aSession.activeDocument() + +aSession.startOperation("Import file") +aFeatureKind = "pipeNetwork" +anImportFeature = aPart.addFeature(aFeatureKind) +aFieldName = "file_path" +aFile = anImportFeature.string(aFieldName) +aFile.setValue(theFile) +aSession.finishOperation() + +assert(aPart.size("Construction") == 46), "Right number of construction: {}".format(aPart.size("Construction")) + +assert(aPart.size("Folders") == 1), "Right number of folders: {}".format(aPart.size("Folders")) diff --git a/src/PythonAddons/__init__.py b/src/PythonAddons/__init__.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/addons_Features.py b/src/PythonAddons/addons_Features.py old mode 100644 new mode 100755 index 64fbca848..4cef6a72b --- a/src/PythonAddons/addons_Features.py +++ b/src/PythonAddons/addons_Features.py @@ -17,13 +17,13 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -"""Registration of all user-defined Python features -""" +"""Registration of all user-defined Python features""" import ModelAPI from macros.rectangle.feature import SketchPlugin_Rectangle from macros.compoundVertices.feature import compoundVertices from macros.importParameters.feature import importParameters +from macros.pipeNetwork.feature import pipeNetwork class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin): @@ -49,6 +49,8 @@ class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin): aFeature = compoundVertices().__disown__() elif theFeatureID == importParameters.ID(): aFeature = importParameters().__disown__() + elif theFeatureID == pipeNetwork.ID(): + aFeature = pipeNetwork().__disown__() else: raise Exception("No such feature %s" % theFeatureID) diff --git a/src/PythonAddons/addons_Features.xml.in b/src/PythonAddons/addons_Features.xml.in index 3f3b7666d..a164800b9 100644 --- a/src/PythonAddons/addons_Features.xml.in +++ b/src/PythonAddons/addons_Features.xml.in @@ -2,4 +2,5 @@ + diff --git a/src/PythonAddons/doc/addons_Features.rst b/src/PythonAddons/doc/addons_Features.rst index 1db6329d6..aa463c383 100644 --- a/src/PythonAddons/doc/addons_Features.rst +++ b/src/PythonAddons/doc/addons_Features.rst @@ -10,7 +10,7 @@ A feature description includes 4 files: - widget.xml with a description of the property panel, - __init__.py, -- feature.py with python commands, +- feature.py with python commands, - icon.png with image of button in the toolbar (the file is located at sub-folder /icons). Some examples of already created custom features are: @@ -22,3 +22,4 @@ Some examples of already created custom features are: rectangleFeature.rst compoundVerticesFeature.rst importParametersFeature.rst + pipeNetworkFeature.rst diff --git a/src/PythonAddons/doc/examples/pipeNetwork.py b/src/PythonAddons/doc/examples/pipeNetwork.py new file mode 100755 index 000000000..beee7386d --- /dev/null +++ b/src/PythonAddons/doc/examples/pipeNetwork.py @@ -0,0 +1,39 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +"""Exemple de création d'un objet SHAPER tuyauterie à partir d'une description dans un fichier txte + +Copyright 2021 EDF +""" + +__revision__ = "V02.01" + +#================================================================================= +# theFile = fichier texte de la description du réseau +theFile = "/home/D68518/pipeNetwork_ligne.txt" +#================================================================================= + +import salome +salome.standalone() +salome.salome_init() + +from ModelAPI import * + +aSession = ModelAPI_Session.get() + +# Création de la part pour accueillir le réseau +aSession.startOperation("Create part for pipe network") +aPartFeature = aSession.moduleDocument().addFeature("Part") +aSession.finishOperation() +aPart = aSession.activeDocument() + +# Importation et traitement du fichier +aSession.startOperation("Import file") +aFeatureKind = "pipeNetwork" +anImportFeature = aPart.addFeature(aFeatureKind) +aFieldName = "file_path" +aFile = anImportFeature.string(aFieldName) +aFile.setValue(theFile) +aSession.finishOperation() + +if salome.sg.hasDesktop(): + salome.sg.updateObjBrowser() diff --git a/src/PythonAddons/doc/examples/pipeNetwork_ligne.txt b/src/PythonAddons/doc/examples/pipeNetwork_ligne.txt new file mode 120000 index 000000000..73d64f4b0 --- /dev/null +++ b/src/PythonAddons/doc/examples/pipeNetwork_ligne.txt @@ -0,0 +1 @@ +../../macros/pipeNetwork/pipeNetwork_ligne.txt \ No newline at end of file diff --git a/src/PythonAddons/doc/examples/rectangle/feature.py b/src/PythonAddons/doc/examples/rectangle/feature.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/doc/images/compound.png b/src/PythonAddons/doc/images/compound.png deleted file mode 100644 index 5e119b39a983359f202624c1e9c2a1878ca5df56..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 213 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=DinK$vl=HlH+5kiEpy*OmP-ha9hT(^NX`VSDXolC=I}d&xCk(m*RSQ?^`fj@(W2VVEPL#txr9hT29m{oxj=ja@ziiH|~WD35-jwbUU82Ny!D;#^CAd=d#Wzp$P!& C$VWZ^ diff --git a/src/PythonAddons/doc/images/compound.png b/src/PythonAddons/doc/images/compound.png new file mode 120000 index 000000000..fe75a84da --- /dev/null +++ b/src/PythonAddons/doc/images/compound.png @@ -0,0 +1 @@ +../../macros/compoundVertices/icons/compound.png \ No newline at end of file diff --git a/src/PythonAddons/doc/images/importParameters.png b/src/PythonAddons/doc/images/importParameters.png deleted file mode 100644 index 3b382b91c46c96f98cb71d0591892129fc2fb908..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 191 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9F5he4R}c>anMpdfpR zr>`sfV-8skW5Kxd!lgi=I8PVH5R21$CwX%*DDpTfSG>P4Io*uQ=*P-1ogD(nHAff@ zdM;+3G%MC*GYdndVwBJmXRp$U|8Jz~hf9R+$qkCnYq_oVN_YE7-lhn)>vf4PCMVCv js>qs8Oj+?P{~7Z`#@N~O{xCcT+Qi`L>gTe~DWM4fY|B0) diff --git a/src/PythonAddons/doc/images/importParameters.png b/src/PythonAddons/doc/images/importParameters.png new file mode 120000 index 000000000..c5167fbcc --- /dev/null +++ b/src/PythonAddons/doc/images/importParameters.png @@ -0,0 +1 @@ +../../macros/importParameters/icons/parameters.png \ No newline at end of file diff --git a/src/PythonAddons/doc/images/pipeNetwork.png b/src/PythonAddons/doc/images/pipeNetwork.png new file mode 120000 index 000000000..6e1cab8e7 --- /dev/null +++ b/src/PythonAddons/doc/images/pipeNetwork.png @@ -0,0 +1 @@ +../../macros/pipeNetwork/icons/pipeNetwork.png \ No newline at end of file diff --git a/src/PythonAddons/doc/images/pipeNetworkExemple.png b/src/PythonAddons/doc/images/pipeNetworkExemple.png new file mode 100644 index 0000000000000000000000000000000000000000..ab9e7198098e13f8e62f3eed13f5962cdc99b398 GIT binary patch literal 28729 zcmYIvbzIa>wD!^^jex)s5&{AuEnNa4jY_xDOGtNzG*Z%C($b9}qS7JV4NHeK+*yA2 zzOVnNe1`d+IrE(7TMO-FTGQ%4u0j~^grHny-2><%U$KYXxpFt>HwM`;&@KxiSaq$S?C zrtP#|#JxB3TJy@7K5H#G^GeXZ;-Ev7!;BH9>P8{7GN;%K!XX^L)(pO{k>l z%K5{3zr)}K2M4AApC5~m=mDl1qJ znlI~LgYLS;7_zq~xo3{A$+R=4N}N|r!pU9D)AJOpz$BCbE66EW*Q4szz0=V-v50da zF>(-M;x%D;#5Y1aHa^O7X9=aG-*A6I<$Qs4eS7vnSml17$6%l59{+}*Fe?-a$_w(jVGcWi8ePeC!(}<#UP?(T98pp zm+>cY9b+VRt8&Ts@9sB51snb{iB9+^3nTF6axu}({O#&;GOn{0g^l>$#~9i&$?>wM z>rwv#lr4M@-ZA;^ZJzMhUAzA82F7>{awQR&*MWQHHOVYHQG%7uJbsdUn^z0ZT;AMc zB?#3bp~{VWXiDoBbQfg^vz=)SXYftf-sUIb52Bj)`f;O`(0)1VRWD_0TP1N04osZ(9cJbNG1@V$no5nS~(~&=r@R$2g{|T@-1a4JG@SZCC=~B(Q@Pb zBKlrIr++5e)(?()@hV!^D`AwCmJj2mFGA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PDc$#O9ZLudxBw z+5}H1*AiSRf;d6~J}%ht$G`(qTDX8S)pdm>rF41(ISiuyQbXz}F9C@~&ERkx=N>Zn zSW*5Dy4DaHJvLg`p~ol&b@{ikNjgZpmhh)cO-ca1f80VW+R|r33tZdMK~<;Mr5KtT zbog}-uX1)ZS|h)8_6Ol}*TkFHG&UdO1~xxSk3RfcE<=Ia4q5dLp@s02hs9tCNfts{ z&Xb%f?mwIpH-FHYtCpl^RB$fV*8B+=es0!v4>2rJ1_b~34IY;rk)@Rod?QP^B1Zm{ zKF#k$nlV`V(u=}L_!(n60Xd?I`~>^D4ipnQ;tj5;?>@V@EPZ#G?09<}`tL>ZMj%5- z!1lzKKI!E-Kd@x1ovIGWN;?V63ZNfhy>MtMk%WW*ENP%f9H{!5n1LcL?rZ9!LT4oS z{uQVVh6n@Br?J(bB>2P3ly8<`kRkS@#aba_!ShJ!BGC{Um|LE^q0o zaMjKZ)yQ1vT%I1&uHcgQ6m9XrLig=J#|XH#cJNLXXVwnQeP=O&#M*hiTaNmxt3}|m z1XHihn}9oh0-)K9Aq<*YQ%zXw;ZHfZ_sXJb-8k6OSfHT5O?+yUWOK5^h77z&z~Z`* z0L6dJJ;kh{qHl*+z$exoK7w`_Y(GT=6(?~FYvy?i(tiL2f9`S{4L>6%0PIcv09ovF zt!y;=`zWB@pMNIu_A{qIy(ed-KJ1gkN`v<_7uifO8FKdU@jRCSO=r9cSE_&Z@UXW- z;`eK#wZ;4m8_G>6?N}ElFW)Z_e3#$?Y~JmT;PWNiF*V9rduhYc6m&BLlp58+Iy5wTWBC2S f-@N9J@U%f3uk+#qwOGNo{|L128)$r2vkm({EOqg; literal 0 HcmV?d00001 diff --git a/src/PythonAddons/doc/images/pipeNetworkPanel.png b/src/PythonAddons/doc/images/pipeNetworkPanel.png new file mode 100644 index 0000000000000000000000000000000000000000..d80ec0209424cecc45340740f8b6dc42c83e93e8 GIT binary patch literal 6261 zcmaKxXHZkoxAuc5M2bWK>0rbL2%$-DMv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qex~d1{>`s5cj=06EElsB^y()+lg3&&a7`pfrAI9jz%lI zLJ`_|4O*g`HyNGocVEy-vLHX*ksFSjY6^#BhLJ!L4)3x*j%k4fwns&wB?j~K*&K>o zaG)cb`Og18U;m-CZfN+QgN!)(FLolxQorqWJ~)`k0VjW%ZYbk~o1NXBTn8L8#SLDh zxp_N(c;bC{WZ}Za?IH#<+e&kBx{Bpe1PXl0<`J(Ue64qPciy7V7 zyCR(6)d|KJbxCuUr~QjY;8&8IG3xw4n{>$*f$U2Y@!{bfqqpR91!6hVloJ8TBv7KO z4k%t`n?fD8H})%Abdvk)!S?z?SUOL7Vb3SPf;=@t8YnabBOy_TfQmRw?y z#|8DX%*B?C@TBeahfvDZPdStQazicZ{m2jc3!bg90#S^!@!s&&vTU}j-)BE?(6UB` j88SW0HA5Z!IfKPT=^mflc!T`+BH@vmj%o?qD)heqRwkAS literal 0 HcmV?d00001 diff --git a/src/PythonAddons/doc/images/pipeNetworkPanelHexa.png b/src/PythonAddons/doc/images/pipeNetworkPanelHexa.png new file mode 100644 index 0000000000000000000000000000000000000000..798b3fc4ae16af5fde8846ef840c198f969d74f0 GIT binary patch literal 8020 zcmb_>Wmr^S+b{kV84&~#q`?uCkj9~55TsMO5n<>~X^>K2NTs`B7&?Y-kOt|YySw|{ zKF_(%dEay159eIh*&k-FJu`dnweGd8^`^J zO+pwLRBKWnKd5|7+MRXRQ8{hAKb*k%{f3nXr7RqoD3z0!=V}xEc(|^Jl?FoXA;kE_hE^ik%RgqZlbJ&hbHPj5g0di&ATl-^-|075{ zS?6Mt$RY|#cVS^2WK#KiANgTvXIIO^>mMFBQXwf3295iFlwE0r#w}-nUp!({&>J4` z(rXf>YU^2z`mgL$Q&XJ=IfC?X@wQGl`Q~&rYfDQ@dwct5H)&t_T*KK~Cmgc(-_z1w ztqrCsz+l;9up+I>;P&>934D+it@yxNv-f1n$LXR$_G^8l7{S582WMwFC=`j$%#2PT zF8O0&Cnt!Vot=MRAORVfw2ltN*w~oyc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6e}xqe_Oq-14{0I!7EoZRlZ z!u^$)gv1MSav1{yFffSr&Q1bKN-GNJ*MrYoHgmEt*qh7CORGDpemFVz#!L<8`HTY| zCMG76MoIG`$A4#j6i(}jTQIW%DHs(+0Pwg0APzjvJ8^cgeQNGgTHy@JIVF};9Dp%J z&&c?ig{4T$3DZ+DMaYv3srIyD56U!Lg%*s6VbPTa_&X_Jl>ko3^4;~mNq5wn&O>r8 z%LTv`eG4oXz=j|oA{xs%{ad&IX4*bK|JRz}FzzD>>ir5BL9RE4U9NjI>l?Fm+^h{J z1j;$GHM_8i@uR5dXdpYgIyx}b)zzb-q5!B~jWPW Réseau de tuyaux* ou +#. Cliquer le bouton |pipeNetwork.icon| **Réseau de tuyaux** dans la barre des macros. + +Le menu suivant apparaît : + +.. figure:: images/pipeNetworkPanel.png + :align: center + :alt: Menu de création du réseau + + Menu de création du réseau de tuyaux + +On doit fournir le fichier de type texte qui contient le réseau. Sa syntaxe est décrite plus bas. + +Syntaxe du fichier de données +""""""""""""""""""""""""""""" + +Règles générales +---------------- + +- Chaque ligne commençant par # est ignorée +- Une information par ligne +- Sur une ligne, les données sont séparés par des blancs +- Les données sont regroupées en 3 sections : les noeuds, la connectivité, les raccordements +- Une section débute par **mot-clé section** + +Les noeuds +---------- + +- Repérage avec **nodes section** + +- Pour un noeud dont on donne les coordonnées en absolu : + +``Identifiant du noeud, le signe -, les 3 coordonnées`` + +- Pour un noeud défini par rapport à un autre : + +``Identifiant du noeud, identifiant du noeud de départ, les 3 coordonnées de la translation`` + +La connectivité +--------------- + +- Repérage avec **connectivity section** +- Choix de la méthode de description avec **method=par_ligne** ou **method=2par2** + +- Pour la méthode en ligne : + +Chaque ligne est décrite par la suite de ses noeuds repérés par leurs identifiants : + +``Identifiant du noeud n°1, identifiant du noeud n°2, ..., identifiant du dernier noeud`` + +- Pour la méthode 2 par 2 : + +Chaque tronçon est décrit par les 2 noeuds repérés par leurs identifiants : + +``Identifiant du noeud n°1 , identifiant du noeud n°2`` + +Le raccordement entre tuyaux +---------------------------- + +- Repérage avec **fillets section** +- Pour chaque noeud à la jonction de 2 tuyaux : + +Si la jonction est directe : ``Identifiant du noeud, angular_connection`` + +Si la jonction est courbe : ``Identifiant du noeud, radius=xxx`` où xxx est le rayon de courbure. + +.. note:: + Par défaut, la jonction entre deux tuyaux est directe, sans rayon de courbure. On peut donc se passer de l'information ``angular_connection``. Si toutes les jonctions sont directes, on peut se passer totalement de la rubrique **fillets section**. + +.. note:: + Une jonction avec un rayon de courbure ne peut avoir lieu que sur un noeud auquel aboutit exactement 2 tuyaux. L'arc de cercle est tracé dans le plan formé par les deux tuyaux. Les deux tuyaux ne doivent donc pas être colinéaires. + +Exemple +------- +.. literalinclude:: examples/pipeNetwork_ligne.txt + :linenos: + :language: text + +.. figure:: images/pipeNetworkExemple.png + :align: center + :alt: Exemple de réseau + + Exemple de réseau + +:download:`Téléchargement des données de cet exemple` + +Le pilotage en TUI se fait ainsi : + +.. literalinclude:: examples/pipeNetwork.py + :linenos: + :language: python + +:download:`Téléchargement du pilotage en TUI` + + diff --git a/src/PythonAddons/macros/__init__.py b/src/PythonAddons/macros/__init__.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/macros/compoundVertices/__init__.py b/src/PythonAddons/macros/compoundVertices/__init__.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/macros/compoundVertices/feature.py b/src/PythonAddons/macros/compoundVertices/feature.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/macros/compoundVertices/icons/import.png b/src/PythonAddons/macros/compoundVertices/icons/compound.png similarity index 100% rename from src/PythonAddons/macros/compoundVertices/icons/import.png rename to src/PythonAddons/macros/compoundVertices/icons/compound.png diff --git a/src/PythonAddons/macros/compoundVertices/widget.xml b/src/PythonAddons/macros/compoundVertices/widget.xml index c33e845dd..8d15c8a39 100644 --- a/src/PythonAddons/macros/compoundVertices/widget.xml +++ b/src/PythonAddons/macros/compoundVertices/widget.xml @@ -5,11 +5,11 @@ id="compoundVertices" title="Points set" tooltip="Import a set of construction points" - icon="icons/Addons/import.png" + icon="icons/Addons/compound.png" helpfile="compoundVerticesFeature.html"> - + - + diff --git a/src/PythonAddons/macros/importParameters/__init__.py b/src/PythonAddons/macros/importParameters/__init__.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/macros/importParameters/feature.py b/src/PythonAddons/macros/importParameters/feature.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/macros/importParameters/widget.xml b/src/PythonAddons/macros/importParameters/widget.xml index 37e0208d7..6d4954165 100644 --- a/src/PythonAddons/macros/importParameters/widget.xml +++ b/src/PythonAddons/macros/importParameters/widget.xml @@ -2,11 +2,11 @@ - + diff --git a/src/PythonAddons/macros/pipeNetwork/__init__.py b/src/PythonAddons/macros/pipeNetwork/__init__.py new file mode 100755 index 000000000..2614b9cee --- /dev/null +++ b/src/PythonAddons/macros/pipeNetwork/__init__.py @@ -0,0 +1,19 @@ +# Copyright (C) 2016-2020 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + diff --git a/src/PythonAddons/macros/pipeNetwork/feature.py b/src/PythonAddons/macros/pipeNetwork/feature.py new file mode 100755 index 000000000..a22632084 --- /dev/null +++ b/src/PythonAddons/macros/pipeNetwork/feature.py @@ -0,0 +1,817 @@ +# -*- coding: utf-8 -*- +# Copyright (C) 2016-2020 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +"""pipeNetwork Feature +Author: Nathalie GORE - Gérald NICOLAS +Remarque : la fonction de partitionnement pour un futur maillage en hexa est désactivée. +""" + +__revision__ = "V02.17" + +from salome.shaper import model +import ModelAPI +from GeomAPI import * + +import numpy as np + +# Si erreur : + +def raiseException(texte): + """En cas d'erreur""" + print (texte) + +def printverbose (texte, nb=0, verbose=False): + """Impression controlée""" + if verbose: + if nb: + texte_a = "" + for _ in range(nb): + texte_a += "=" + print (texte_a) + print (texte) + +class pipeNetwork(model.Feature): + """Creation of a network of pipes""" + lfeatures = list() + ledges = list() + folder = None + isHexa = False + twopartwo = "2par2" + parligne = "par_ligne" + radius = 0.5 + infoPoints = dict() + connectivities = dict() + + _verbose = False + _verbose_max = False + +# Feature initializations + + def __init__(self): + """x.__init__(...) initializes x; see x.__class__.__doc__ for signature""" + model.Feature.__init__(self) + + @staticmethod + def ID(): + """Return Id of the Feature.""" + return "pipeNetwork" + + @staticmethod + def FILE_ID(): + """Returns ID of the file select parameter.""" + return "file_path" + + #@staticmethod + #def HEXAS_ID(): + #"""Returns ID of the radius parameter.""" + #return "blocking" + + def getKind(self): + """Override Feature.getKind()""" + return pipeNetwork.ID() + + +#==================================================================================== +# Initialization of the dialog panel + + def initAttributes(self): + """Override Feature.initAttributes()""" + # Creating the input argument of the feature + self.data().addAttribute(self.FILE_ID(), ModelAPI.ModelAPI_AttributeString_typeId()) + #self.data().addAttribute(self.HEXAS_ID(), ModelAPI.ModelAPI_AttributeBoolean_typeId()) + +#==================================================================================== +# Retrieve parent pipe + + def decodingCode(self, code): + """decodingCode""" + splitCode = code.split(".") + if len(splitCode) <= 1: + previousCode = "" + else: + previousCode = code[:len(code)-len(splitCode[-1])-1] + return previousCode + +#==================================================================================== + + def readNodeInfo(self, line): + """Lecture des noeuds + +La ligne à décoder est formée des informations : +. l'identifiant du noeud +. si les coordonnées sont données en absolu : "-" suivi des 3 coordonnées +. si les coordonnées sont données en relatif : l'identifiant du noeud de départ, suivi des 3 coordonnées de la translation +Par défaut, on supposera que la connection est angulaire et que ce n'est pas une extrémité. + """ + #print(line) + texte = line + splitLine = line.split() + if ( len(splitLine) != 5 ): + diagno = 1 + elif splitLine[0] in self.infoPoints: + texte += "\nThis node was already declared." + diagno = 2 + elif ( splitLine[1] not in self.infoPoints ) and ( splitLine[1] != "-" ): + texte += "\nThe starting point was not seen before." + diagno = 3 + else: + diagno = 0 + self.infoPoints[splitLine[0]] = dict() + self.infoPoints[splitLine[0]]["Ref"] = splitLine[1] + if splitLine[1] == "-": + self.infoPoints[splitLine[0]]["X"] = float(splitLine[2]) + self.infoPoints[splitLine[0]]["Y"] = float(splitLine[3]) + self.infoPoints[splitLine[0]]["Z"] = float(splitLine[4]) + else : + self.infoPoints[splitLine[0]]["X"] = self.infoPoints[splitLine[1]]["X"] + float(splitLine[2]) + self.infoPoints[splitLine[0]]["Y"] = self.infoPoints[splitLine[1]]["Y"] + float(splitLine[3]) + self.infoPoints[splitLine[0]]["Z"] = self.infoPoints[splitLine[1]]["Z"] + float(splitLine[4]) + printverbose ("Enregistrement du point ({},{},{})".format(self.infoPoints[splitLine[0]]["X"],self.infoPoints[splitLine[0]]["Y"],self.infoPoints[splitLine[0]]["Z"]), verbose=self._verbose) + self.infoPoints[splitLine[0]]["Fillet"] = "angular_connection" + self.infoPoints[splitLine[0]]["isEnd"] = False + #print ("Retour de readNodeInfo = {}".format(diagno)) + return diagno, texte + +#==================================================================================== + + def readConnectivity(self, line, method): + """Lecture des connectivités + +La ligne à décoder est formée des informations : +. si la méthode est par ligne : la liste des identifiants des noeuds formant le trajet +. si la méthode est 2 par 2 : chaque tronçon est décrit par les identifiants des 2 noeuds +Par défaut, on supposera que la méthode est par ligne. + """ + splitLine = line.split() + printverbose ("Enregistrement du tronçon : {}".format(splitLine),verbose=self._verbose) + diagno = 0 + if ( method == self.twopartwo ): + if self.connectivities: + # Recherche si le tronçon existe déjà ou s'il est nouveau + existe = False + for key, val in self.connectivities.items(): + #print(key, " ******* {}".format(val)) + if val['chainage'][-1] == splitLine[0]: + # Le tronçon existe + val['chainage'].append(splitLine[1]) + #print("On complète le tronçon") + existe = True + break + # Le tronçon n'existe pas + if not existe: + #print("On démarre un nouveau tronçon - Cas 2") + self.newConnectivity(splitLine[0], splitLine) + else : + #print("On démarre un nouveau tronçon - Cas 1") + self.newConnectivity(splitLine[0], splitLine) + else : + self.newConnectivity(splitLine[0], splitLine) + #print ("Retour de readConnectivity = {}".format(diagno)) + + return diagno + +#==================================================================================== + + def correctConnectivity(self): + """Correction des connectivités pour tenir compte de points alignés + +Si 3 points sont alignés sur une ligne et qu'aucune ligne ne part du point central, +il faut scinder la ligne au niveau de ce point pour traiter correctement la suite : on se mettrait +à créer un plan avec ces 3 points alignés et tout s'effondre ensuite. + """ + while True: + # On explore toutes les lignes et on cherche un cas où sur une ligne 3 points consécutifs sont alignés + for _, value in self.connectivities.items(): + # Sur cette ligne, a-t-on 3 points consécutifs alignés ? + modif = self.correctConnectivity_a(value["chainage"]) + # Si on a modifié la description des connectivités, on recommence l'analyse + if modif: + break + # Si plus rien n'a été modifié, c'est fini + if not modif: + break + + def correctConnectivity_a(self, l_noeuds): + """On explore toutes les lignes et on cherche un cas où sur une ligne 3 points consécutifs sont alignés + +Entrées : + :l_noeuds: liste des noeuds de la ligne + +Sorties : + :modif: on a modifié ou non la description des lignes + """ + modif = False + nb_points = len(l_noeuds) + printverbose ("Analyse de {}".format(l_noeuds), verbose=self._verbose_max) + #print ("nb_points = {}".format(nb_points)) + + indice = 0 + nb_test = nb_points - 2 + for iaux in range(nb_test): + # Calcul de l'angle entre les 3 points de la séquence + vect = list() + #print ("({},{},{}".format(l_noeuds[iaux],l_noeuds[iaux+1],l_noeuds[iaux+2])) + for jaux in range(3): + coox = self.infoPoints[l_noeuds[iaux+jaux]]["X"] + cooy = self.infoPoints[l_noeuds[iaux+jaux]]["Y"] + cooz = self.infoPoints[l_noeuds[iaux+jaux]]["Z"] + vect.append(np.array((coox,cooy,cooz),np.float)) + cosinus = np.dot(vect[1]-vect[0],vect[1]-vect[2])/(np.linalg.norm(vect[1]-vect[0])* np.linalg.norm(vect[1]-vect[2])) + #print ("cosinus = {}".format(cosinus)) + # Si l'angle est plat, c'est que les 3 points sont alignés : on arrête... sauf si ce point est un départ d'une autre ! + if ( (1.-np.abs(cosinus)) < 1.e-4 ): + indice = iaux+1 + if l_noeuds[indice] not in self.connectivities: + break + else: + indice = 0 + # Si un angle plat a été trouvé, on scinde la ligne + if indice: + #print ("id_noeud_debut = {}, {}".format(l_noeuds[0], l_noeuds[:indice+1])) + #print ("id_noeud_new = {}, {}".format(l_noeuds[indice], l_noeuds[indice:])) + self.newConnectivity(l_noeuds[0], l_noeuds[:indice+1]) + self.newConnectivity(l_noeuds[indice], l_noeuds[indice:]) + modif = True + + return modif + +#==================================================================================== + + def newConnectivity(self, key, value): + """newConnectivity""" + self.connectivities[key] = dict() + self.connectivities[key]['chainage'] = value + +#==================================================================================== + + def readFillet(self, line): + """Décodage des caractéristiques de la connection entre deux tuyaux + +La ligne est formée de deux informations : +. l'identifiant du noeud +. la caractérisation de la connection : "angular_connection" ou "radius=xxx" + """ + splitLine = line.split() + if len(splitLine) != 2: + print(line) + diagno = 1 + elif not splitLine[0] in self.infoPoints: + print(line) + diagno = 2 + elif splitLine[1] == "angular_connection": + self.infoPoints[splitLine[0]]["Fillet"] = "angular_connection" + diagno = 0 + elif splitLine[1][:7] == "radius=": + self.infoPoints[splitLine[0]]["Fillet"] = "radius" + self.infoPoints[splitLine[0]]["Radius"] = float(splitLine[1][7:]) + diagno = 0 + else: + print(line) + diagno = 3 + #print ("Retour de readFillet = {}".format(diagno)) + return diagno + +#==================================================================================== + + def retrieveSubshapesforWire(self, copy, key, ind): + """retrieveSubshapesforWire""" + exp = GeomAPI_ShapeExplorer(copy.defaultResult().shape(), GeomAPI_Shape.EDGE) + + end = False + subshapesForWire = list() + currentInd = 0 + isPipe = True + #print("Current chainage : {}".format(self.connectivities[key]['chainage'][ind:])) + #print("Indice de démarrage = {}".format(ind)) + + while exp.more() and not end : + #print("Analyse Edge n°", currentInd) + #print(" => ", self.connectivities[key]['chainage'][currentInd], " - ", self.connectivities[key]['chainage'][currentInd+1]) + #print(" ==> ", self.infoPoints[self.connectivities[key]['chainage'][currentInd]]["isAngular"], " - ", self.infoPoints[self.connectivities[key]['chainage'][currentInd+1]]["isAngular"]) + cur = exp.current().edge() + if currentInd < ind: + #print("Edge non prise en compte") + #print("test si fillet : ", currentInd+1, ind, self.infoPoints[self.connectivities[key]['chainage'][currentInd+1]]["Fillet"]) + if currentInd+1 <= ind and self.infoPoints[self.connectivities[key]['chainage'][currentInd+1]]["Fillet"] == "radius" and not self.infoPoints[self.connectivities[key]['chainage'][currentInd]]["isAngular"]: + #print("Fillet à ne pas prendre en compte") + exp.next() + cur = exp.current().edge() + else : + subshapesForWire.append(model.selection(copy.defaultResult(), cur)) + #print("Mode normal - Nb segments dans le wire : {}".format(len(subshapesForWire))) + # Cas du fillet : on récupère l'edge suivante + if self.infoPoints[self.connectivities[key]['chainage'][currentInd]]["isAngular"] or self.infoPoints[self.connectivities[key]['chainage'][currentInd+1]]["isAngular"]: + end = True + #print("Nb segments dans le wire : {}".format(len(subshapesForWire))) + if ( len(subshapesForWire) == 1 ): + #print("Coude droit en cours") + currentInd += 1 + isPipe = False + else : + #print("Coude droit à venir") + subshapesForWire = subshapesForWire[:-1] + elif self.infoPoints[self.connectivities[key]['chainage'][currentInd]]["Fillet"] == "radius": + #print("Ajout edge start Fillet") + exp.next() + cur = exp.current().edge() + subshapesForWire.append(model.selection(copy.defaultResult(), cur)) + #currentInd = currentInd+1 + #print("Mode Fillet - Nb segments dans le wire : {}".format(len(subshapesForWire))) + elif self.infoPoints[self.connectivities[key]['chainage'][currentInd+1]]["Fillet"] == "radius": + #print("Ajout edge end Fillet") + exp.next() + cur = exp.current().edge() + subshapesForWire.append(model.selection(copy.defaultResult(), cur)) + #print("Mode Fillet - Nb segments dans le wire : {}".format(len(subshapesForWire))) + else : + if self.infoPoints[self.connectivities[key]['chainage'][currentInd+1]]["isEnd"]: + #print("Fin détecte") + currentInd = currentInd+1 + end = True + #else : + #print("Branchement") + if not end: + currentInd = currentInd+1 + exp.next() + #print("End = {} {}".format(end,self.connectivities[key]['chainage'][currentInd])) + + return subshapesForWire, currentInd, isPipe, self.connectivities[key]['chainage'][currentInd] + +#==================================================================================== + + def retrieveLastElement(self, obj, typeOfElement): + """retrieveLastElement""" + exp = GeomAPI_ShapeExplorer(obj.defaultResult().shape(), typeOfElement) + while exp.more(): + cur = None + if typeOfElement == GeomAPI_Shape.VERTEX : + cur = exp.current().vertex() + elif typeOfElement == GeomAPI_Shape.EDGE : + cur = exp.current().edge() + elif typeOfElement == GeomAPI_Shape.FACE : + cur = exp.current().face() + elif typeOfElement == GeomAPI_Shape.SOLID : + cur = exp.current().solid() + if cur is not None: + exp.next() + cur = model.selection(obj.defaultResult(), cur) + return cur + +#==================================================================================== + + def retrieveFirstElement(self, obj, typeOfElement): + """retrieveFirstElement""" + exp = GeomAPI_ShapeExplorer(obj.defaultResult().shape(), typeOfElement) + cur = None + if typeOfElement == GeomAPI_Shape.VERTEX : + cur = exp.current().vertex() + elif typeOfElement == GeomAPI_Shape.EDGE : + cur = exp.current().edge() + elif typeOfElement == GeomAPI_Shape.FACE : + cur = exp.current().face() + elif typeOfElement == GeomAPI_Shape.SOLID : + cur = exp.current().solid() + if cur is not None: + exp.next() + cur = model.selection(obj.defaultResult(), cur) + return cur + +#==================================================================================== + + def createPipe(self, part, connectivityInfos): + """createPipe""" + lPipes = list() + startFace = None + fuse = None + for ind in range(len(connectivityInfos['paths'])): + printverbose ("Step = {}".format(ind), 80, verbose=self._verbose_max) + if ind == 0: + startFace = connectivityInfos['sketch'] + if connectivityInfos['isPipe'][ind] : + pipe = model.addPipe(part, [startFace], connectivityInfos['paths'][ind].result()) + else : + # recherche du plan + if self.infoPoints[connectivityInfos['ends'][ind]]['isAngular']: + pipe = model.addExtrusion(part, [startFace], model.selection(), self.infoPoints[connectivityInfos['ends'][ind]]['plane'], 0, model.selection(), 0, "Faces|Wires") + else : + # le plan cible n'existe pas + edge = model.addAxis(part, self.infoPoints[connectivityInfos['starts'][ind]]['point'], self.infoPoints[connectivityInfos['ends'][ind]]['point']) + edge.execute(True) + self.lfeatures.append(edge)# self.retrieveFirstElement(connectivityInfos['paths'][ind], GeomAPI_Shape.EDGE) + self.ledges.append(edge) + point = self.retrieveLastElement(connectivityInfos['paths'][ind], GeomAPI_Shape.VERTEX) + plane = model.addPlane(part, edge.result(), point, True) + plane.execute(True) + self.lfeatures.append(plane) + pipe = model.addExtrusion(part, [startFace], edge.result(), plane.result(), 0, model.selection(), 0, "Faces|Wires") + pipe.execute(True) + self.lfeatures.append(pipe) + lPipes.append(pipe.result()) + if ( ind < len(connectivityInfos['paths'])-1 ): + copy = model.addCopy(part, [model.selection(pipe.defaultResult())], 1) + copy.execute(True) + self.lfeatures.append(copy) + startFace = self.retrieveLastElement(copy, GeomAPI_Shape.FACE) + + if len(lPipes) > 1 : + fuse = model.addFuse(part, lPipes, False) + fuse.execute(True) + self.lfeatures.append(fuse) + else : + return pipe + return fuse + +#========================================================== + +#========================================================== +# Création des différents éléments + def createPoints(self, part): + """Création des points + +Le point est créé en tant qu'objet de construction avec ses coordonnées. +Il est nommé conformément au texte donné dans le fichier de données. Cela n'a qu'un intérêt graphique mais agréable en débogage. +""" + print("========================= Création des noeuds ============================") + for key, value in self.infoPoints.items(): + printverbose ("Noeud : '{}'".format(key), verbose=self._verbose) + point = model.addPoint(part, value['X'], value['Y'], value['Z']) + point.execute(True) + point.setName(key) + point.result().setName(key) + self.lfeatures.append(point) + value["point"] = point.result() + + def createPolylines(self, part): + """Création des polylines + +La polyligne est créée en tant que résultat en enchaînant ses points. +Elle est nommée conformément aux 1er et dernier noeud. Cela n'a qu'un intérêt graphique mais agréable en débogage. +""" + print("========================= Création des polylines =========================") + for key, value in self.connectivities.items(): + printverbose ("Ligne : {}".format(value['chainage']), verbose=self._verbose) + lPoints = list() + for id_noeud in value['chainage']: + lPoints.append(self.infoPoints[id_noeud]["point"]) + id_noeud_fin = id_noeud + polyline = model.addPolyline3D(part, lPoints, False) + polyline.execute(True) + nom = "L_{}_{}".format(key,id_noeud_fin) + polyline.setName(nom) + polyline.result().setName(nom) + self.lfeatures.append(polyline) + value["polyline"] = polyline + + def createFillets(self, part): + """Création des fillets + +Le fillet est créé en tant que résultat. +Il est nommé conformément au noeud d'application. Cela n'a qu'un intérêt graphique mais agréable en débogage. +""" + print("========================= Création des fillets ===========================") + for key, value in self.connectivities.items(): + printverbose ("Examen de la ligne démarrant sur le noeud '{}'".format(key), verbose=self._verbose) + # recherche des noeuds fillets + value["fillet"] = value["polyline"] + for id_noeud in value['chainage']: + if self.infoPoints[id_noeud]["Fillet"] == "radius" : + printverbose ("\tFillet sur le noeud '{}'".format(id_noeud), verbose=self._verbose) + fillet1D = model.addFillet(part, [model.selection("VERTEX", (self.infoPoints[id_noeud]["X"],self.infoPoints[id_noeud]["Y"],self.infoPoints[id_noeud]["Z"]))], self.infoPoints[id_noeud]["Radius"]) + fillet1D.execute(True) + nom = "F_{}".format(id_noeud) + fillet1D.setName(nom) + fillet1D.result().setName(nom) + self.lfeatures.append(fillet1D) + value["fillet"] = fillet1D + +#========================================================== + + def searchRightConnections(self, part): + """Recherche des coudes droits""" + print("========================= Recherche des coudes droits ====================") + for key, value in self.connectivities.items(): + printverbose ("Examen de la ligne démarrant sur le noeud '{}'".format(key), verbose=self._verbose) + # recherche des noeuds fillets + for ind, id_noeud in enumerate(value['chainage']): + printverbose ("\tNoeud '{}' : {}".format(id_noeud,self.infoPoints[id_noeud]["Fillet"]), verbose=self._verbose) + if ( ( ind == 0 ) or ( ind == len(value['chainage'])-1 ) ): + self.infoPoints[id_noeud]["isAngular"] = False + else : + if self.infoPoints[id_noeud]["Fillet"] == "radius" : + self.infoPoints[id_noeud]["isAngular"] = False + else : + if id_noeud in self.connectivities: + self.infoPoints[id_noeud]["isAngular"] = False + else : + self.infoPoints[id_noeud]["isAngular"] = True + # Axe d'extrusion + #print(ind-1, ind, ind+1) + printverbose ("\t\tCréation du plan passant par les points : ('{}','{}','{}')".format(value["chainage"][ind-1], id_noeud, value["chainage"][ind+1]), verbose=self._verbose) + #print(self.infoPoints[value["chainage"][ind-1]]["point"]) + + tmpPlane = model.addPlane(part, self.infoPoints[value["chainage"][ind-1]]["point"], self.infoPoints[id_noeud]["point"], self.infoPoints[value["chainage"][ind+1]]["point"]) + tmpPlane.execute(True) + self.lfeatures.append(tmpPlane) + axis = model.addAxis(part, tmpPlane.result(), self.infoPoints[id_noeud]["point"]) + axis.execute(True) + self.lfeatures.append(axis) + self.infoPoints[id_noeud]["axis"] = axis.result() + + # Edge à extruder + tmpEdge = model.addEdge(part, self.infoPoints[id_noeud]["point"], self.infoPoints[value["chainage"][ind+1]]["point"]) + tmpEdge.execute(True) + self.lfeatures.append(tmpEdge) + length = model.measureDistance(part, self.infoPoints[value["chainage"][ind-1]]["point"], self.infoPoints[id_noeud]["point"]) + point = model.addPoint(part, tmpEdge.result(), length, False, False) + point.execute(True) + self.lfeatures.append(point) + baseEdge = model.addEdge(part, self.infoPoints[value["chainage"][ind-1]]["point"], point.result()) + baseEdge.execute(True) + self.lfeatures.append(baseEdge) + middlePoint = model.addPoint(part, baseEdge.result(), 0.5, True, False) + middlePoint.execute(True) + self.lfeatures.append(middlePoint) + Edge = model.addEdge(part, self.infoPoints[id_noeud]["point"], middlePoint.result()) + Edge.execute(True) + self.lfeatures.append(Edge) + self.ledges.append(Edge) + + # Extrusion + plane = model.addExtrusion(part, [Edge.result()], axis.result(), 10, 0) + plane.execute(True) + self.lfeatures.append(plane) + self.infoPoints[id_noeud]["plane"] = plane.result() + + def createPaths(self, part): + """Création des paths pour le pipeNetwork""" + print("========================= Création des paths =============================") + for key, value in self.connectivities.items(): + printverbose ("Ligne démarrant sur le noeud '{}'".format(key), verbose=self._verbose) + # recherche des noeuds fillets + value["paths"] = list() + value["isPipe"] = list() + value["starts"] = list() + value["ends"] = list() + ind = 0 + copy = value['fillet'] + while ind < len(value['chainage'])-1: + value["starts"].append(self.connectivities[key]['chainage'][ind]) + objectsForPath, ind, isPipe, end_noeud = self.retrieveSubshapesforWire(copy, key, ind) + if self._verbose_max: + print("************************* ind = {}".format(ind)) + print("************************* objectsForPath = {}".format(objectsForPath)) + path = model.addWire(part, objectsForPath, False) + path.execute(True) + self.lfeatures.append(path) + value["paths"].append(path) + value["isPipe"].append(isPipe) + value["ends"].append(end_noeud) + if ind < len(value['chainage'])-1: + copy = model.addCopy(part, [model.selection(copy.defaultResult())], 1) + copy.execute(True) + self.lfeatures.append(copy) + + def createSketches(self, part): + """Création des sketchs""" + print("========================= Création des sketchs =========================") + for key, value in self.connectivities.items(): + printverbose ("Ligne démarrant sur le noeud '{}'".format(key), verbose=self._verbose) + # Creating sketch + edge = model.addEdge(part, self.infoPoints[value["chainage"][0]]["point"], self.infoPoints[value["chainage"][1]]["point"]) + edge.execute(True) + self.lfeatures.append(edge) + plane = model.addPlane(part, edge.result(), self.infoPoints[value["chainage"][0]]["point"], True) + plane.execute(True) + self.lfeatures.append(plane) + sketch = model.addSketch(part, plane.result()) + sketch.execute(True) + self.lfeatures.append(sketch) + SketchProjection = sketch.addProjection(self.infoPoints[value["chainage"][0]]["point"], False) + SketchProjection.execute(True) + SketchPoint = SketchProjection.createdFeature() + SketchPoint.execute(True) + SketchCircle = sketch.addCircle(0,0,self.radius) + SketchCircle.execute(True) + sketch.setCoincident(SketchPoint.result(), SketchCircle.center()) + sketch.setRadius(SketchCircle.results()[1], self.radius) + sketch.execute(True) + model.do() + value["sketch"] = sketch.result() + + def createPipes(self, part, nameRes): + """Création des pipes""" + print("========================= Création des pipes =========================") + for key, value in self.connectivities.items(): + printverbose ("Ligne démarrant sur le noeud '{}'".format(key), verbose=self._verbose) + pipe = self.createPipe(part, value) + value["pipe"] = pipe.result() + + # Fusion des pipes + print("========================= Fusion des pipes =========================") + lPipes = list() + for key, value in self.connectivities.items(): + lPipes.append(value["pipe"]) + if len(lPipes) > 1 : + fuse = model.addFuse(part, lPipes, False) + fuse.execute(True) + fuse.setName(nameRes) + fuse.result().setName(nameRes) + else: + lPipes[0].setName(nameRes) + +#========================================================== + + def print_info (self, verbose, comment=""): + """Impression si verbose est valide. Avec un comentaire introductif éventuellement.""" + if verbose: + texte = "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + texte += "\nRécapitulatif" + if comment: + texte += " {}".format(comment) + texte += "\ninfos points =" + for key, value in self.infoPoints.items(): + texte += "\n{} : {}".format(key, value) + texte += "\nconnectivities =" + for key, value in self.connectivities.items(): + texte += "\n{} : {}".format(key, value) + texte += "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" + print(texte+"\n") + +#========================================================== + +# Execution of the Import + + def execute(self): + """F.execute() -- execute the Feature""" + # Retrieving the user input + apath = self.string(self.FILE_ID()) + + filepath = apath.value() + if filepath != "" : + + # A. Initialisation + part = model.activeDocument() + + if self.lfeatures : + for feature in self.lfeatures: + part.removeFeature(feature.feature()) + self.lfeatures = list() + model.removeFolder(self.folder) + + self.infoPoints = dict() + self.connectivities = dict() + + from os.path import basename + filename = basename(filepath) + if ( "." in filename ): + laux= filename.split(".") + nameRes = laux[0] + for saux in laux[1:-1]: + nameRes+="."+saux + else: + nameRes = filename + + # Creating the construction points in the current document + + # B. Traitement du fichier + print ("\n=============== Traitement du fichier {}".format(filepath)) + error = 0 + while True: + + # B.1. Lecture du fichier + with open(filepath) as afile: + summary = 0 + method = self.parligne + for line in afile: + printverbose (line[:-1], verbose=self._verbose_max) + + # B.1.1. Repérages + if line == "\n": + printverbose ("========================= Saut de ligne =========================", verbose=self._verbose_max) + continue + if line[0] == "#" or line[:3] == "...": + continue + if summary == 0 and line[:-1] == "nodes section" : + printverbose ("========================= Lecture des coordonnées ==============================", 80, verbose=self._verbose) + summary = 1 + continue + if summary == 1 and line[:-1] == "connectivity section" : + printverbose ("========================= Lecture de la connectivité ===========================", 80, verbose=self._verbose) + summary = 2 + continue + if summary == 2 and line[:6] == "method" : + printverbose ("===================== summary == 2 method =========================", verbose=self._verbose_max) + method = line[7:-1] + printverbose ("Méthode : '{}'".format(method), verbose=self._verbose) + if method not in (self.twopartwo, self.parligne): + raiseException("Problem with type of connectivity") + continue + if summary == 2 and line[:-1] == "fillets section" : + printverbose ("========================= Lecture des fillets =========================", 80, verbose=self._verbose) + summary = 3 + continue + + # B.1.2. Enregistrement des données + if summary == 1: + printverbose ("===================== summary == 1 =========================", 80, verbose=self._verbose_max) + diagno, texte = self.readNodeInfo(line[:-1]) + if diagno: + raiseException("{}\nProblem with description of nodes.".format(texte)) + continue + if summary == 2: + printverbose ("===================== summary == 2 =========================", 80, verbose=self._verbose_max) + diagno = self.readConnectivity(line[:-1],method) + if diagno: + raiseException("Problem with description of connectivities") + continue + if summary == 3: + printverbose ("===================== summary == 3 =========================", 80, verbose=self._verbose_max) + diagno = self.readFillet(line[:-1]) + if diagno: + raiseException("Problem with description of fillets") + continue + + printverbose ("===================== Rien =========================", 80, verbose=self._verbose_max) + if diagno: + error = diagno + break + + if error: + break + + + # B.2. Gestion des points alignés + self.print_info (self._verbose_max, "avant gestion des points alignés") + + self.correctConnectivity () + + # B.3. Signalement de la fin d'une chaine + for _, value in self.connectivities.items(): + self.infoPoints[value['chainage'][-1]]["isEnd"] = True + + self.print_info (self._verbose_max, "avant les création de points, etc.") + + # B.4. Creation des points + self.createPoints(part) + + # B.5. Creation des polylines + self.createPolylines(part) + + # B.6. Creation des fillets + self.createFillets(part) + + # B.7. Recherche des coudes droits + self.searchRightConnections(part) + + # B.8. Création des paths pour le pipeNetwork + self.createPaths(part) + + # B.9. Création des sketchs pour le pipeNetwork + self.createSketches(part) + + self.print_info (self._verbose_max, "après la création des sketchs") + + # B.10. Création des pipes + self.createPipes(part, nameRes) + + # B.11. Dossier pour les opérations internes + print("========================= Mise en dossier =========================") + self.folder = model.addFolder(part, self.lfeatures[0], self.lfeatures[-1]) + self.folder.setName("{}_inter".format(nameRes)) + + # B.12. Ménage des résultats inutiles + print("========================= Ménage des résultats inutiles ==================") + laux = list() + for iaux in range(len(self.ledges)): + laux.append(model.selection("EDGE", "Edge_{}_1".format(iaux))) + _ = model.addRemoveResults(part, laux) + + break + + return + + def isMacro(self): + """Override Feature.initAttributes(). + F.isMacro() -> True + + pipeNetwork feature is macro: removes itself on the creation transaction + finish. + """ + return False diff --git a/src/PythonAddons/macros/pipeNetwork/icons/pipeNetwork.png b/src/PythonAddons/macros/pipeNetwork/icons/pipeNetwork.png new file mode 100644 index 0000000000000000000000000000000000000000..7b265be409314cbfb5cf49e47fbcf543203fe8c0 GIT binary patch literal 1326 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*9U+n3Xa^B1$5BeXNr6bM+EIYV;~{3xK*A7;Nk-3KEmEQ%e+* zQqwc@Y?a>c-mj#PnPRIHZt82`Ti~3Uk?B!Ylp0*+7m{3+ootz+WN)WnQ(*-(AUCxn zQK2F?C$HG5!d3}vt`(3C64qBz04piUwpD^SD#ABF!8yMuRl!uxKsVXI%uvD1M9IxIyg#@@$ndN=gc>^!3Zj z%k|2Q_413-^$jg8E%gnI^o@*kfhu&1EAvVcD|GXUm0>2hq!uR^WfqiV=I1GZOiWD5 zFD$Tv3bSNU;+l1ennz|zM-B0$V)JVzP|XC=H|jx7ncO3BHWAB;NpiyW)Z+ZoqGVvir744~DzI`cN=+=uFAB-e&w+(vKt_H^esM;Afr4|esh*)icxGNo zet9uiy|1s8XI^nhVqS8pr;Du;&;-5A%oHmVLsK_PM@M5*6ANcULsvr!Gjmf%GXp0x zOJ@rMOE)8!UYGpj(%jU%5}4i;gkBSzdO=Acw*Y9fOKMSOS!#+~QGTuh*vnR#xZPri z(>$o&6x?nx!l_pu=oo!a#3DsBObD2IKumbD1#;jCKQ#}S+KYh6x;!>ro`HdJk*AAe zNX4xw!PePKjso*;@BUmUaFE??%I1j~s~mQi{Ns8(<4f72$1J*Q)&*K~>$1LmGwD(g z$I36}9rg~~&E*STq?LVaVw=x=*vR_#*&6HLYcISkSrE0h>GoSTCyt!$(HnHQc@96& z?#@lFbPZe(v@*kQd9g_M(K?Qp%qE2fjjpoEfo8K?Po@;P=P_E#@SS*Cv?W5vY4gpN zqe&n2V!7Q;H8@1+O<#C5>tNANpYv&({SRp@RK3W)z3K7C9h!=3RpkEM%Q165xJhR| z%jbiycI5?lDNgk|ShaUq#EY4#DxOxiEBD`I-u3MJ@65e%%U7+s)@j<(a{IoYw3Zi%SQ}RJXq$)EQlTxkbJZSy zsj>TS!G7=L><^jZT&@2vrzO0ebfM$)(?|ZT@<-VAzs-ogej?^eh0XULmR}wga9n=* tg>_|p?4nu)ixSDdnd1Eq-F}NEFobZvoWsB8NHwSg^K|udS?83{1OWO_ + + + + + + + + + + diff --git a/src/PythonAddons/macros/rectangle/__init__.py b/src/PythonAddons/macros/rectangle/__init__.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/macros/rectangle/feature.py b/src/PythonAddons/macros/rectangle/feature.py old mode 100644 new mode 100755 diff --git a/src/PythonAddons/tests.set b/src/PythonAddons/tests.set index a71c23337..674262962 100644 --- a/src/PythonAddons/tests.set +++ b/src/PythonAddons/tests.set @@ -22,4 +22,6 @@ SET(TEST_NAMES TestRectangleCentered.py TestcompoundVertices.py TestimportParameters.py + TestpipeNetwork_2par2.py + TestpipeNetwork_parligne.py ) -- 2.39.2